mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
merge master
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import { test } from '@playwright/test';
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
interface IType {
|
||||
page: Page;
|
||||
}
|
||||
export function loadPage() {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
test.beforeEach(async ({ page }: IType) => {
|
||||
await page.goto('http://localhost:8080');
|
||||
// waiting for page loading end
|
||||
// await page.waitForTimeout(1000);
|
||||
|
||||
Reference in New Issue
Block a user