mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-14 22:22:19 +03:00
265ee81666
plugin system need redesign
12 lines
263 B
TypeScript
12 lines
263 B
TypeScript
import type { Page } from '@playwright/test';
|
|
|
|
export const coreUrl = 'http://localhost:8080';
|
|
|
|
export async function openHomePage(page: Page) {
|
|
await page.goto(coreUrl);
|
|
}
|
|
|
|
export async function open404Page(page: Page) {
|
|
await page.goto(`${coreUrl}/404`);
|
|
}
|