-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.yml
51 lines (49 loc) · 1.25 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
49
50
51
apiVersion: v1alpha
kind: testcafe
sauce:
region: us-west-1
concurrency: 2 # Controls how many suites are executed at the same time.
metadata:
tags:
- e2e
- release team
- other tag
build: Release $CI_COMMIT_SHORT_SHA
testcafe:
version: 3.7.0
# Controls what files are available in the context of a test run (unless explicitly excluded by .sauceignore).
rootDir: ./
suites:
- name: "Chrome on macOS"
browserName: "chrome"
src:
- "tests/*.test.js" # test files glob
platformName: "macOS 12"
- name: "Firefox on Windows"
browserName: "firefox"
src:
- "tests/*.test.js"
platformName: "Windows 11"
- name: iOS Test
browserName: "safari"
src:
- "tests/*.test.js" # test files glob
simulators:
- name: iPhone 12 Simulator
platformName: iOS
platformVersions:
- "14.3"
- name: iPad mini (5th generation) Simulator
platformName: iOS
platformVersions:
- "14.3"
# 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