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: Remove login test.

Riken Shah08212ef74a47
diff --git a/frontend_tests/puppeteer_tests/01-login.ts b/frontend_tests/puppeteer_tests/01-login.ts
deleted file mode 100644
index 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.ts
similarity index 100%
rename from frontend_tests/puppeteer_tests/00-realm-creation.ts
rename to frontend_tests/puppeteer_tests/01-realm-creation.ts
diff --git a/tools/message-screenshot.js b/tools/message-screenshot.js
index 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.js
async function run() {
const browser = await puppeteer.launch({
args: [
diff --git a/zerver/views/development/registration.py b/zerver/views/development/registration.py
index 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_user
from 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"))