diff --git a/apps/web/playwright/organization/organization-invitation.e2e.ts b/apps/web/playwright/organization/organization-invitation.e2e.ts
index 79c4bee5d9e3f8..70ab68dd458ad0 100644
--- a/apps/web/playwright/organization/organization-invitation.e2e.ts
+++ b/apps/web/playwright/organization/organization-invitation.e2e.ts
@@ -297,8 +297,7 @@ test.describe("Organization", () => {
await test.step("Signing up with the previous username of the migrated user - shouldn't be allowed", async () => {
await page.goto("/signup");
await expect(page.locator("text=Create your account")).toBeVisible();
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
await page.locator('input[name="username"]').fill(existingUser.username!);
await page
diff --git a/apps/web/playwright/signup.e2e.ts b/apps/web/playwright/signup.e2e.ts
index 19e9f6a4c98d6a..348994717c6dc7 100644
--- a/apps/web/playwright/signup.e2e.ts
+++ b/apps/web/playwright/signup.e2e.ts
@@ -10,27 +10,7 @@ import { expectInvitationEmailToBeReceived } from "./team/expects";
test.describe.configure({ mode: "parallel" });
-test.describe("Signup Main Page Test", async () => {
- test.beforeEach(async ({ features }) => {
- features.reset();
- });
-
- test("Continue with email button must exist / work", async ({ page }) => {
- await page.goto("/signup");
- await expect(page.locator("text=Create your account")).toBeVisible();
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
- });
-
- test("Continue with google button must exist / work", async ({ page }) => {
- await page.goto("/signup");
- await expect(page.locator('[data-testid="continue-with-google-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-google-button"]').click();
- await page.waitForURL("/auth/sso/google");
- });
-});
-
-test.describe("Email Signup Flow Test", async () => {
+test.describe("Signup Flow Test", async () => {
test.beforeEach(async ({ features }) => {
features.reset(); // This resets to the inital state not an empt yarray
});
@@ -46,8 +26,6 @@ test.describe("Email Signup Flow Test", async () => {
await page.goto("/signup");
await expect(page.locator("text=Create your account")).toBeVisible();
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
const alertMessage = "Username or email is already taken";
@@ -74,9 +52,8 @@ test.describe("Email Signup Flow Test", async () => {
});
await page.goto("/signup");
+
await expect(page.locator("text=Create your account")).toBeVisible();
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
const alertMessage = "Username or email is already taken";
@@ -108,8 +85,6 @@ test.describe("Email Signup Flow Test", async () => {
// Signup with premium username name
await page.goto("/signup");
await expect(page.locator("text=Create your account")).toBeVisible();
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
// Fill form
await page.locator('input[name="username"]').fill("rock");
@@ -138,8 +113,6 @@ test.describe("Email Signup Flow Test", async () => {
await page.goto("/signup");
await expect(page.locator("text=Create your account")).toBeVisible();
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
// Fill form
await page.locator('input[name="username"]').fill(userToCreate.username);
@@ -159,8 +132,6 @@ test.describe("Email Signup Flow Test", async () => {
const signupUrlWithParams = "/signup?username=rick-jones&email=rick-jones%40example.com";
await page.goto(signupUrlWithParams);
await expect(page.locator("text=Create your account")).toBeVisible();
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
// Fill form
const usernameInput = page.locator('input[name="username"]');
@@ -242,8 +213,6 @@ test.describe("Email Signup Flow Test", async () => {
await page.goto("/signup");
await expect(page.locator("text=Create your account")).toBeVisible();
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
// Fill form
await page.locator('input[name="username"]').fill(userToCreate.username);
@@ -314,8 +283,7 @@ test.describe("Email Signup Flow Test", async () => {
const url = new URL(newPage.url());
expect(url.pathname).toBe("/signup");
- await expect(page.locator('[data-testid="continue-with-email-button"]')).toBeVisible();
- await page.locator('[data-testid="continue-with-email-button"]').click();
+
// Check required fields
await newPage.locator("input[name=password]").fill(`P4ssw0rd!`);
await newPage.locator("button[type=submit]").click();
diff --git a/apps/web/public/google-icon-colored.svg b/apps/web/public/google-icon-colored.svg
deleted file mode 100644
index 3f8813d5cafd37..00000000000000
--- a/apps/web/public/google-icon-colored.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
\ No newline at end of file
diff --git a/packages/features/auth/SAMLLogin.tsx b/packages/features/auth/SAMLLogin.tsx
index e8931fcd8f9cf7..b5c196bf04d716 100644
--- a/packages/features/auth/SAMLLogin.tsx
+++ b/packages/features/auth/SAMLLogin.tsx
@@ -4,7 +4,7 @@ import { useFormContext } from "react-hook-form";
import z from "zod";
import { HOSTED_CAL_FEATURES } from "@calcom/lib/constants";
-import { useLastUsed } from "@calcom/lib/hooks/useLastUsed";
+import { LastUsed, useLastUsed } from "@calcom/lib/hooks/useLastUsed";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { trpc } from "@calcom/trpc/react";
import { Button } from "@calcom/ui";
@@ -36,9 +36,10 @@ export function SAMLLogin({ samlTenantID, samlProductID, setErrorMessage }: Prop
return (
);
}