fixit
This commit is contained in:
parent
f4b87dbdd6
commit
fba15c6e9e
|
|
@ -54,7 +54,7 @@ it('should upload a folder', async ({ page, server, browserName, headless, brows
|
|||
await input.setInputFiles(dir);
|
||||
expect(new Set(await page.evaluate(e => [...e.files].map(f => f.webkitRelativePath), input))).toEqual(new Set([
|
||||
// https://issues.chromium.org/issues/345393164
|
||||
...((browserName === 'chromium' && headless && !process.env.PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW && browserMajorVersion < 128) ? [] : ['file-upload-test/sub-dir/really.txt']),
|
||||
...((browserName === 'chromium' && headless && !process.env.PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW && browserMajorVersion < 127) ? [] : ['file-upload-test/sub-dir/really.txt']),
|
||||
'file-upload-test/file1.txt',
|
||||
'file-upload-test/file2',
|
||||
]));
|
||||
|
|
|
|||
Loading…
Reference in a new issue