mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 20:18:42 +08:00
test: wait for page to load
This commit is contained in:
@@ -4,6 +4,6 @@ export function loadPage() {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('http://localhost:8080');
|
||||
// waiting for page loading end
|
||||
// await page.waitForTimeout(1000);
|
||||
await page.waitForSelector('#__next');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user