feat(firefox): roll to r1456 (#31375)
Fixes https://github.com/microsoft/playwright/issues/31328 Fixes https://github.com/microsoft/playwright/issues/30837 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Родитель
a7958ff95f
Коммит
45ee318673
|
@ -15,7 +15,7 @@
|
|||
},
|
||||
{
|
||||
"name": "firefox",
|
||||
"revision": "1454",
|
||||
"revision": "1456",
|
||||
"installByDefault": true,
|
||||
"browserVersion": "127.0"
|
||||
},
|
||||
|
|
|
@ -206,9 +206,8 @@ it.describe('screencast', () => {
|
|||
expectRedFrames(videoFile, size);
|
||||
});
|
||||
|
||||
it('should continue recording main page after popup closes', async ({ browser, browserName, trace, headless, isWindows }, testInfo) => {
|
||||
it('should continue recording main page after popup closes', async ({ browser, browserName }, testInfo) => {
|
||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/30837' });
|
||||
it.fixme(browserName === 'firefox', 'https://github.com/microsoft/playwright/issues/30837');
|
||||
// Firefox does not have a mobile variant and has a large minimum size (500 on windows and 450 elsewhere).
|
||||
const size = browserName === 'firefox' ? { width: 500, height: 400 } : { width: 320, height: 240 };
|
||||
const context = await browser.newContext({
|
||||
|
|
|
@ -124,9 +124,8 @@ it('should emulate reduced motion', async ({ page }) => {
|
|||
await page.emulateMedia({ reducedMotion: null });
|
||||
});
|
||||
|
||||
it('should keep reduced motion and color emulation after reload', async ({ page, server, browserName }) => {
|
||||
it('should keep reduced motion and color emulation after reload', async ({ page, server }) => {
|
||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/31328' });
|
||||
it.fixme(browserName === 'firefox');
|
||||
|
||||
// Pre-conditions
|
||||
expect(await page.evaluate(() => matchMedia('(prefers-reduced-motion: reduce)').matches)).toEqual(false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче