Skip to content

test: establish Playwright E2E UI testing foundation (#426) #5

test: establish Playwright E2E UI testing foundation (#426)

test: establish Playwright E2E UI testing foundation (#426) #5

Workflow file for this run

name: UI E2E Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-ui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install "pytest>=7.0.0" "pytest-playwright>=0.4.3" "requests>=2.28.0"
- name: Install Playwright Browsers
run: playwright install chromium --with-deps
- name: Run Playwright Tests
run: pytest ui_tests/ --browser chromium