test: Remove debugging statement and change getBy query to findBy
This removes a leftover debugging statement and changes `getBy` query to an awaited async `findBy` as this was causing problems in the test when the checked component wasn't immediately available.
This commit is contained in:
parent
6d6e9305d6
commit
269293e181
1 changed files with 1 additions and 2 deletions
|
|
@ -891,9 +891,8 @@ describe('Step Upload to AWS', () => {
|
|||
// expect(await getNextButton()).toBeDisabled();
|
||||
// await user.clear(nameInput);
|
||||
// // Enter image name
|
||||
screen.logTestingPlaygroundURL();
|
||||
|
||||
const nameInput = screen.getByRole('textbox', {
|
||||
const nameInput = await screen.findByRole('textbox', {
|
||||
name: /blueprint name/i,
|
||||
});
|
||||
const invalidName = 'a'.repeat(64);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue