feat(firefox): roll Firefox to 1415 (#24046)

Fixes https://github.com/microsoft/playwright/issues/23618
This commit is contained in:
Andrey Lushnikov 2023-07-05 11:58:38 -07:00 committed by GitHub
parent df57fb594c
commit ea3a29eacd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 2 deletions

View file

@ -21,13 +21,13 @@
}, },
{ {
"name": "firefox", "name": "firefox",
"revision": "1414", "revision": "1415",
"installByDefault": true, "installByDefault": true,
"browserVersion": "114.0.2" "browserVersion": "114.0.2"
}, },
{ {
"name": "firefox-beta", "name": "firefox-beta",
"revision": "1415", "revision": "1416",
"installByDefault": false, "installByDefault": false,
"browserVersion": "115.0b8" "browserVersion": "115.0b8"
}, },

View file

@ -1066,3 +1066,25 @@ it('ensure events are dispatched in the individual tasks', async ({ page, browse
'timeout outer', 'timeout outer',
]); ]);
}); });
it('should click if opened select covers the button', async ({ page }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/23618' });
await page.setContent(`
<div>
<select>
<option>very long text #1</option>
<option>very long text #2</option>
<option>very long text #3</option>
<option>very long text #4</option>
<option>very long text #5</option>
<option>very long text #6</option>
</select>
</div>
<div>
<button onclick="javascript:window.__CLICKED=42">clickme</button>
</div>
`);
await page.click('select');
await page.click('button');
expect(await page.evaluate('window.__CLICKED')).toBe(42);
});