Correct the text to match the button text label

Signed-off-by: Yuxin Sun <yuxisun@redhat.com>
This commit is contained in:
Yuxin Sun 2021-04-30 10:28:11 +00:00 committed by jkozol
parent 14a7c7e39d
commit a10e1746e5
2 changed files with 5 additions and 5 deletions

View file

@ -107,7 +107,7 @@ class WizardStepReview extends Component {
<Title headingLevel="h2" size="xl">Review</Title>
<TextContent>
<Text component={ TextVariants.small }>
Review the information and click Create image
Review the information and click the Create button
to create the image using the following criteria.
</Text>
<Text component={ TextVariants.h3 }>Image output</Text>

View file

@ -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');