Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions dev-packages/e2e-tests/test-applications/node-eve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@
},
"sentryTest": {
"needsSecrets": true,
"baseVariant": {
"label": "node-eve (production)",
"assert-command": "pnpm test:prod"
},
"variants": [
{
"label": "node-eve (development)",
"build-command": "pnpm install",
"assert-command": "pnpm test:dev"
}
],
"optionalVariants": [
{
"build-command": "pnpm test:build-0.x",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@ const config = getPlaywrightConfig(
{ timeout: 90_000 },
);

if (testEnv === 'development') {
const server = config.webServer.find(server => server.command === startCommand);
// EVE opens its port before attaching its HTTP handler, so even an HTTP readiness probe can hang.
delete server.port;
server.wait = { stdout: /\[DEV\] ready at/, stderr: /\[DEV\] ready at/ };
}

export default config;
11 changes: 11 additions & 0 deletions dev-packages/e2e-tests/test-applications/node-flue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@
},
"sentryTest": {
"needsSecrets": true,
"baseVariant": {
"label": "node-flue (production)",
"assert-command": "pnpm test:prod"
},
"variants": [
{
"label": "node-flue (development)",
"build-command": "pnpm install",
"assert-command": "pnpm test:dev"
}
],
"optionalVariants": [
{
"build-command": "pnpm test:build-latest",
Expand Down
Loading