mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-24 20:34:16 +00:00
fix(ui): format showAction and update E2E page object
This commit is contained in:
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,
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user