We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 130819d commit a932b20Copy full SHA for a932b20
tests/helpers/list-utilities.ts
@@ -23,7 +23,8 @@ export async function createList(
23
await page.getByLabel('Name').fill(listName);
24
await page.getByLabel('Description').fill(listDescription);
25
await page.getByRole('button', { name: 'Continue' }).click();
26
- await page.waitForTimeout(1000);
+ // wait until the list was created and we're on its add/remove movies page
27
+ await page.waitForURL(url => url.searchParams.has('listId'));
28
});
29
}
30
0 commit comments