Skip to content

Commit 39b7d10

Browse files
fix(e2e): ignore TLS errors in global setup health check
OpenShift routes use self-signed certs; the API request context in globalSetup must match playwright.config.ts ignoreHTTPSErrors. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent bb1504d commit 39b7d10

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

e2e-tests/playwright/global-setup.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ export default async function globalSetup(): Promise<void> {
1212
return;
1313
}
1414

15-
const request = await playwrightRequest.newContext({ baseURL });
15+
const request = await playwrightRequest.newContext({
16+
baseURL,
17+
ignoreHTTPSErrors: true,
18+
});
1619
try {
1720
await waitForRhdhReady(request);
1821
} finally {

0 commit comments

Comments
 (0)