test(ui): add AWS provider in one step in the E2E helper (#12895)

This commit is contained in:
Alejandro Bailo
2026-09-28 15:38:47 +02:00
committed by GitHub
parent 8d003c60d0
commit 4195a4f818
+4 -9
View File
@@ -107,17 +107,12 @@ export async function addAWSProvider(
// Select AWS provider
await providersPage.selectAWSProvider();
// Fill provider details
await providersPage.fillAWSProviderDetails(awsProviderData);
await providersPage.clickNext();
// Verify credentials page is loaded
await providersPage.verifyCredentialsPageLoaded();
// Select static credentials type
await providersPage.selectCredentialsType(
// AWS registers the account and its credentials in a single step
await providersPage.selectAwsAccessMethod(
AWS_CREDENTIAL_OPTIONS.AWS_CREDENTIALS,
);
await providersPage.fillAWSProviderDetails(awsProviderData);
// Fill static credentials
await providersPage.fillStaticCredentials(staticCredentials);
await providersPage.clickNext();