generated from digitalservicebund/java-application-template
-
Notifications
You must be signed in to change notification settings - Fork 9
46 lines (44 loc) · 1.07 KB
/
playwright.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Allows to run standalone Playwright based E2E/A11Y tests in particular browser,
# for debugging...
name: Manual Playwright test
on:
workflow_dispatch:
inputs:
browser:
description: "Playwright browser engine"
required: true
type: choice
options:
- chromium
- firefox
mode:
description: "Type of tests"
required: true
type: choice
options:
- e2e
- a11y
subproject:
description: "Subproject"
required: false
type: choice
options:
- norms
- caselaw
- all
runs:
description: "Number of subsequent runs"
required: false
type: string
default: "1"
schedule:
- cron: '00 6 * * *'
jobs:
playwright-test:
uses: ./.github/workflows/_playwright-test.yml
with:
browser: ${{ inputs.browser || 'chromium' }}
mode: ${{ inputs.mode || 'e2e' }}
runs: ${{ inputs.runs || '1' }}
subproject: ${{ inputs.subproject }}
secrets: inherit