AFFiNE/tests/libs/load-page.ts

10 lines
241 B
TypeScript
Raw Normal View History

2022-11-28 16:17:34 +03:00
import { test } from '@playwright/test';
export function loadPage() {
test.beforeEach(async ({ page }) => {
await page.goto('http://localhost:8080');
2022-11-28 16:17:34 +03:00
// waiting for page loading end
// await page.waitForTimeout(1000);
2022-11-28 16:17:34 +03:00
});
}