chore: skip failing android tests 2 (#12647)

This commit is contained in:
Max Schmitt 2022-03-10 18:46:50 +01:00 committed by GitHub
parent 49fd77d9af
commit d805cd9097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -21,6 +21,7 @@ test.afterEach(async ({ androidDevice }) => {
});
test('androidDevice.webView', async function({ androidDevice }) {
test.slow();
expect(androidDevice.webViews().length).toBe(0);
await androidDevice.shell('am start org.chromium.webview_shell/.WebViewBrowserActivity');
const webview = await androidDevice.webView({ pkg: 'org.chromium.webview_shell' });

View File

@ -478,7 +478,8 @@ it.describe('page screenshot animations', () => {
}
});
it('should not capture css animations in shadow DOM', async ({ page, server }) => {
it('should not capture css animations in shadow DOM', async ({ page, server, isAndroid }) => {
it.skip(isAndroid, 'Different viewport');
await page.goto(server.PREFIX + '/rotate-z-shadow-dom.html');
const screenshot = await page.screenshot({
animations: 'disabled',
@ -492,8 +493,9 @@ it.describe('page screenshot animations', () => {
}
});
it('should stop animations that happen right before screenshot', async ({ page, server, mode }) => {
it('should stop animations that happen right before screenshot', async ({ page, server, mode, isAndroid }) => {
it.skip(mode !== 'default');
it.skip(isAndroid, 'Different viewport');
await page.goto(server.PREFIX + '/rotate-z.html');
// Stop rotating bar.
await page.$eval('div', el => el.style.setProperty('animation', 'none'));
@ -606,7 +608,8 @@ it.describe('page screenshot animations', () => {
expect(screenshot1.equals(screenshot2)).toBe(true);
});
it('should not change animation with playbackRate equal to 0', async ({ page, server }) => {
it('should not change animation with playbackRate equal to 0', async ({ page, server, isAndroid }) => {
it.skip(isAndroid, 'Different viewport');
await page.goto(server.PREFIX + '/rotate-z.html');
await page.evaluate(async () => {
window.animation = document.getAnimations()[0];