Skip to content

Commit

Permalink
test: skip a couple of a11y tests on Edge temporarily (#18824)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed Nov 15, 2022
1 parent 250bc9f commit 705df52
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/page/page-accessibility.spec.ts
Expand Up @@ -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">
Expand Down Expand Up @@ -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'>
Expand Down

0 comments on commit 705df52

Please sign in to comment.