Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarciabriseno committed Nov 14, 2024
1 parent 568e9bb commit 7ae93ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/desktop/multi/unmatched_image_warning.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test("[Normal] Helioviewer shows a warning when the image displayed is at least
await page.getByLabel("Observation date", { exact: true }).press("Enter");
// Wait for page to load
await page.waitForFunction(() => document.getElementById("loading")?.style.display == "none", null, {
timeout: 60000
timeout: 90000
});
// Expect the warning to appear with the expected text
await expect(page.getByText("The AIA 304 layer is 6 hours")).toBeVisible();
Expand All @@ -50,7 +50,7 @@ test("[Normal] Helioviewer shows a warning when the image displayed is at least
await page.getByLabel("Observation time").press("Enter");
// Wait for page to load
await page.waitForFunction(() => document.getElementById("loading")?.style.display == "none", null, {
timeout: 60000
timeout: 90000
});
// Expect the warning to disappear with the expected text
await expect(page.getByText("The AIA 304 layer is 6 hours")).not.toBeVisible();
Expand All @@ -69,7 +69,7 @@ test("[Minimal] Helioviewer shows a warning when the image displayed is at least
await page.getByRole("textbox", { name: "Time" }).press("Enter");
// Wait for page to load
await page.waitForFunction(() => document.getElementById("loading")?.style.display == "none", null, {
timeout: 60000
timeout: 90000
});
// Expect the warning to appear
await expect(page.getByText("The AIA 171 layer is 6 hours")).toBeVisible();
Expand All @@ -82,7 +82,7 @@ test("[Minimal] Helioviewer shows a warning when the image displayed is at least
await page.getByRole("textbox", { name: "Time" }).press("Enter");
// Wait for page to load
await page.waitForFunction(() => document.getElementById("loading")?.style.display == "none", null, {
timeout: 60000
timeout: 90000
});
// Expect the warning to disappear
await expect(page.getByText("The AIA 171 layer is 6 hours")).not.toBeVisible();
Expand Down

0 comments on commit 7ae93ef

Please sign in to comment.