add tests (#536)

This commit is contained in:
zuomeng wang
2022-11-28 13:17:34 +00:00
committed by GitHub
parent 7392a9bfc5
commit 5eb7830c13
11 changed files with 122 additions and 9 deletions
+9
View File
@@ -0,0 +1,9 @@
import { test } from '@playwright/test';
export function loadPage() {
test.beforeEach(async ({ page }) => {
await page.goto('http://localhost:3000');
// waiting for page loading end
await page.waitForTimeout(1000);
});
}