test: mark again some Android tests as fixme

This commit is contained in:
Max Schmitt 2022-08-03 10:51:45 +02:00
Родитель df9a318d14
Коммит 9795a4ba60
5 изменённых файлов: 14 добавлений и 7 удалений

Просмотреть файл

@ -40,7 +40,9 @@ it('should reject when frame detaches', async ({ page, server }) => {
expect(error.message).toContain('frame was detached');
});
it('should continue after client redirect', async ({ page, server }) => {
it('should continue after client redirect', async ({ page, server, isAndroid }) => {
it.fixme(isAndroid);
server.setRoute('/frames/script.js', () => {});
const url = server.PREFIX + '/frames/child-redirect.html';
const error = await page.goto(url, { timeout: 5000, waitUntil: 'networkidle' }).catch(e => e);

Просмотреть файл

@ -106,7 +106,9 @@ 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.fixme(isAndroid);
await routeIframe(page);
await page.goto(server.EMPTY_PAGE);
setTimeout(() => page.$eval('iframe', e => e.remove()).catch(() => {}), 300);

Просмотреть файл

@ -838,8 +838,9 @@ it('should not throw protocol error when navigating during the click', async ({
expect(await page.evaluate('result')).toBe('Clicked');
});
it('should retry when navigating during the click', async ({ page, server, mode }) => {
it('should retry when navigating during the click', async ({ page, server, mode, isAndroid }) => {
it.skip(mode !== 'default');
it.fixme(isAndroid);
await page.goto(server.PREFIX + '/input/button.html');
let firstTime = true;

Просмотреть файл

@ -634,8 +634,9 @@ it('should properly report window.stop()', async ({ page, server }) => {
await page.goto(server.PREFIX + '/window-stop.html');
});
it('should return from goto if new navigation is started', async ({ page, server, browserName }) => {
it('should return from goto if new navigation is started', async ({ page, server, browserName, isAndroid }) => {
it.fixme(browserName === 'webkit', 'WebKit has a bug where Page.frameStoppedLoading is sent too early.');
it.fixme(isAndroid);
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 => {

Просмотреть файл

@ -121,8 +121,8 @@ it('should allow mocking svg with charset', async ({ page, server, browserName,
expect(await img.screenshot()).toMatchSnapshot('mock-svg.png');
});
it('should work with file path', async ({ page, server, asset, mode }) => {
it.skip(mode === 'service');
it('should work with file path', async ({ page, server, asset, mode, isAndroid }) => {
it.skip(mode === 'service' || isAndroid);
await page.route('**/*', route => route.fulfill({ contentType: 'shouldBeIgnored', path: asset('pptr.png') }));
await page.evaluate(PREFIX => {
@ -289,7 +289,8 @@ it('should fulfill with multiple set-cookie', async ({ page, server, isElectron
expect(await response.headerValue('X-Header-2')).toBe('v2');
});
it('should fulfill with fetch response that has multiple set-cookie', async ({ playwright, page, server }) => {
it('should fulfill with fetch response that has multiple set-cookie', async ({ playwright, page, server, isAndroid }) => {
it.fixme(isAndroid);
server.setRoute('/empty.html', (req, res) => {
res.setHeader('Set-Cookie', ['a=b', 'c=d']);
res.setHeader('Content-Type', 'text/html');