feat(firefox): roll to r1403 (#22540)
Fixes https://github.com/microsoft/playwright/issues/22082 Fixes https://github.com/microsoft/playwright/issues/20993
This commit is contained in:
parent
17df03c043
commit
99d4887053
|
|
@ -21,13 +21,13 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "firefox",
|
"name": "firefox",
|
||||||
"revision": "1399",
|
"revision": "1403",
|
||||||
"installByDefault": true,
|
"installByDefault": true,
|
||||||
"browserVersion": "112.0"
|
"browserVersion": "112.0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "firefox-beta",
|
"name": "firefox-beta",
|
||||||
"revision": "1400",
|
"revision": "1404",
|
||||||
"installByDefault": false,
|
"installByDefault": false,
|
||||||
"browserVersion": "113.0b3"
|
"browserVersion": "113.0b3"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -65,9 +65,8 @@ it('should not crash when creating second context', async ({ browser }) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should click when viewport size is larger than screen', async ({ page, browserName }) => {
|
it('should click when viewport size is larger than screen', async ({ page }) => {
|
||||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22082' });
|
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22082' });
|
||||||
it.fixme(browserName === 'firefox');
|
|
||||||
await page.setViewportSize({
|
await page.setViewportSize({
|
||||||
width: 3000,
|
width: 3000,
|
||||||
height: 3000,
|
height: 3000,
|
||||||
|
|
@ -81,9 +80,8 @@ it('should click when viewport size is larger than screen', async ({ page, brows
|
||||||
await page.locator('button').click();
|
await page.locator('button').click();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should dispatch click events to oversized viewports', async ({ page, browserName }) => {
|
it('should dispatch click events to oversized viewports', async ({ page }) => {
|
||||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22082' });
|
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22082' });
|
||||||
it.fixme(browserName === 'firefox');
|
|
||||||
// Some prime numbers for width/height.
|
// Some prime numbers for width/height.
|
||||||
const width = 2971;
|
const width = 2971;
|
||||||
const height = 3067;
|
const height = 3067;
|
||||||
|
|
|
||||||
|
|
@ -144,8 +144,6 @@ it('should select the text by triple clicking', async ({ page, server }) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should click offscreen buttons', async ({ page, server, browserName, headless }) => {
|
it('should click offscreen buttons', async ({ page, server, browserName, headless }) => {
|
||||||
it.fixme(!headless && browserName === 'firefox' && process.platform === 'darwin', 'https://github.com/microsoft/playwright/issues/20993');
|
|
||||||
|
|
||||||
await page.goto(server.PREFIX + '/offscreenbuttons.html');
|
await page.goto(server.PREFIX + '/offscreenbuttons.html');
|
||||||
const messages = [];
|
const messages = [];
|
||||||
page.on('console', msg => messages.push(msg.text()));
|
page.on('console', msg => messages.push(msg.text()));
|
||||||
|
|
@ -414,7 +412,6 @@ it('should click the button with em border with offset', async ({ page, server,
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should click a very large button with offset', async ({ page, server, browserName }) => {
|
it('should click a very large button with offset', async ({ page, server, browserName }) => {
|
||||||
|
|
||||||
await page.goto(server.PREFIX + '/input/button.html');
|
await page.goto(server.PREFIX + '/input/button.html');
|
||||||
await page.$eval('button', button => button.style.borderWidth = '8px');
|
await page.$eval('button', button => button.style.borderWidth = '8px');
|
||||||
await page.$eval('button', button => button.style.height = button.style.width = '2000px');
|
await page.$eval('button', button => button.style.height = button.style.width = '2000px');
|
||||||
|
|
@ -426,7 +423,6 @@ it('should click a very large button with offset', async ({ page, server, browse
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should click a button in scrolling container with offset', async ({ page, server, browserName }) => {
|
it('should click a button in scrolling container with offset', async ({ page, server, browserName }) => {
|
||||||
|
|
||||||
await page.goto(server.PREFIX + '/input/button.html');
|
await page.goto(server.PREFIX + '/input/button.html');
|
||||||
await page.$eval('button', button => {
|
await page.$eval('button', button => {
|
||||||
const container = document.createElement('div');
|
const container = document.createElement('div');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue