mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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:
parent
7f1d93dd3f
commit
f064fb6840
@ -33,9 +33,9 @@
|
||||
},
|
||||
{
|
||||
"name": "firefox-beta",
|
||||
"revision": "1422",
|
||||
"revision": "1425",
|
||||
"installByDefault": false,
|
||||
"browserVersion": "116.0b2"
|
||||
"browserVersion": "118.0b5"
|
||||
},
|
||||
{
|
||||
"name": "webkit",
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user