Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: skip a couple of a11y tests on Edge temporarily (#18824)

Pavel Feldman705df5250005
diff --git a/tests/page/page-accessibility.spec.ts b/tests/page/page-accessibility.spec.ts
index 635943dc9b..3fa84f1f87 100644
--- a/tests/page/page-accessibility.spec.ts
+++ b/tests/page/page-accessibility.spec.ts
@@ -141,8 +141,9 @@ it('should not report text nodes inside controls', async function({ page, browse
expect(await page.accessibility.snapshot()).toEqual(golden);
});
-it('rich text editable fields should have children', async function({ page, browserName, browserVersion }) {
+it('rich text editable fields should have children', async function({ page, browserName, browserVersion, channel }) {
it.skip(browserName === 'webkit', 'WebKit rich text accessibility is iffy');
+ it.skip(channel && channel.startsWith('msedge'), 'Edge is missing a Chromium fix');
await page.setContent(`
<div contenteditable="true">
@@ -174,8 +175,9 @@ it('rich text editable fields should have children', async function({ page, brow
expect(snapshot.children[0]).toEqual(golden);
});
-it('rich text editable fields with role should have children', async function({ page, browserName, browserMajorVersion, browserVersion }) {
+it('rich text editable fields with role should have children', async function({ page, browserName, browserMajorVersion, browserVersion, channel }) {
it.skip(browserName === 'webkit', 'WebKit rich text accessibility is iffy');
+ it.skip(channel && channel.startsWith('msedge'), 'Edge is missing a Chromium fix');
await page.setContent(`
<div contenteditable="true" role='textbox'>