diff --git a/web/src/e2e/util.ts b/web/src/e2e/util.ts index 460ac765fa2a..758e0509f1e8 100644 --- a/web/src/e2e/util.ts +++ b/web/src/e2e/util.ts @@ -76,6 +76,8 @@ export class Driver { } public async enterText(method: EnterTextMethod = 'type', text: string): Promise { + // Pasting does not work on macOS. See: https://github.com/GoogleChrome/puppeteer/issues/1313 + method = os.platform() === 'darwin' ? 'type' : method switch (method) { case 'type': await this.page.keyboard.type(text)