test(e2e): update specs for multi-character routes
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
|
||||
import { mockCoreApis } from "@e2e/fixtures/api-mocks";
|
||||
import { clearBrowserState } from "@e2e/fixtures/test-helpers";
|
||||
import {
|
||||
clearBrowserState,
|
||||
defaultCharacterChatUrl,
|
||||
} from "@e2e/fixtures/test-helpers";
|
||||
|
||||
const psid = "e2e-facebook-psid";
|
||||
|
||||
@@ -27,7 +30,7 @@ test("user enters from an external PSID link and becomes a guest", async ({
|
||||
});
|
||||
expect(psidLoginRequest.postDataJSON().deviceId).toEqual(expect.any(String));
|
||||
|
||||
await expect(page).toHaveURL(/\/chat$/);
|
||||
await expect(page).toHaveURL(defaultCharacterChatUrl);
|
||||
await expect(page.getByRole("textbox", { name: "Message" })).toBeVisible();
|
||||
|
||||
await expect
|
||||
|
||||
Reference in New Issue
Block a user