From 4b4c091fd78a45615082ad7da354375cf311d1d8 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 5 Nov 2024 10:00:19 +0100 Subject: [PATCH] fix global teardown test --- tests/playwright-test/runner.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/runner.spec.ts b/tests/playwright-test/runner.spec.ts index c197879bd5..dc88187229 100644 --- a/tests/playwright-test/runner.spec.ts +++ b/tests/playwright-test/runner.spec.ts @@ -442,7 +442,7 @@ test('sigint should stop global setup', async ({ interactWithTestRunner }) => { const result = parseTestRunnerOutput(testProcess.output); expect(result.passed).toBe(0); expect(result.output).toContain('Global setup'); - expect(result.output).not.toContain('Global teardown'); + expect(result.output).toContain('Global teardown'); }); test('sigint should stop plugins', async ({ interactWithTestRunner }) => {