Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppeteer_tests: Remove login test.
Riken Shah08212ef74a47
diff --git a/frontend_tests/puppeteer_tests/01-login.ts b/frontend_tests/puppeteer_tests/01-login.tsdeleted file mode 100644index 51b10bdcdbd..00000000000--- a/frontend_tests/puppeteer_tests/01-login.ts+++ /dev/null@@ -1,10 +0,0 @@-import type {Page} from "puppeteer";--import {test_credentials} from "../../var/puppeteer/test_credentials";-import common from "../puppeteer_lib/common";--async function login_tests(page: Page): Promise<void> {- await common.log_in(page, test_credentials.default_user);-}--common.run_test(login_tests);diff --git a/frontend_tests/puppeteer_tests/00-realm-creation.ts b/frontend_tests/puppeteer_tests/01-realm-creation.tssimilarity index 100%rename from frontend_tests/puppeteer_tests/00-realm-creation.tsrename to frontend_tests/puppeteer_tests/01-realm-creation.tsdiff --git a/tools/message-screenshot.js b/tools/message-screenshot.jsindex 7baca29a5e2..020c9ef7511 100644--- a/tools/message-screenshot.js+++ b/tools/message-screenshot.js@@ -26,7 +26,7 @@ if (options.messageId === undefined) {process.exit(1);}-// TODO: Refactor to share code with frontend_tests/puppeteer_tests/00-realm-creation.js+// TODO: Refactor to share code with frontend_tests/puppeteer_tests/01-realm-creation.jsasync function run() {const browser = await puppeteer.launch({args: [diff --git a/zerver/views/development/registration.py b/zerver/views/development/registration.pyindex 935cbd7e73e..a41f4bf03cc 100644--- a/zerver/views/development/registration.py+++ b/zerver/views/development/registration.py@@ -12,7 +12,7 @@ from zerver.views.auth import create_preregistration_userfrom zerver.views.registration import accounts_register-# This is used only by the Puppeteer test in 00-realm-creation.js.+# This is used only by the Puppeteer test in 01-realm-creation.js.def confirmation_key(request: HttpRequest) -> HttpResponse:return json_success(request.session.get("confirmation_key"))