diff --git a/packages/nuxt/cypress.config.ts b/packages/nuxt/cypress.config.ts index 6ff232d0..479025cb 100644 --- a/packages/nuxt/cypress.config.ts +++ b/packages/nuxt/cypress.config.ts @@ -4,7 +4,7 @@ export default defineConfig({ e2e: { // We've imported your old cypress plugins here. // You may want to clean this up later by importing these. - baseUrl: 'http://localhost:3000', + baseUrl: 'http://localhost:3100', viewportWidth: 1600, viewportHeight: 1400, }, diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 75972dab..1b6a7615 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -31,16 +31,16 @@ "test:types": "tsc --noEmit --skipLibCheck", "dev": "nuxi dev playground", "dev:build": "nuxi build playground", - "dev:preview": "nuxi preview playground", - "dev:e2e": "nuxi dev playground-e2e", + "dev:preview": "nuxi preview playground --port 3100", + "dev:e2e": "nuxi dev playground-e2e --port 3100", "prepare:playground": "nuxi prepare playground", "dev:prepare": "nuxt-module-build build --stub && nuxi prepare playground", "cy:open": "cypress open", "cy:run": "cypress run", - "test:e2e": "start-server-and-test dev:e2e http://localhost:3000 cy:run", - "test:e2e-watch": "start-server-and-test dev:e2e http://localhost:3000 cy:open", + "test:e2e": "start-server-and-test dev:e2e http://localhost:3100 cy:run", + "test:e2e-watch": "start-server-and-test dev:e2e http://localhost:3100 cy:open", "pretest:e2e-static": "nuxi generate playground-e2e", - "test:e2e-static": "start-server-and-test dev:preview http://localhost:3000 cy:run", + "test:e2e-static": "start-server-and-test dev:preview http://localhost:3100 cy:run", "lint": "eslint .", "lint:fix": "eslint . --fix", "test": "pnpm run test:e2e"