Update page-set-input-files.spec.ts

Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Max Schmitt 2024-05-23 10:00:47 +02:00 committed by GitHub
parent abdb3cff98
commit 0fdb27f0d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,9 +37,8 @@ it('should upload the file', async ({ page, server, asset }) => {
}, 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.fixme(browserName === 'firefox');
await page.goto(server.PREFIX + '/input/fileupload.html');
{
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.
for (let i = 0; i < timestamps.length; i++)
expect(Math.abs(timestamps[i] - expectedTimestamps[i]), `expected: ${expectedTimestamps}; actual: ${timestamps}`).toBeLessThan(1000);
});
});