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 }) => {