Skip to content

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

test: make webview2 green (#19429)

Max Schmitt7b4ae20305a2
diff --git a/tests/page/page-accessibility.spec.ts b/tests/page/page-accessibility.spec.ts
index 3fa84f1f87..d3b862b517 100644
--- a/tests/page/page-accessibility.spec.ts
+++ b/tests/page/page-accessibility.spec.ts
@@ -141,9 +141,10 @@ 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, channel }) {
+it('rich text editable fields should have children', async function({ page, browserName, browserVersion, channel, isWebView2 }) {
it.skip(browserName === 'webkit', 'WebKit rich text accessibility is iffy');
it.skip(channel && channel.startsWith('msedge'), 'Edge is missing a Chromium fix');
+ it.skip(isWebView2, 'WebView2 is missing a Chromium fix');
await page.setContent(`
<div contenteditable="true">