chore: skip click test based on the browser version (#6127)

This commit is contained in:
Yury Semikhatsky 2021-04-08 10:32:16 -07:00 committed by GitHub
parent 476ff21724
commit f7e7ea93e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,8 @@ it('should work for open shadow roots', async ({page, server}) => {
expect(await page.$$(`data-testid:light=foo`)).toEqual([]);
});
it('should click on links in shadow dom', async ({page, server, browserName, browserChannel}) => {
it.fixme(browserName === 'chromium' && !!browserChannel, 'Enable when crrev.com/864024 get to the stable channel');
it('should click on links in shadow dom', async ({page, server, browserName, browserVersion}) => {
it.fixme(browserName === 'chromium' && Number(browserVersion.split('.')[0]) < 91, 'Remove when crrev.com/864024 gets to the stable channel');
it.fixme(!!process.env.PW_ANDROID_TESTS);
it.fixme(!!process.env.PW_ELECTRON_TESTS);