Correct the text to match the button text label
Signed-off-by: Yuxin Sun <yuxisun@redhat.com>
This commit is contained in:
parent
14a7c7e39d
commit
a10e1746e5
2 changed files with 5 additions and 5 deletions
|
|
@ -372,7 +372,7 @@ describe('Step Packages', () => {
|
|||
const [ next, , ] = verifyButtons();
|
||||
next.click();
|
||||
|
||||
screen.getByText('Review the information and click Create image to create the image using the following criteria.');
|
||||
screen.getByText('Review the information and click the Create button to create the image using the following criteria.');
|
||||
});
|
||||
|
||||
test('clicking Back loads Register', () => {
|
||||
|
|
@ -498,7 +498,7 @@ describe('Click through all steps', () => {
|
|||
|
||||
// review
|
||||
await screen.
|
||||
findByText('Review the information and click Create image to create the image using the following criteria.');
|
||||
findByText('Review the information and click the Create button to create the image using the following criteria.');
|
||||
const main = screen.getByRole('main', { name: 'Create image' });
|
||||
within(main).getByText('Amazon Web Services');
|
||||
within(main).getByText('Google Cloud Platform');
|
||||
|
|
@ -621,7 +621,7 @@ describe('Click through all steps', () => {
|
|||
reviewStep.click();
|
||||
|
||||
await screen.
|
||||
findByText('Review the information and click Create image to create the image using the following criteria.');
|
||||
findByText('Review the information and click the Create button to create the image using the following criteria.');
|
||||
const main = screen.getByRole('main', { name: 'Create image' });
|
||||
within(main).getByText('Amazon Web Services');
|
||||
await screen.findByText('Register the system on first boot');
|
||||
|
|
@ -656,7 +656,7 @@ describe('Click through all steps', () => {
|
|||
reviewStep.click();
|
||||
|
||||
await screen.
|
||||
findByText('Review the information and click Create image to create the image using the following criteria.');
|
||||
findByText('Review the information and click the Create button to create the image using the following criteria.');
|
||||
const main = screen.getByRole('main', { name: 'Create image' });
|
||||
within(main).getByText('Amazon Web Services');
|
||||
await screen.findByText('Register the system on first boot');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue