From 4bc5569b15422f2cbb4f5713b306afcb73b7eab4 Mon Sep 17 00:00:00 2001 From: Brian Holmes Date: Mon, 9 Dec 2024 12:28:11 -0500 Subject: [PATCH] tests: remove unnecessary timeout --- web-local/tests/explores/time-controls-from-config.spec.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/web-local/tests/explores/time-controls-from-config.spec.ts b/web-local/tests/explores/time-controls-from-config.spec.ts index 1eac6ada2e5..c1079caf717 100644 --- a/web-local/tests/explores/time-controls-from-config.spec.ts +++ b/web-local/tests/explores/time-controls-from-config.spec.ts @@ -13,8 +13,6 @@ test.describe("time controls settings from explore preset", () => { await page.getByLabel("code").click(); - await page.waitForTimeout(2000); - // Set a time range that is one of the supported presets await watcher.updateAndWaitForExplore( getDashboardYaml(`time_range: "P4W" @@ -22,7 +20,6 @@ test.describe("time controls settings from explore preset", () => { `), ); - await page.waitForTimeout(10000); // Preview await page.getByRole("button", { name: "Preview" }).click();