Skip to content

Playwright Tests

Playwright Tests #3

Workflow file for this run

name: Playwright Tests
on:
workflow_dispatch:
inputs:
browser:
description: 'The browser to use'
default: 'chromium'
required: true
type: choice
options:
- all
- chromium
- firefox
- webkit
jobs:
test:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright/python:v1.41.0-jammy
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
#- name: Install
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt
# pip install -e .
- name: Test
run: pytest --browser ${{ inputs.browser }}
env:
HOME: /root