feat(firefox-beta): roll to r1425 (#27128)

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
This commit is contained in:
Playwright Service 2023-09-19 00:31:58 -07:00 committed by GitHub
parent 7f1d93dd3f
commit f064fb6840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -33,9 +33,9 @@
},
{
"name": "firefox-beta",
"revision": "1422",
"revision": "1425",
"installByDefault": false,
"browserVersion": "116.0b2"
"browserVersion": "118.0b5"
},
{
"name": "webkit",

View File

@ -358,7 +358,7 @@ it('should support MacOS shortcuts', async ({ page, server, platform, browserNam
expect(await page.$eval('textarea', textarea => textarea.value)).toBe('some ');
});
it('should press the meta key', async ({ page, browserName, isMac }) => {
it('should press the meta key', async ({ page, browserName, isMac, browserMajorVersion }) => {
const lastEvent = await captureLastKeydown(page);
await page.keyboard.press('Meta');
const { key, code, metaKey } = await lastEvent.jsonValue();
@ -367,7 +367,7 @@ it('should press the meta key', async ({ page, browserName, isMac }) => {
else
expect(key).toBe('Meta');
if (browserName === 'firefox')
if (browserName === 'firefox' && browserMajorVersion <= 117)
expect(code).toBe('OSLeft');
else
expect(code).toBe('MetaLeft');