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: tree gardening (#36979)
Max Schmittbb06ae0a4ccf
diff --git a/tests/page/locator-query.spec.ts b/tests/page/locator-query.spec.tsindex d453d9c65c..6503d93afe 100644--- a/tests/page/locator-query.spec.ts+++ b/tests/page/locator-query.spec.ts@@ -273,7 +273,8 @@ it('alias methods coverage', async ({ page }) => {await expect(page.mainFrame().locator('button')).toHaveCount(1);});-it('count() should not throw during navigation', async ({ page }) => {+it('count() should not throw during navigation', async ({ page, mode }) => {+ it.skip(mode !== 'default', 'No test hooks');await page.setContent(`<div>A</div>`);const __testHookBeforeQuery = () => page.goto('data:text/html,<div>A</div><div>B</div>');// @ts-expect-errordiff --git a/tests/playwright-test/test-step.spec.ts b/tests/playwright-test/test-step.spec.tsindex 355e68ee64..0842944768 100644--- a/tests/playwright-test/test-step.spec.ts+++ b/tests/playwright-test/test-step.spec.ts@@ -1462,7 +1462,7 @@ pw:api | Close contexttest('reading network request / response should not be listed as step', {annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/33558' }-}, async ({ runInlineTest, server, page }) => {+}, async ({ runInlineTest, server }) => {const result = await runInlineTest({'reporter.ts': stepIndentReporter,'playwright.config.ts': `module.exports = { reporter: './reporter' };`,