diff --git a/site/e2e/hooks.ts b/site/e2e/hooks.ts index cd5847ba96..c6031bd18a 100644 --- a/site/e2e/hooks.ts +++ b/site/e2e/hooks.ts @@ -23,7 +23,7 @@ export const beforeCoderTest = async (page: Page) => { const shouldLogResponse = !response.url().endsWith("/api/v2/deployment/config") && - !response.url().endsWith("/api/v2/debug/health"); + !response.url().endsWith("/api/v2/debug/health?force=false"); let responseText = ""; try { diff --git a/site/e2e/reporter.ts b/site/e2e/reporter.ts index 48a1c27ac1..e0cdfa8870 100644 --- a/site/e2e/reporter.ts +++ b/site/e2e/reporter.ts @@ -30,20 +30,20 @@ class CoderReporter implements Reporter { } onStdOut(chunk: string, test?: TestCase, _?: TestResult): void { + for (const line of filteredServerLogLines(chunk)) { + console.log(`[stdout] ${line}`); + } if (!test) { - for (const line of filteredServerLogLines(chunk)) { - console.log(`[stdout] ${line}`); - } return; } this.testOutput.get(test.id)!.push([process.stdout, chunk]); } onStdErr(chunk: string, test?: TestCase, _?: TestResult): void { + for (const line of filteredServerLogLines(chunk)) { + console.error(`[stderr] ${line}`); + } if (!test) { - for (const line of filteredServerLogLines(chunk)) { - console.error(`[stderr] ${line}`); - } return; } this.testOutput.get(test.id)!.push([process.stderr, chunk]);