Skip to content

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

test: enable filechooser test in chromium (#11653)

Yury Semikhatskyba86dab83a34
diff --git a/tests/page/page-set-input-files.spec.ts b/tests/page/page-set-input-files.spec.ts
index 14cac0a087..fd910663a8 100644
--- a/tests/page/page-set-input-files.spec.ts
+++ b/tests/page/page-set-input-files.spec.ts
@@ -398,9 +398,9 @@ it('should work for "webkitdirectory"', async ({ page, server }) => {
expect(fileChooser.isMultiple()).toBe(true);
});
-it('should emit event after navigation', async ({ page, server, browserName }) => {
+it('should emit event after navigation', async ({ page, server, browserName, browserMajorVersion }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/11375' });
- it.fixme(browserName === 'chromium');
+ it.skip(browserName === 'chromium' && browserMajorVersion < 99);
const logs = [];
page.on('filechooser', () => logs.push('filechooser'));