Tests/Wizard: Fix tests broken by AWS sources

This commit fixes the tests broken by adding the AWS sources feature. No
new tests have been added in this commit.
This commit is contained in:
lucasgarfield 2023-02-28 16:02:26 +01:00 committed by Sanne Raymaekers
parent 51bcae3233
commit 3ff80a7398

View file

@ -600,6 +600,9 @@ describe('Step Packages', () => {
getNextButton().click();
// aws step
screen
.getByRole('radio', { name: /enter aws account id manually/i })
.click();
userEvent.type(screen.getByTestId('aws-account-id'), '012345678901');
getNextButton().click();
// skip registration
@ -878,6 +881,9 @@ describe('Step Custom repositories', () => {
getNextButton().click();
// aws step
screen
.getByRole('radio', { name: /enter aws account id manually/i })
.click();
userEvent.type(screen.getByTestId('aws-account-id'), '012345678901');
getNextButton().click();
// skip registration
@ -1027,6 +1033,9 @@ describe('Click through all steps', () => {
userEvent.click(screen.getByTestId('checkbox-image-installer'));
screen.getByRole('button', { name: /Next/ }).click();
screen
.getByRole('radio', { name: /enter aws account id manually/i })
.click();
userEvent.type(screen.getByTestId('aws-account-id'), '012345678901');
screen.getByRole('button', { name: /Next/ }).click();