Allow changed time range resubmission
ci-deploy / build-deploy-test (push) Successful in 1m51s

This commit is contained in:
2026-05-05 19:04:03 +03:00
parent 04a71192fa
commit 4afecd23a6
3 changed files with 91 additions and 4 deletions
+13
View File
@@ -87,5 +87,18 @@ test.describe("Onlineboard time-range filter (TIRREDESIGN-11)", () => {
// URL must have grown a time suffix.
await expect(page).toHaveURL(/\/onlineboard\/route\/MOW-LED-\d{8}-\d{8}/);
const firstFilteredUrl = page.url();
await slider.click({
position: { x: sliderBox.width * 0.75, y: sliderBox.height / 2 },
});
await expect(page.locator('[data-testid="search-submit"]')).toBeEnabled();
await page.locator('[data-testid="search-submit"]').click();
await page.waitForURL(
(url) =>
url.href !== firstFilteredUrl &&
/\/onlineboard\/route\/MOW-LED-\d{8}-\d{8}$/.test(url.pathname),
);
});
});