Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppeteer: Fix incorrectly passed `false` value to check narrow change.

Aman Agrawal777f6be88f82
diff --git a/web/e2e-tests/compose.test.ts b/web/e2e-tests/compose.test.ts
index 658199f5ce2..51efdcb1b50 100644
--- a/web/e2e-tests/compose.test.ts
+++ b/web/e2e-tests/compose.test.ts
@@ -134,15 +134,10 @@ async function test_narrow_to_private_messages_with_cordelia(page: Page): Promis
async function test_send_multirecipient_pm_from_cordelia_pm_narrow(page: Page): Promise<void> {
const recipients = ["[email protected]", "[email protected]"];
const multiple_recipients_pm = "A direct message group to check spaces";
- await common.send_message(
- page,
- "private",
- {
- recipient: recipients.join(", "),
- content: multiple_recipients_pm,
- },
- false,
- );
+ await common.send_message(page, "private", {
+ recipient: recipients.join(", "),
+ content: multiple_recipients_pm,
+ });
// Go back to the combined feed view and make sure all messages are loaded.
await page.click("#left-sidebar-navigation-list .top_left_all_messages");
diff --git a/web/e2e-tests/edit.test.ts b/web/e2e-tests/edit.test.ts
index 70f385449d0..e08ce21d558 100644
--- a/web/e2e-tests/edit.test.ts
+++ b/web/e2e-tests/edit.test.ts
@@ -55,6 +55,7 @@ async function test_edit_message_with_slash_me(page: Page): Promise<void> {
topic: "edits",
content: "/me test editing a message with me",
},
+ // We already narrow in test_stream_message_edit.
false,
);
await page.waitForSelector(