diff --git a/scripts/e2eRunner/config.ts b/scripts/e2eRunner/config.ts index bbecdd3eb0..4231cad827 100644 --- a/scripts/e2eRunner/config.ts +++ b/scripts/e2eRunner/config.ts @@ -162,12 +162,12 @@ export const config: Config = { prod: { command: 'npm run start -- -p 8121', cwd: path.resolve(__dirname, '../../testapps/next-app/'), - waitForOutput: 'ready started server on', + waitForOutput: 'Ready in ', }, dev: { command: 'npm run dev -- -p 8122', cwd: path.resolve(__dirname, '../../testapps/next-app/'), - waitForOutput: 'client and server successfully', + waitForOutput: 'Ready in ', environment: { NEXT_BUILD_DIR: 'dist-e2e', NEXT_PUBLIC_TOLGEE_API_URL: 'http://localhost:8202', diff --git a/testapps/next-app/.gitignore b/testapps/next-app/.gitignore index fd3dbb571a..5c9d7dd3de 100644 --- a/testapps/next-app/.gitignore +++ b/testapps/next-app/.gitignore @@ -15,6 +15,7 @@ # production /build +/dist-e2e # misc .DS_Store diff --git a/testapps/next-app/tsconfig.json b/testapps/next-app/tsconfig.json index 9f7286107f..ba91618e36 100644 --- a/testapps/next-app/tsconfig.json +++ b/testapps/next-app/tsconfig.json @@ -32,7 +32,8 @@ "next-env.d.ts", "**/*.ts", "**/*.tsx", - ".next/types/**/*.ts" + ".next/types/**/*.ts", + "dist-e2e/types/**/*.ts" ], "exclude": [ "node_modules"