Skip to content

Commit 23851cf

Browse files
committed
Working US configuration
1 parent 74ccdc9 commit 23851cf

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.gitpod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tasks:
77
gp sync-done install
88
command: npm run start
99
- init: gp sync-await install
10-
command: npx cypress run --spec "**/sanity.js,**/**/solution.spec.js" --browser chrome
10+
command: npx cypress run --spec "**/sanity.js,**/**/solution.spec.js"
1111
ports:
1212
- port: 5900
1313
onOpen: ignore

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"eject": "react-scripts eject",
1414
"cy:open": "cypress open",
1515
"cy:ci": "cypress run",
16-
"test:visual": "wdio run ./wdio.conf.js",
16+
"test:visual:us": "wdio run ./wdio.conf.js",
17+
"test:visual:eu": "REGION=eu wdio run ./wdio.conf.js",
1718
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch",
1819
"test:sanity": "cypress run --spec **/sanity.js,**/**/solution.spec.js --browser chrome"
1920
},

wdio.conf.js

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
const visualOptions = {
22
apiKey: process.env.SCREENER_API_KEY,
3-
projectName: 'testing-for-good'
3+
projectName: 'comprehensive-testing'
44
};
55
const sauceOptions = {
66
username: process.env.SAUCE_USERNAME,
7-
accesskey: process.env.SAUCE_ACCESS_KEY
7+
accesskey: process.env.SAUCE_ACCESS_KEY,
8+
extendedDebugging: true,
9+
capturePerformance: true,
810
};
911

1012
exports.config = {
1113
runner: 'local',
1214
user: process.env.SAUCE_USERNAME,
1315
key: process.env.SAUCE_ACCESS_KEY,
14-
region: 'us',
16+
region: process.env.REGION || 'us',
1517
services: [
1618
['sauce', {
17-
sauceConnect: true
19+
sauceConnect: true,
20+
sauceConnectOpts: {
21+
noSslBumpDomains: 'all',
22+
},
1823
}]
1924
],
2025
specs: [

0 commit comments

Comments
 (0)