Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into hands-on
  • Loading branch information
noamolat-fs committed Jun 18, 2024
2 parents 49b3722 + 7be255d commit bbb8eb4
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/playwright.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Playwright Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Ensure browsers are installed
run: python -m playwright install --with-deps
- name: Run your tests
run: pytest --tracing=retain-on-failure
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-traces
path: test-results/
21 changes: 21 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
certifi==2024.2.2 ; python_version >= "3.12" and python_version < "4.0"
charset-normalizer==3.3.2 ; python_version >= "3.12" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.12" and python_version < "4.0" and sys_platform == "win32"
execnet==2.0.2 ; python_version >= "3.12" and python_version < "4.0"
greenlet==3.0.3 ; python_version >= "3.12" and python_version < "4.0"
idna==3.6 ; python_version >= "3.12" and python_version < "4.0"
iniconfig==2.0.0 ; python_version >= "3.12" and python_version < "4.0"
packaging==24.0 ; python_version >= "3.12" and python_version < "4.0"
playwright==1.42.0 ; python_version >= "3.12" and python_version < "4.0"
pluggy==1.4.0 ; python_version >= "3.12" and python_version < "4.0"
pyee==11.0.1 ; python_version >= "3.12" and python_version < "4.0"
pytest-base-url==2.1.0 ; python_version >= "3.12" and python_version < "4.0"
pytest-playwright==0.4.4 ; python_version >= "3.12" and python_version < "4.0"
pytest-xdist==3.5.0 ; python_version >= "3.12" and python_version < "4.0"
pytest==8.1.1 ; python_version >= "3.12" and python_version < "4.0"
python-slugify==8.0.4 ; python_version >= "3.12" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.12" and python_version < "4.0"
ruff==0.3.5 ; python_version >= "3.12" and python_version < "4.0"
text-unidecode==1.3 ; python_version >= "3.12" and python_version < "4.0"
typing-extensions==4.10.0 ; python_version >= "3.12" and python_version < "4.0"
urllib3==2.2.1 ; python_version >= "3.12" and python_version < "4.0"

0 comments on commit bbb8eb4

Please sign in to comment.