Skip to content

Commit

Permalink
fixed github actions yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BohdanObruch committed Jul 22, 2024
1 parent faaac8e commit 7d46c4c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Run tests
run: |
poetry run python -m pytest --numprocesses auto --junit-xml=test-results/results.xml --browser chromium --browser webkit --browser firefox --testomatio report
poetry run python -m pytest --numprocesses auto --junit-xml=test-results/results.xml --browser chromium --browser firefox --testomatio report
env:
USERNAME_SAUCEDEMO: ${{ secrets.USERNAME_SAUCEDEMO }}
PASSWORD_SAUCEDEMO: ${{ secrets.PASSWORD_SAUCEDEMO }}
Expand Down
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pytest-playwright = "^0.5.1"
playwright = "^1.45.0"
pytest-json-ctrf = "^0.3.1"
pytestomatio = "^2.5.3"
pytest = "8.2.2"
pytest = "8.3.1"
pytest-dotenv = "^0.5.2"
faker = "^26.0.0"
pytest-xdist = "^3.6.1"
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def pytest_addoption(parser):
parser.addoption("--base_url", action="store", default="https://www.saucedemo.com/", help="url to test")


@pytest.fixture(scope="function")
@pytest.fixture(scope="session")
def page(browser):
context = browser.new_context(
viewport={'width': 1280, 'height': 1024}
Expand Down

0 comments on commit 7d46c4c

Please sign in to comment.