forked from saucelabs/saucectl-playwright-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
48 lines (47 loc) · 1.52 KB
/
config.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
47
48
apiVersion: v1alpha
kind: playwright
sauce:
region: us-west-1
concurrency: 10 # Controls how many suites are executed at the same time.
metadata:
tags:
- e2e
- release team
- other tag
playwright:
version: package.json # See https://docs.saucelabs.com/web-apps/automated-testing/playwright/#supported-testing-platforms for a list of supported versions.
configFile: playwright.config.js # See https://docs.saucelabs.com/web-apps/automated-testing/playwright/yaml/#configfile for a list of supported configuration files.
# Controls what files are available in the context of a test run (unless explicitly excluded by .sauceignore).
rootDir: ./
suites:
- name: "Firefox Win"
platformName: "Windows 11"
screenResolution: "1440x900"
testMatch: [".*.js"]
params:
browserName: "firefox"
project: "firefox" # Runs the project that's defined in `playwright.config.js`
- name: "Chromium Mac"
platformName: "macOS 12"
screenResolution: "1440x900"
testMatch: [".*.js"]
params:
browserName: "chromium"
project: "chromium"
- name: "Webkit Win"
platformName: "Windows 11"
screenResolution: "1440x900"
testMatch: [".*.js"]
params:
browserName: "webkit"
project: "webkit"
# Controls what artifacts to fetch when the suites have finished.
# artifacts:
# download:
# when: always
# match:
# - console.log
# directory: ./artifacts/
reporters:
spotlight: # Prints an overview of failed or otherwise interesting jobs.
enabled: true