Skip to content

Commit

Permalink
feat(firefox): roll to r1396 (#22327)
Browse files Browse the repository at this point in the history
Fixes #21995
  • Loading branch information
playwrightmachine committed Apr 11, 2023
1 parent b256bd4 commit a5749c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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": "1394",
"revision": "1396",
"installByDefault": true,
"browserVersion": "111.0"
},
{
"name": "firefox-beta",
"revision": "1396",
"revision": "1398",
"installByDefault": false,
"browserVersion": "112.0b3"
},
Expand Down
6 changes: 2 additions & 4 deletions tests/page/locator-click.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,15 @@ it('should double click the button', async ({ page, server }) => {
expect(await page.evaluate('result')).toBe('Clicked');
});

it('should click if the target element is removed in pointerup event', async ({ page, browserName }) => {
it('should click if the target element is removed in pointerup event', async ({ page }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/21995' });
it.fixme(browserName === 'firefox');
await page.setContent(`<button id=clickme>Clickable</button>`);
await page.$eval('#clickme', element => element.addEventListener('pointerup', () => element.remove(), false));
await page.locator('#clickme').click();
});

it('should click if the target element is removed in pointerdown event', async ({ page, browserName }) => {
it('should click if the target element is removed in pointerdown event', async ({ page }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/21995' });
it.fixme(browserName === 'firefox');
await page.setContent(`<button id=clickme>Clickable</button>`);
await page.$eval('#clickme', element => element.addEventListener('pointerdown', () => element.remove(), false));
await page.locator('#clickme').click();
Expand Down

0 comments on commit a5749c0

Please sign in to comment.