Skip to content

Commit 38ca0fa

Browse files
committed
fix: wait on localhost:4173 instead of 127.0.0.1
As Vite 3 has changed the default host to `localhost`
1 parent 6305f87 commit 38ca0fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/config/cypress/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
3-
"test:e2e": "start-server-and-test preview http://127.0.0.1:4173/ 'cypress open --e2e'",
4-
"test:e2e:ci": "start-server-and-test preview http://127.0.0.1:4173/ 'cypress run --e2e'"
3+
"test:e2e": "start-server-and-test preview http://localhost:4173/ 'cypress open --e2e'",
4+
"test:e2e:ci": "start-server-and-test preview http://localhost:4173/ 'cypress run --e2e'"
55
},
66
"devDependencies": {
77
"cypress": "^10.3.0",

0 commit comments

Comments
 (0)