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_test: Add `is_firefox` option to enable/disable some tests.

Riken Shaha6c1f02df022
diff --git a/frontend_tests/puppeteer_lib/common.ts b/frontend_tests/puppeteer_lib/common.ts
index 2570a579702..71328354ac9 100644
--- a/frontend_tests/puppeteer_lib/common.ts
+++ b/frontend_tests/puppeteer_lib/common.ts
@@ -14,6 +14,7 @@ type Message = Record<string, string | boolean> & {recipient?: string; content:
class CommonUtils {
browser: Browser | null = null;
screenshot_id = 0;
+ is_firefox = process.env.PUPPETEER_PRODUCT === "firefox";
realm_url = "http://zulip.zulipdev.com:9981/";
pm_recipient = {
async set(page: Page, recipient: string): Promise<void> {