Skip to content

Commit

Permalink
chore: fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Dec 5, 2023
1 parent ade2f67 commit d1cfd81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/e2eRunner/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions testapps/next-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# production
/build
/dist-e2e

# misc
.DS_Store
Expand Down
3 changes: 2 additions & 1 deletion testapps/next-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
".next/types/**/*.ts",
"dist-e2e/types/**/*.ts"
],
"exclude": [
"node_modules"
Expand Down

0 comments on commit d1cfd81

Please sign in to comment.