mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-01 09:54:37 +00:00
fix web stuck problem! go to / and not to #/login
This commit is contained in:
@@ -95,7 +95,7 @@ export class TestHelpers {
|
||||
reducedMotion: "reduce",
|
||||
});
|
||||
const page = await userContext.newPage();
|
||||
await page.goto(host + "/#/login");
|
||||
await page.goto(host);
|
||||
|
||||
await page.getByRole("link", { name: "Sign in" }).click();
|
||||
|
||||
@@ -103,11 +103,6 @@ export class TestHelpers {
|
||||
await page.getByRole("textbox", { name: "Password" }).fill(PASSWORD);
|
||||
await page.getByRole("button", { name: "Sign in" }).click();
|
||||
|
||||
// 😤For reasons web is staying on an infinite loading page after login, so we reload the page
|
||||
// Super annoying to have to wait...
|
||||
await page.waitForTimeout(2000);
|
||||
await page.reload();
|
||||
|
||||
await expect(
|
||||
page.getByRole("heading", { name: `Welcome ${username}` }),
|
||||
).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user