Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Alter a couple E2E exploration test so that they don't fail on evening UTC (#6400)

Adrian Gruntkowski6e26fd791b6f
diff --git a/e2e/tests/dashboard/exploration.spec.ts b/e2e/tests/dashboard/exploration.spec.ts
index 70726960ac..03025c670f 100644
--- a/e2e/tests/dashboard/exploration.spec.ts
+++ b/e2e/tests/dashboard/exploration.spec.ts
@@ -19,7 +19,7 @@ test('load user journey', async ({ page, request }) => {
user_id: 123,
name: 'pageview',
pathname: '/page',
- timestamp: { hoursAgo: 40 }
+ timestamp: { daysAgo: 7 }
}
]
})
@@ -114,7 +114,7 @@ test('load user journey and switch to a period with no events', async ({
user_id: 123,
name: 'pageview',
pathname: '/page',
- timestamp: { hoursAgo: 40 }
+ timestamp: { daysAgo: 7 }
}
]
})