Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: unflake "watch all" test (#36778)
Simon Knottb56d4726b9f0
diff --git a/tests/playwright-test/ui-mode-test-watch.spec.ts b/tests/playwright-test/ui-mode-test-watch.spec.tsindex 867da5cbf5..da1920b120 100644--- a/tests/playwright-test/ui-mode-test-watch.spec.ts+++ b/tests/playwright-test/ui-mode-test-watch.spec.ts@@ -150,6 +150,8 @@ test('should watch all', async ({ runUITest, writeFiles }) => {'d.test.ts': `import { test } from '@playwright/test'; test('test', () => {});`,});+ await page.getByTitle('Watch all').click();+await expect.poll(dumpTestTree(page)).toBe(`▼ ◯ a.test.ts◯ test@@ -160,7 +162,6 @@ test('should watch all', async ({ runUITest, writeFiles }) => {▼ ◯ d.test.ts◯ test`);- await page.getByTitle('Watch all').click();await writeFiles({'a.test.ts': `import { test } from '@playwright/test'; test('test', () => {});`,