Update verifyCancelButton
b/c when rendering the CreateImageWizard the container doesn't include the main app headline
This commit is contained in:
parent
bf7d551865
commit
da5df65394
1 changed files with 1 additions and 1 deletions
|
|
@ -21,8 +21,8 @@ async function verifyCancelButton(cancel) {
|
|||
// this goes back to the landing page
|
||||
await waitFor(
|
||||
() => [
|
||||
screen.getByRole('heading', { name: /Image Builder/ }),
|
||||
screen.getByText('Create a new image'),
|
||||
screen.getByRole('button', { name: /Create image/ }),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue