refactor: move test utils to package (#3206)

This commit is contained in:
Alex Yang
2023-07-13 17:05:01 +08:00
committed by GitHub
parent 4f5ed30298
commit 0230cea16e
61 changed files with 199 additions and 551 deletions

View File

@@ -0,0 +1,7 @@
import type { Page } from '@playwright/test';
export const webUrl = 'http://localhost:8080';
export async function openHomePage(page: Page) {
await page.goto(webUrl);
}