summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtto Richter <git@otto.splvs.net>2025-01-15 15:30:41 +0100
committerOtto Richter <git@otto.splvs.net>2025-01-15 19:16:28 +0100
commite7299eb0fb0e75601e264977ba391e80c1924b2c (patch)
tree0a82f4f6b584261d4ba152d168622557cf0bc3f3
parenttests(e2e): Do not fail early when comparing screenshots (diff)
downloadforgejo-e7299eb0fb0e75601e264977ba391e80c1924b2c.tar.xz
forgejo-e7299eb0fb0e75601e264977ba391e80c1924b2c.zip
tests(e2e): Mask user heatmap in screenshots
It depends on both relative activity and date the test is run on
-rw-r--r--tests/e2e/utils_e2e.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/e2e/utils_e2e.ts b/tests/e2e/utils_e2e.ts
index 18d23753dd..ff921a2cf3 100644
--- a/tests/e2e/utils_e2e.ts
+++ b/tests/e2e/utils_e2e.ts
@@ -119,6 +119,7 @@ export async function save_visual(page: Page) {
// update order of recently created repos is not fully deterministic
page.locator('.flex-item-main').filter({hasText: 'relative time in repo'}),
page.locator('#activity-feed'),
+ page.locator('#user-heatmap'),
// dynamic IDs in fixed-size inputs
page.locator('input[value*="dyn-id-"]'),
],