test: Fix act warnings
This removes the `act()` warnings from the test output.
This commit is contained in:
parent
4fb37c187e
commit
e2397b90d4
1 changed files with 2 additions and 1 deletions
|
|
@ -109,12 +109,13 @@ const checkRecommendationsEmptyState = async () => {
|
|||
};
|
||||
|
||||
export const selectCustomRepo = async () => {
|
||||
const user = userEvent.setup();
|
||||
await clickBack();
|
||||
const customRepoCheckbox = await screen.findByRole('checkbox', {
|
||||
name: /select row 0/i,
|
||||
});
|
||||
|
||||
await userEvent.click(customRepoCheckbox);
|
||||
user.click(customRepoCheckbox);
|
||||
await clickNext();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue