mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(examples): add missing await to todomvc (#17832)
This commit is contained in:
parent
3ecaa36e25
commit
795730f665
@ -300,7 +300,7 @@ test.describe('Persistence', () => {
|
||||
await expect(todoItems).toHaveClass(['completed', '']);
|
||||
|
||||
// Ensure there is 1 completed item.
|
||||
checkNumberOfCompletedTodosInLocalStorage(page, 1);
|
||||
await checkNumberOfCompletedTodosInLocalStorage(page, 1);
|
||||
|
||||
// Now reload.
|
||||
await page.reload();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user