Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/library/emulation-focus.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ browserTest('EM-024 should trigger hover state concurrently', async ({ browserTy

browserTest('EM-028 should keep mouse drag when interacting with another page/context', {
annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/43969' },
}, async ({ contextFactory }) => {
}, async ({ contextFactory, headless }) => {
browserTest.skip(!headless, 'Stray mouse events mess up the test');
const page1 = await (await contextFactory()).newPage();
const page2 = await (await contextFactory()).newPage();
for (const page of [page1, page2]) {
Expand Down
2 changes: 1 addition & 1 deletion tests/library/web-socket.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ it('WS-041 should navigate while an iframe opens WebSockets', {
res.setHeader('Content-Type', 'text/html');
res.end(`<script>setInterval(() => new WebSocket('ws://' + location.host + '/ws'), 5)</script>`);
});
for (let i = 0; i < 100; ++i)
for (let i = 0; i < 20; ++i)
await page.goto(server.PREFIX + '/parent');
expect(page.frames()).toHaveLength(2);
expect(await page.evaluate(() => 1 + 1)).toBe(2);
Expand Down
6 changes: 4 additions & 2 deletions tests/page/page-screenshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ it.describe('page screenshot', () => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/42885' });
it.skip(browserName === 'webkit' && platform === 'darwin' && os.arch() === 'x64', 'WebGL is not available on Intel macOS - https://bugs.webkit.org/show_bug.cgi?id=278277');

await page.setViewportSize({ width: 200, height: 200 });
await page.setViewportSize({ width: 300, height: 300 });
await page.setContent(`<body style="margin:0"><div style="width:100px;height:100px;background:rgb(0,255,0)"></div></body>`);
const expected = await page.screenshot();

Expand Down Expand Up @@ -742,7 +742,9 @@ declare global {
it.describe('page screenshot animations', () => {
it('SS-098 should preserve scroll animation progress during screenshots', {
annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/43986' },
}, async ({ page }) => {
}, async ({ page, isAndroid }) => {
it.skip(isAndroid, 'Returns screenshot of a different size.');

await page.setContent(`
<style>
@keyframes reveal { from { opacity: 0 } to { opacity: 1 } }
Expand Down
Loading