diff --git a/ui/components/providers/organizations/hooks/use-org-account-selection-flow.ts b/ui/components/providers/organizations/hooks/use-org-account-selection-flow.ts index c8a9bd8d79..72e3db3fb8 100644 --- a/ui/components/providers/organizations/hooks/use-org-account-selection-flow.ts +++ b/ui/components/providers/organizations/hooks/use-org-account-selection-flow.ts @@ -485,8 +485,7 @@ export function useOrgAccountSelectionFlow({ setCreatedProviderIds(launchableProviderIds); onSkip(); }, - showAction: - isApplying || isTesting || canRetry || hasSelectedAccounts, + showAction: isApplying || isTesting || canRetry || hasSelectedAccounts, actionLabel: "Test Connections", actionDisabled: isApplying || isTesting || !hasSelectedAccounts, actionType: WIZARD_FOOTER_ACTION_TYPE.BUTTON, diff --git a/ui/tests/providers/providers-page.ts b/ui/tests/providers/providers-page.ts index 9d647118ad..ba33458816 100644 --- a/ui/tests/providers/providers-page.ts +++ b/ui/tests/providers/providers-page.ts @@ -300,10 +300,17 @@ export class ProvidersPage extends BasePage { }); // Button to add a new cloud provider - this.addProviderButton = page.getByRole("link", { - name: "Add Cloud Provider", - exact: true, - }); + this.addProviderButton = page + .getByRole("button", { + name: "Add Cloud Provider", + exact: true, + }) + .or( + page.getByRole("link", { + name: "Add Cloud Provider", + exact: true, + }), + ); // Table displaying existing providers this.providersTable = page.getByRole("table");