mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
tests: mark failing android tests (#14542)
This commit is contained in:
parent
2825cfc0f0
commit
e185082a47
@ -106,7 +106,8 @@ it('should wait for frame 2', async ({ page, server }) => {
|
||||
await page.frameLocator('iframe').locator('button').click();
|
||||
});
|
||||
|
||||
it('should wait for frame to go', async ({ page, server }) => {
|
||||
it('should wait for frame to go', async ({ page, server, isAndroid }) => {
|
||||
it.fail(isAndroid, 'iframe is not removed on Android');
|
||||
await routeIframe(page);
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
setTimeout(() => page.$eval('iframe', e => e.remove()).catch(() => {}), 300);
|
||||
|
@ -634,9 +634,10 @@ it('should properly report window.stop()', async ({ page, server, browserName })
|
||||
await page.goto(server.PREFIX + '/window-stop.html');
|
||||
});
|
||||
|
||||
it('should return from goto if new navigation is started', async ({ page, server, browserName, isElectron }) => {
|
||||
it('should return from goto if new navigation is started', async ({ page, server, browserName, isElectron, isAndroid }) => {
|
||||
it.fixme(browserName === 'webkit', 'WebKit has a bug where Page.frameStoppedLoading is sent too early.');
|
||||
it.fixme(isElectron, 'Fails on Electron');
|
||||
it.fail(isAndroid, 'Navigation gets aborted on Android');
|
||||
server.setRoute('/slow.js', async (req, res) => void 0);
|
||||
let finished = false;
|
||||
const navigation = page.goto(server.PREFIX + '/load-event/load-event.html').then(r => {
|
||||
|
@ -114,7 +114,8 @@ it('should get the same headers as the server CORS', async ({ page, server, brow
|
||||
expect(headers).toEqual(serverRequest.headers);
|
||||
});
|
||||
|
||||
it('should not get preflight CORS requests when intercepting', async ({ page, server, browserName }) => {
|
||||
it('should not get preflight CORS requests when intercepting', async ({ page, server, browserName, isAndroid }) => {
|
||||
it.fail(isAndroid, 'Playwright does not get CORS pre-flight on Android');
|
||||
await page.goto(server.PREFIX + '/empty.html');
|
||||
|
||||
const requests = [];
|
||||
|
@ -599,7 +599,8 @@ it('should allow null origin for about:blank', async ({ page, server, browserNam
|
||||
expect(await response.headerValue('Access-Control-Allow-Origin')).toBe('null');
|
||||
});
|
||||
|
||||
it('should respect cors overrides', async ({ page, server, browserName }) => {
|
||||
it('should respect cors overrides', async ({ page, server, browserName, isAndroid }) => {
|
||||
it.fail(isAndroid, 'no cors error in android emulator');
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
server.setRoute('/something', (request, response) => {
|
||||
if (request.method === 'OPTIONS') {
|
||||
|
Loading…
Reference in New Issue
Block a user