mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 14:27:02 +08:00
refactor: move test utils to package (#3206)
This commit is contained in:
7
tests/kit/utils/load-page.ts
Normal file
7
tests/kit/utils/load-page.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
export const webUrl = 'http://localhost:8080';
|
||||
|
||||
export async function openHomePage(page: Page) {
|
||||
await page.goto(webUrl);
|
||||
}
|
||||
Reference in New Issue
Block a user