Skip to content

Commit

Permalink
TEST: Trying to enable testing with Firefox on Windows again
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-voltarelli committed Dec 16, 2024
1 parent a7643c0 commit b4d814c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,8 @@ jobs:
browser: ["firefox", "chrome", "edge"]
headless: [true]
exclude:
# Can't install firefox using setup-firefox on Windows
# See the issues below
# * https://github.com/browser-actions/setup-firefox/issues/252
# * https://github.com/abhi1693/setup-browser/issues/8
- os: windows-latest
browser: "firefox"
browser: "edge"
# For now, the edge setup on linux amd64 is not working (07/2024)
# See the issues below
# * https://github.com/browser-actions/setup-edge/issues/386
Expand Down
4 changes: 0 additions & 4 deletions tests/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@

from PIL import Image, ImageFile
from botcity.web import WebBot, By
from pytest import xfail


def test_context(web: WebBot):
if web.browser.lower() in 'edge':
xfail(reason=f"Edge is getting stuck in the CI")

with web:
web.browse(conftest.INDEX_PAGE)
assert web.driver
Expand Down

0 comments on commit b4d814c

Please sign in to comment.