chore: prohibit unnecessary await (#4586)
This commit is contained in:
1 parent
5ebd82dc04
commit
d05897b724
19 files changed
+104
-104
No files matched your search
@@ -1,7 +1,6 @@
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
export const coreUrl = 'http://localhost:8080';
|
||||
export const prototypeUrl = 'http://localhost:3003';
|
||||
|
||||
export async function openHomePage(page: Page) {
|
||||
await page.goto(coreUrl);
|
||||
@@ -11,6 +10,6 @@ export async function openPluginPage(page: Page) {
|
||||
await page.goto(`${coreUrl}/_plugin/index.html`);
|
||||
}
|
||||
|
||||
export async function openPrototypeProviderStatusPage(page: Page) {
|
||||
await page.goto(`${prototypeUrl}/suite/provider-status.html`);
|
||||
export async function open404Page(page: Page) {
|
||||
await page.goto(`${coreUrl}/404`);
|
||||
}
|
||||
Reference in new issue
Block a user