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: remove useless aria/active test (#36596)
Simon Knottf57577106ef6
diff --git a/tests/playwright-test/aria-snapshot-file.spec.ts b/tests/playwright-test/aria-snapshot-file.spec.tsindex 0f031fc113..768b8d0e72 100644--- a/tests/playwright-test/aria-snapshot-file.spec.ts+++ b/tests/playwright-test/aria-snapshot-file.spec.ts@@ -250,26 +250,3 @@ test('should respect config.expect.toMatchAriaSnapshot.pathTemplate', async ({ rexpect(result.exitCode).toBe(0);expect(result.passed).toBe(1);});--test('should match active element after focus', async ({ runInlineTest }, testInfo) => {- const result = await runInlineTest({- 'a.spec.ts-snapshots/test.aria.yml': `- - textbox "First input"- - textbox "Second input" [active]- `,- 'a.spec.ts': `- import { test, expect } from '@playwright/test';- test('test', async ({ page }) => {- await page.setContent(\`- <input id="input1" placeholder="First input">- <input id="input2" placeholder="Second input">- \`);- // Focus the second input- await page.locator('#input2').focus();- await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'test.aria.yml' });- });- `- });-- expect(result.exitCode).toBe(0);-});