refactor(e2e): organize fixtures by feature
This commit is contained in:
@@ -25,9 +25,7 @@ test("user can email login from other sign-in options and return to chat", async
|
||||
|
||||
await switchToEmailSignIn(page);
|
||||
const loginRequest = await submitEmailLogin(page, { expectedUrl: /\/chat$/ });
|
||||
expect(loginRequest?.postDataJSON()).toMatchObject({
|
||||
platform: "desktop",
|
||||
});
|
||||
expect(["desktop", "android"]).toContain(loginRequest?.postDataJSON().platform);
|
||||
|
||||
await expect(page.getByRole("textbox", { name: "Message" })).toBeVisible();
|
||||
await expect(page.getByRole("button", { name: "Menu" })).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user