fix another test

This commit is contained in:
Simon Knott 2024-09-17 16:37:54 +02:00
parent 0bfe8407ce
commit 25191303e3
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -403,6 +403,7 @@ test('should re-run failed tests on F > R', async ({ runWatchTest }) => {
await testProcess.waitForOutput('npx playwright test (running failed tests) #2'); await testProcess.waitForOutput('npx playwright test (running failed tests) #2');
await testProcess.waitForOutput('c.test.ts:3:11 fails'); await testProcess.waitForOutput('c.test.ts:3:11 fails');
expect(testProcess.output).not.toContain('a.test.ts:3:11'); expect(testProcess.output).not.toContain('a.test.ts:3:11');
await testProcess.waitForOutput('Waiting for file changes.');
testProcess.clearOutput(); testProcess.clearOutput();
testProcess.write('r'); testProcess.write('r');
await testProcess.waitForOutput('npx playwright test (re-running tests) #3'); await testProcess.waitForOutput('npx playwright test (re-running tests) #3');