diff --git a/test/fx.ts b/test/fx.ts index 24c3a44ed..836a39c04 100644 --- a/test/fx.ts +++ b/test/fx.ts @@ -481,23 +481,23 @@ export class DataExplorer { // timeout: ONE_MINUTE_MS, // }); // Dismiss overlay if it appears - const overlay = this.frame.locator("#webpack-dev-server-client-overlay").first(); + // const overlay = this.frame.locator("#webpack-dev-server-client-overlay").first(); - for (let attempt = 0; attempt < 5; attempt++) { - await scaleAndSettingsButton.click(); + // for (let attempt = 0; attempt < 5; attempt++) { + // await scaleAndSettingsButton.click(); - try { - // Give it up to 30s to show up - await overlay.waitFor({ state: "visible", timeout: 15 * ONE_SECOND_MS }); + // try { + // // Give it up to 30s to show up + // await overlay.waitFor({ state: "visible", timeout: 15 * ONE_SECOND_MS }); - // Overlay appeared => dismiss and retry - await overlay.contentFrame().getByLabel("Dismiss").click(); - continue; - } catch { - // Overlay did not appear within 30s => success - break; - } - } + // // Overlay appeared => dismiss and retry + // await overlay.contentFrame().getByLabel("Dismiss").click(); + // continue; + // } catch { + // // Overlay did not appear within 30s => success + // break; + // } + // } } /** Gets the console message element */