Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: serialize non-inprocess uploads (#41112)
Pavel Feldmandb88251c3a6a
diff --git a/packages/playwright-core/src/cli/driver.ts b/packages/playwright-core/src/cli/driver.tsindex 05c28bc836..0d807cc1ad 100644--- a/packages/playwright-core/src/cli/driver.ts+++ b/packages/playwright-core/src/cli/driver.ts@@ -37,7 +37,7 @@ export function printApiJson() {export function runDriver() {const dispatcherConnection = new DispatcherConnection();new RootDispatcher(dispatcherConnection, async (rootScope, { sdkLanguage }) => {- const playwright = createPlaywright({ sdkLanguage });+ const playwright = createPlaywright({ sdkLanguage, isClientCollocatedWithServer: true });return new PlaywrightDispatcher(rootScope, playwright);});// eslint-disable-next-line no-restricted-propertiesdiff --git a/tests/page/page-set-input-files.spec.ts b/tests/page/page-set-input-files.spec.tsindex 6a0922a330..c443700b81 100644--- a/tests/page/page-set-input-files.spec.ts+++ b/tests/page/page-set-input-files.spec.ts@@ -145,7 +145,7 @@ test('should upload a file after popup', async ({ page, server, asset }) => {test('should upload large file', async ({ page, server, isAndroid, mode }, testInfo) => {test.skip(isAndroid);- test.skip(mode !== 'default');+ test.skip(mode.startsWith('service'));test.slow();await page.goto(server.PREFIX + '/input/fileupload.html');