From ed2f8720a0b944f5a792e3137a13b864198c9462 Mon Sep 17 00:00:00 2001 From: Carly Richmond <74931905+carlyrichmond@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:55:00 +0100 Subject: [PATCH] Adding device emulation option --- apps/synthetics-replicator-tests/synthetics.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/synthetics-replicator-tests/synthetics.config.ts b/apps/synthetics-replicator-tests/synthetics.config.ts index 692d0ad..62a37fa 100644 --- a/apps/synthetics-replicator-tests/synthetics.config.ts +++ b/apps/synthetics-replicator-tests/synthetics.config.ts @@ -1,4 +1,5 @@ -import type { SyntheticsConfig } from '@elastic/synthetics'; +import { SyntheticsConfig } from '@elastic/synthetics'; +import { devices } from "playwright-chromium" export default env => { const config: SyntheticsConfig = { @@ -10,6 +11,7 @@ export default env => { }, playwrightOptions: { ignoreHTTPSErrors: false, + ...devices['Desktop Chrome'] }, /** * Configure global monitor settings