Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

use different emails because of new cd logic

Thiago Araujo da Silvacd74f738f6c4
diff --git a/backend/e2e-test/routes/v3/auth-email-signup.spec.ts b/backend/e2e-test/routes/v3/auth-email-signup.spec.ts
index e10b78530d..a72ee7302a 100644
--- a/backend/e2e-test/routes/v3/auth-email-signup.spec.ts
+++ b/backend/e2e-test/routes/v3/auth-email-signup.spec.ts
@@ -7,13 +7,12 @@ import { TTestSmtpService } from "../../mocks/smtp";
const smtp = () => (globalThis as unknown as { testSmtp: TTestSmtpService }).testSmtp;
describe("Auth Email Signup V3", () => {
- const testEmail = "[email protected]";
-
beforeEach(() => {
smtp().clear();
});
test("Begin email signup sends verification code", async () => {
+ const testEmail = "[email protected]";
const res = await testServer.inject({
method: "POST",
url: "/api/v3/signup/email/signup",
@@ -31,6 +30,8 @@ describe("Auth Email Signup V3", () => {
});
test("Verify email signup with correct code returns signup token", async () => {
+ const testEmail = "[email protected]";
+
// Step 1: Begin signup
await testServer.inject({
method: "POST",
@@ -61,6 +62,8 @@ describe("Auth Email Signup V3", () => {
});
test("Verify email signup with wrong code fails", async () => {
+ const testEmail = "[email protected]";
+
// Begin signup first
await testServer.inject({
method: "POST",