Skip to content

Commit

Permalink
feat(firefox): roll Firefox to 1415 (#24046)
Browse files Browse the repository at this point in the history
Fixes #23618
  • Loading branch information
aslushnikov committed Jul 5, 2023
1 parent df57fb5 commit ea3a29e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/playwright-core/browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
},
{
"name": "firefox",
"revision": "1414",
"revision": "1415",
"installByDefault": true,
"browserVersion": "114.0.2"
},
{
"name": "firefox-beta",
"revision": "1415",
"revision": "1416",
"installByDefault": false,
"browserVersion": "115.0b8"
},
Expand Down
22 changes: 22 additions & 0 deletions tests/page/page-click.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1066,3 +1066,25 @@ it('ensure events are dispatched in the individual tasks', async ({ page, browse
'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);
});

0 comments on commit ea3a29e

Please sign in to comment.