test: Improve stability of the ImagesTable tests
This should help with tests flaking on the `act()` error.
This commit is contained in:
parent
cbe710e75e
commit
51ad859747
2 changed files with 11 additions and 12 deletions
|
|
@ -129,7 +129,7 @@ describe('On Recreate', () => {
|
|||
await waitFor(() => expect(createImageButton).toBeEnabled());
|
||||
|
||||
// check that the FSC contains a /tmp partition
|
||||
const navigation = screen.getByRole('navigation');
|
||||
const navigation = await screen.findByRole('navigation');
|
||||
await user.click(
|
||||
await within(navigation).findByRole('button', {
|
||||
name: /file system configuration/i,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue