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
2 changes: 1 addition & 1 deletion tests/page/page-click-scroll.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ it('should scroll instantly on retry when scroll-behavior is smooth', async ({ p
html { scroll-behavior: smooth; }
body { margin: 0; }
.spacer { height: 2000px; }
#header { position: fixed; top: 0; left: 0; right: 0; height: calc(100vh - 50px); background: rgba(0, 0, 0, 0.1); }
#header { position: fixed; top: 0; left: 0; right: 0; bottom: 50px; background: rgba(0, 0, 0, 0.1); }
button { height: 30px; }
</style>
<div id="header"></div>
Expand Down
4 changes: 3 additions & 1 deletion tests/page/page-click.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,9 @@ it('should click in an iframe with border 2', async ({ page }) => {
expect(await page.evaluate('window._clicked')).toBe(true);
});

it('should not retain removed iframe after clicking inside it', async ({ page }) => {
it('should not retain removed iframe after clicking inside it', async ({ page, isAndroid }) => {
it.skip(isAndroid, 'requesting gc is not enough');

await page.setContent('<iframe srcdoc="<button>Click</button>"></iframe>');
const button = page.frameLocator('iframe').getByRole('button');
await button.waitFor();
Expand Down
Loading