mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: skip scrolling tests on Android (#36195)
Signed-off-by: Max Schmitt <max@schmitt.mx> Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
This commit is contained in:
parent
126239bb55
commit
5659432229
@ -49,7 +49,8 @@ it('should click for the second time after first timeout', async ({ page, server
|
||||
expect(await page.evaluate('result')).toBe('Clicked');
|
||||
});
|
||||
|
||||
it('should fail to click the button behind a large header after scrolling around', async ({ page }) => {
|
||||
it('should fail to click the button behind a large header after scrolling around', async ({ page, isAndroid }) => {
|
||||
it.skip(isAndroid, 'Different viewport size');
|
||||
await page.setViewportSize({ width: 500, height: 240 });
|
||||
await page.setContent(`
|
||||
<style>
|
||||
|
||||
@ -440,7 +440,8 @@ it('should click the button with em border with offset', async ({ page, server,
|
||||
expect(await page.evaluate('offsetY')).toBe(browserName === 'webkit' ? 12 * 2 + 10 : 10);
|
||||
});
|
||||
|
||||
it('should click a very large button with offset', async ({ page, server, browserName }) => {
|
||||
it('should click a very large button with offset', async ({ page, server, browserName, isAndroid }) => {
|
||||
it.fixme(isAndroid, 'Failed to scroll to a particular point');
|
||||
await page.goto(server.PREFIX + '/input/button.html');
|
||||
await page.$eval('button', button => button.style.borderWidth = '8px');
|
||||
await page.$eval('button', button => button.style.height = button.style.width = '2000px');
|
||||
@ -451,7 +452,8 @@ it('should click a very large button with offset', async ({ page, server, browse
|
||||
expect(await page.evaluate('offsetY')).toBe(browserName === 'webkit' ? 1910 + 8 : 1910);
|
||||
});
|
||||
|
||||
it('should click a button in scrolling container with offset', async ({ page, server, browserName }) => {
|
||||
it('should click a button in scrolling container with offset', async ({ page, server, browserName, isAndroid }) => {
|
||||
it.fixme(isAndroid, 'Failed to scroll to a particular point');
|
||||
await page.goto(server.PREFIX + '/input/button.html');
|
||||
await page.$eval('button', button => {
|
||||
const container = document.createElement('div');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user