fix(ui): format showAction and update E2E page object

This commit is contained in:
alejandrobailo committed 2026-02-24 13:52:04 +01:00
1 parent de938afd88
commit 8c9ebfe35f
2 files changed
+12 -6

No files matched your search

@@ -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,
+11 -4
View File
@@ -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");