From 6ae9adfa4fed41abb2770e6d00841ea42681f418 Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Tue, 18 Jun 2024 14:56:08 -0700 Subject: [PATCH] test: add "clock" to the metadata for dashboard traceability (#31370) --- tests/library/playwright.config.ts | 1 + tests/playwright-test/playwright.config.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/tests/library/playwright.config.ts b/tests/library/playwright.config.ts index 9ab64c22be..a70c1f5e6d 100644 --- a/tests/library/playwright.config.ts +++ b/tests/library/playwright.config.ts @@ -134,6 +134,7 @@ for (const browserName of browserNames) { mode, video: !!video, trace: !!trace, + clock: 'clock-' + (process.env.PW_CLOCK || 'default'), }, }); } diff --git a/tests/playwright-test/playwright.config.ts b/tests/playwright-test/playwright.config.ts index 8536ed992e..6be40d617f 100644 --- a/tests/playwright-test/playwright.config.ts +++ b/tests/playwright-test/playwright.config.ts @@ -49,4 +49,7 @@ export default defineConfig({ }, ], reporter: reporters(), + metadata: { + clock: 'clock-' + (process.env.PW_CLOCK || 'default'), + }, });