mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-13 21:27:53 +02:00
fix(e2e): navigate after setting up route overrides in unsync version test
This commit is contained in:
@@ -162,6 +162,9 @@ test.describe('Doc Routing', () => {
|
||||
await route.continue();
|
||||
});
|
||||
|
||||
// Navigate after setting up the route overrides so the config endpoint
|
||||
// is intercepted and returns the mismatched version, triggering a reload.
|
||||
await page.goto('/');
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
// The sessionStorage guard should be set to the mismatched backend version.
|
||||
|
||||
Reference in New Issue
Block a user