Skip to content

Commit f888462

Browse files
author
Tiffany Le-Nguyen
committed
chore: add ci specific config
1 parent 8ca0d67 commit f888462

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

cypress/config/all.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"video": false
2+
"video": false,
3+
"baseUrl": "http://localhost:3000"
34
}

cypress/config/ci.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"baseUrl": "http://localhost:3000",
3+
"integrationFolder": "../cypress/integration",
4+
"pluginsFile": "../cypress/plugins",
5+
"screenshotsFolder": "../cypress/screenshots",
6+
"supportFile": "../cypress/support/index.js",
7+
"videoFolder": "../cypress/videos"
8+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"build:demo": "next build demo",
1212
"cy:open": "cypress open --config-file ../cypress/config/all.json",
13-
"cy:run": "cypress run --config-file ../cypress/config/all.json",
13+
"cy:run": "cypress run --config-file ../cypress/config/ci.json",
1414
"dev:demo": "next dev demo",
1515
"format": "run-s format:check-fix:*",
1616
"format:ci": "run-s format:check:*",

0 commit comments

Comments
 (0)