mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 01:56:27 +08:00
10 lines
238 B
TypeScript
10 lines
238 B
TypeScript
import { test } from '@playwright/test';
|
|
|
|
export function loadPage() {
|
|
test.beforeEach(async ({ page }) => {
|
|
await page.goto('http://localhost:8080');
|
|
// waiting for page loading end
|
|
await page.waitForTimeout(1000);
|
|
});
|
|
}
|