Wizard: change the image name

fixes #1196
this commit update the wording on image name step
when user create new image.
This commit is contained in:
mgold1234 2023-07-02 15:45:36 +03:00 committed by Klara Simickova
parent 7cc4c55dda
commit ca2f2f7ba3
4 changed files with 15 additions and 11 deletions

View file

@ -109,7 +109,7 @@ describe('Create Image Wizard', () => {
screen.getByRole('button', { name: 'File system configuration' });
screen.getByRole('button', { name: 'Content' });
screen.getByRole('button', { name: 'Additional Red Hat packages' });
screen.getByRole('button', { name: 'Name image' });
screen.getByRole('button', { name: 'Details' });
screen.getByRole('button', { name: 'Review' });
});
});
@ -723,7 +723,7 @@ describe('Step Packages', () => {
getNextButton().click();
screen.getByRole('heading', {
name: 'Name image',
name: 'Details',
});
});
@ -1110,7 +1110,7 @@ describe('Step Details', () => {
// Enter image name
const nameInput = screen.getByRole('textbox', {
name: 'Image name',
name: 'Image Name',
});
// 101 character name
const invalidName = 'a'.repeat(64);
@ -1208,7 +1208,7 @@ describe('Step Review', () => {
back.click();
screen.getByRole('heading', {
name: 'Name image',
name: 'Details',
});
});
@ -1384,7 +1384,7 @@ describe('Click through all steps', () => {
// Enter image name
const nameInput = screen.getByRole('textbox', {
name: 'Image name',
name: 'Image Name',
});
await user.type(nameInput, 'my-image-name');
getNextButton().click();