test: enable filechooser test in chromium (#11653)

This commit is contained in:
Yury Semikhatsky 2022-01-26 12:39:59 -08:00 committed by GitHub
parent 0e7e63f09f
commit ba86dab83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'));