Update verifyCancelButton

b/c when rendering the CreateImageWizard the container doesn't
include the main app headline
This commit is contained in:
Aleksandar Todorov 2020-11-16 15:01:45 +02:00 committed by Alexander Todorov
parent bf7d551865
commit da5df65394

View file

@ -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/ }),
]
);
}