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_tests: Use assert.equal.

Anders Kaseorgabce4b655581
diff --git a/frontend_tests/puppeteer_tests/realm-creation.ts b/frontend_tests/puppeteer_tests/realm-creation.ts
index 9e799b5e939..14cffb90df9 100644
--- a/frontend_tests/puppeteer_tests/realm-creation.ts
+++ b/frontend_tests/puppeteer_tests/realm-creation.ts
@@ -46,7 +46,7 @@ async function realm_creation_tests(page: Page): Promise<void> {
const text_in_pitch = await page.evaluate(
() => document.querySelector(".pitch p")!.textContent,
);
- assert(text_in_pitch === "You’re almost there! We just need you to do one last thing.");
+ assert.equal(text_in_pitch, "You’re almost there! We just need you to do one last thing.");
// fill the form.
const params = {