From 366eaec5cf7f59558f538895f67acc828655df68 Mon Sep 17 00:00:00 2001 From: Alan Buscaglia Date: Tue, 30 Jun 2026 13:35:15 +0200 Subject: [PATCH] test(ui): drop getWizardDebugInfo from provider no-scan flow --- ui/tests/providers/providers-page.ts | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/ui/tests/providers/providers-page.ts b/ui/tests/providers/providers-page.ts index 256812fc05..8e491ad0f1 100644 --- a/ui/tests/providers/providers-page.ts +++ b/ui/tests/providers/providers-page.ts @@ -936,28 +936,6 @@ export class ProvidersPage extends BasePage { } } - private async getWizardDebugInfo(): Promise { - const isWizardVisible = await this.wizardModal - .isVisible() - .catch(() => false); - if (!isWizardVisible) { - return "Wizard visible: false"; - } - const wizardText = await this.wizardModal - .innerText() - .catch(() => ""); - const visibleButtons = await this.wizardModal - .getByRole("button") - .allTextContents() - .catch(() => []); - - return [ - "Wizard visible: true", - `Visible button text: ${visibleButtons.map((text) => text.trim()).join(" | ") || ""}`, - `Wizard text:\n${wizardText.trim() || ""}`, - ].join("\n\n"); - } - async completeProviderConnectionWithoutLaunchingScan( providerUID: string, timeout = 30000, @@ -1025,9 +1003,8 @@ export class ProvidersPage extends BasePage { (await this.wizardModal.isHidden().catch(() => false)); if (!reachedNoScanState) { - const debugInfo = await this.getWizardDebugInfo(); throw new Error( - `Provider no-scan flow did not reach the connection or launch step.\n\n${debugInfo}`, + "Provider no-scan flow did not reach the connection or launch step.", ); }