Skip to content

Commit 7153ce1

Browse files
authored
test(nextjs): Make next-orpc test optional (#16467)
- Makes ORPC test optional for now as this will receive some updates soon - Runs the tests in one worker
1 parent cfca23d commit 7153ce1

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

dev-packages/e2e-tests/test-applications/nextjs-orpc/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,8 @@
4141
},
4242
"volta": {
4343
"extends": "../../package.json"
44+
},
45+
"sentryTest": {
46+
"optional": true
4447
}
4548
}

dev-packages/e2e-tests/test-applications/nextjs-orpc/playwright.config.mjs

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,9 @@ if (!testEnv) {
55
throw new Error('No test env defined');
66
}
77

8-
const config = getPlaywrightConfig(
9-
{
10-
startCommand: testEnv === 'development' ? 'pnpm next dev -p 3030' : 'pnpm next start -p 3030',
11-
port: 3030,
12-
},
13-
{
14-
// This comes with the risk of tests leaking into each other but the tests run quite slow so we should parallelize
15-
workers: '100%',
16-
},
17-
);
8+
const config = getPlaywrightConfig({
9+
startCommand: testEnv === 'development' ? 'pnpm next dev -p 3030' : 'pnpm next start -p 3030',
10+
port: 3030,
11+
});
1812

1913
export default config;

0 commit comments

Comments
 (0)