mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
feat(server): add real-world prompt test for copilot apis (#8629)
fix AF-1432, PD-1176
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import type { Page } from '@playwright/test';
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
export const coreUrl = 'http://localhost:8080';
|
||||
export let coreUrl = 'http://localhost:8080';
|
||||
|
||||
export function setCoreUrl(url: string) {
|
||||
coreUrl = url;
|
||||
}
|
||||
|
||||
export async function openHomePage(page: Page) {
|
||||
await page.goto(coreUrl);
|
||||
|
||||
Reference in New Issue
Block a user