Skip to content

Commit

Permalink
redoing the yml file to try and get the connection exception to go away
Browse files Browse the repository at this point in the history
  • Loading branch information
eHag-FRU committed Apr 18, 2024
1 parent 1f508d2 commit 93116eb
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/testPlayer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Chai & Mocha Tests
name: Run Selenium Test Suite
on:
push:
branches: [ "main","dev","Chai-Testing" ]
Expand Down Expand Up @@ -77,19 +77,10 @@ jobs:
# Need to fetch reqs if needed
- name: Installing all necessary packages
run: pip install -r tests/selenium/requirements.txt

- name: Install Chai Library
run : npm install --global chai

- name: Install Mocha Test Framework
run: npm install @types/chai

#Run python webserver
- name: Run python Webserver
run:
echo "$ python3 -m http.server"
python3 -m http.server --bind 127.0.0.1 &

- name : Start Python's HTTP Server
run: |
echo "$ python3 -m http.server"
python3 -m http.server --bind 127.0.0.1 &
# Run tests
- name: Running the Python script
run: python3 tests/selenium/webdriver.py
run: python3 tests/selenium/seleniumTests.py

0 comments on commit 93116eb

Please sign in to comment.