2023-01-03 16:57:33 +03:00
|
|
|
import type { Page } from '@playwright/test';
|
2022-11-28 16:17:34 +03:00
|
|
|
|
2023-08-10 08:05:34 +03:00
|
|
|
export const coreUrl = 'http://localhost:8080';
|
|
|
|
export const prototypeUrl = 'http://localhost:3003';
|
2023-04-22 04:44:29 +03:00
|
|
|
|
2023-03-24 01:15:40 +03:00
|
|
|
export async function openHomePage(page: Page) {
|
2023-08-10 08:05:34 +03:00
|
|
|
await page.goto(coreUrl);
|
2022-11-28 16:17:34 +03:00
|
|
|
}
|
2023-08-03 04:48:35 +03:00
|
|
|
|
|
|
|
export async function openPluginPage(page: Page) {
|
2023-08-10 08:05:34 +03:00
|
|
|
await page.goto(`${coreUrl}/_plugin/index.html`);
|
|
|
|
}
|
|
|
|
|
|
|
|
export async function openPrototypeProviderStatusPage(page: Page) {
|
|
|
|
await page.goto(`${prototypeUrl}/suite/provider-status.html`);
|
2023-08-03 04:48:35 +03:00
|
|
|
}
|