-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: cypress runs on 'npm run preview' now and on port 5050
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ jobs: | |
uses: cypress-io/[email protected] | ||
with: | ||
build: npm run build | ||
start: npm run dev | ||
wait-on: "http://localhost:3000" | ||
start: npm run preview | ||
wait-on: "http://localhost:5050" | ||
wait-on-timeout: 120 | ||
record: true | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import { defineConfig } from "cypress"; | ||
|
||
export default defineConfig({ | ||
projectId: 'ubrejg', | ||
projectId: "ubrejg", | ||
e2e: { | ||
// We've imported your old cypress plugins here. | ||
// You may want to clean this up later by importing these. | ||
setupNodeEvents(on, config) { | ||
return require("./cypress/plugins/index.ts").default(on, config); | ||
}, | ||
baseUrl: "http://localhost:3000", | ||
baseUrl: "http://localhost:5050", | ||
}, | ||
}); |