Skip to content

Commit

Permalink
Revert "Fixed Selenium tests"
Browse files Browse the repository at this point in the history
This reverts commit 88dee4f.
  • Loading branch information
clintonb committed Aug 11, 2024
1 parent 88dee4f commit 10776b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,15 @@ jobs:
name: Visual tests
runs-on: ubuntu-latest

services:
selenium:
image: selenium/standalone-firefox
options: --shm-size=2gb
ports:
- 4444:4444

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3

- name: Install Selenium dependencies
run: |
sudo apt-get -qq update
sudo apt-get -y install firefox xvfb
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion test_project/qunit-runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
URL = "file://" + ROOT + "/qunit.html"
TIMEOUT = 5

driver = webdriver.Remote(options=webdriver.FirefoxOptions())
driver = webdriver.Firefox()
driver.set_page_load_timeout(TIMEOUT)
driver.get(URL)

Expand Down

0 comments on commit 10776b4

Please sign in to comment.