mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: add waitUntil option for navigation in CreateMonitor and CreateProject tests
This commit is contained in:
@@ -100,6 +100,7 @@ test.describe("Monitor Creation", () => {
|
||||
// Wait for navigation to the project dashboard
|
||||
await page.waitForURL(projectDashboardUrlRegex, {
|
||||
timeout: 90000,
|
||||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
|
||||
// Let project-selection redirects finish before navigating deeper.
|
||||
|
||||
@@ -104,6 +104,7 @@ test.describe("Project Creation", () => {
|
||||
// Wait for navigation to the project dashboard
|
||||
await page.waitForURL(projectDashboardUrlRegex, {
|
||||
timeout: 90000,
|
||||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
|
||||
// Give any final redirect triggered by project selection time to settle.
|
||||
|
||||
Reference in New Issue
Block a user