feat: Update UI of signup / login pages (#16710)

* update UI of signup, login pages

* remove disabled state from google sign-in

* Put isGoogleLoginEnabled to its place + fix displaySignupForm default value

* Rename Signup flow test -> Email Signup flow test

* add data-testid to continue with email button

* completely decouble formMethods values from google sign in

* fix

* refactor

* add signup page test

* revert yarn.lock

* fix e2e test

* add saml in signup

* add saml in signin

* revert

* remove space
This commit is contained in:
Benny Joo authored and GitHub committed 2024-09-24 02:27:57 +09:00
1 parent 0eabe7f28b
commit b879aeef09
6 files changed
+330 -230

No files matched your search

@@ -296,6 +296,8 @@ 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('[data-testid="continue-with-email-button"]')).toBeVisible();
await page.locator('[data-testid="continue-with-email-button"]').click();
await expect(page.locator("text=Create your account")).toBeVisible();
const usernameInput = page.locator('input[name="username"]');
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion