mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-15 13:51:49 +03:00
17 lines
470 B
TypeScript
17 lines
470 B
TypeScript
import type { Page } from '@playwright/test';
|
|
|
|
export const coreUrl = 'http://localhost:8080';
|
|
export const prototypeUrl = 'http://localhost:3003';
|
|
|
|
export async function openHomePage(page: Page) {
|
|
await page.goto(coreUrl);
|
|
}
|
|
|
|
export async function openPluginPage(page: Page) {
|
|
await page.goto(`${coreUrl}/_plugin/index.html`);
|
|
}
|
|
|
|
export async function openPrototypeProviderStatusPage(page: Page) {
|
|
await page.goto(`${prototypeUrl}/suite/provider-status.html`);
|
|
}
|