feat: copilot frontend e2e (#7694)

This commit is contained in:
darkskygit
2024-10-29 08:56:37 +00:00
parent 5709ebbb11
commit d71852789f
21 changed files with 917 additions and 29 deletions
+5 -1
View File
@@ -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);