feat(firefox): roll to r1451 (#30950)

This commit is contained in:
Playwright Service 2024-05-23 01:30:06 -07:00 committed by GitHub
parent 7645d293f0
commit 14d98aaaf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -15,7 +15,7 @@
}, },
{ {
"name": "firefox", "name": "firefox",
"revision": "1450", "revision": "1451",
"installByDefault": true, "installByDefault": true,
"browserVersion": "126.0" "browserVersion": "126.0"
}, },

View file

@ -37,9 +37,8 @@ it('should upload the file', async ({ page, server, asset }) => {
}, input)).toBe('contents of the file'); }, input)).toBe('contents of the file');
}); });
it('should upload a file after popup', async ({ page, server, asset, browserName }) => { it('should upload a file after popup', async ({ page, server, asset }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/29923' }); it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/29923' });
it.fixme(browserName === 'firefox');
await page.goto(server.PREFIX + '/input/fileupload.html'); await page.goto(server.PREFIX + '/input/fileupload.html');
{ {
const [popup] = await Promise.all([ const [popup] = await Promise.all([
@ -691,4 +690,4 @@ it('should preserve lastModified timestamp', async ({ page, asset }) => {
// rounds it to seconds in WebKit: 1696272058110 -> 1696272058000. // rounds it to seconds in WebKit: 1696272058110 -> 1696272058000.
for (let i = 0; i < timestamps.length; i++) for (let i = 0; i < timestamps.length; i++)
expect(Math.abs(timestamps[i] - expectedTimestamps[i]), `expected: ${expectedTimestamps}; actual: ${timestamps}`).toBeLessThan(1000); expect(Math.abs(timestamps[i] - expectedTimestamps[i]), `expected: ${expectedTimestamps}; actual: ${timestamps}`).toBeLessThan(1000);
}); });