mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat: support get datasource status (#3645)
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
export const webUrl = 'http://localhost:8080';
|
||||
export const coreUrl = 'http://localhost:8080';
|
||||
export const prototypeUrl = 'http://localhost:3003';
|
||||
|
||||
export async function openHomePage(page: Page) {
|
||||
await page.goto(webUrl);
|
||||
await page.goto(coreUrl);
|
||||
}
|
||||
|
||||
export async function openPluginPage(page: Page) {
|
||||
await page.goto(`${webUrl}/_plugin/index.html`);
|
||||
await page.goto(`${coreUrl}/_plugin/index.html`);
|
||||
}
|
||||
|
||||
export async function openPrototypeProviderStatusPage(page: Page) {
|
||||
await page.goto(`${prototypeUrl}/suite/provider-status.html`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user