-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-ex2.yml
28 lines (28 loc) · 1.03 KB
/
config-ex2.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
# https://docs.saucelabs.com/web-apps/automated-testing/cypress/
# https://docs.saucelabs.com/web-apps/automated-testing/cypress/yaml/v1/
apiVersion: v1
kind: cypress
sauce:
region: eu-central-1 # or us-west-1
concurrency: 75
metadata:
tags:
- cypress
- default
build: "config-ex2 $CURRENT_TIME"
cypress:
version: package.json
configFile: "cypress.config.js" # We determine related files based on the location of the config file.
# Controls what files are available in the context of a test run (unless explicitly excluded by .sauceignore).
rootDir: ./
suites:
- name: "Cypress Chrome"
browser: "chrome"
platformName: "Windows 11"
screenResolution: "1920x1080" # (optional)
config:
specPattern: [ "cypress/e2e/saucedemo/**/*.*" ] # Cypress native glob support.
excludeSpecPattern: [ "cypress/e2e/**/login.failed.cy.js" ]
# use split by spec when you have more concurrency than specs
#use split by concurrency when you have more specs than available concurrency
shard: spec