mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 10:42:00 +03:00
12 lines
278 B
TypeScript
12 lines
278 B
TypeScript
import type { Page } from '@playwright/test';
|
|
|
|
export const webUrl = 'http://localhost:8080';
|
|
|
|
export async function openHomePage(page: Page) {
|
|
await page.goto(webUrl);
|
|
}
|
|
|
|
export async function openPluginPage(page: Page) {
|
|
await page.goto(`${webUrl}/_plugin/index.html`);
|
|
}
|