test(e2e): update specs for multi-character routes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
|
||||
import {
|
||||
defaultCharacterChatUrl,
|
||||
enterChatFromSplash,
|
||||
submitEmailLogin,
|
||||
switchToEmailSignIn,
|
||||
@@ -19,7 +20,7 @@ test.describe("pre-release email login smoke", () => {
|
||||
page,
|
||||
}) => {
|
||||
await enterChatFromSplash(page, {
|
||||
expectedUrl: /\/chat(?:\?.*)?$/,
|
||||
expectedUrl: defaultCharacterChatUrl,
|
||||
timeout: 20_000,
|
||||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
@@ -36,7 +37,7 @@ test.describe("pre-release email login smoke", () => {
|
||||
|
||||
await switchToEmailSignIn(page);
|
||||
await submitEmailLogin(page, {
|
||||
expectedUrl: /\/chat(?:\?.*)?$/,
|
||||
expectedUrl: defaultCharacterChatUrl,
|
||||
waitForRequest: false,
|
||||
urlTimeout: 20_000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user