Stabilize custom widget E2E login
This commit is contained in:
1 file changed
+1
@@ -26,6 +26,7 @@ describe("Custom JSX v2 workbench", () => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await page.goto(`${baseUrl}/auth/login`);
|
await page.goto(`${baseUrl}/auth/login`);
|
||||||
|
await page.waitForLoadState("networkidle");
|
||||||
await page.getByLabel("Username").fill(adminCredentials.username);
|
await page.getByLabel("Username").fill(adminCredentials.username);
|
||||||
await page.locator("#password").fill(adminCredentials.password);
|
await page.locator("#password").fill(adminCredentials.password);
|
||||||
await page.locator("button[type='submit']").click();
|
await page.locator("button[type='submit']").click();
|
||||||
|
|||||||
Reference in new issue
Block a user