Skip to content

E2E Test Coverage: Missing email verification step in signup flow #4231

Description

@Ayush4958

Increasing Access

Ensuring that critical security and authentication flows, like email verification which are robustly tested prevents bugs that could lock users out of their accounts.

Feature enhancement details

The E2E test can sign up and verify email via the emailed link inside e2e/specs/signup.spec.ts currently tests the initial signup form submission and login redirect, but it stops short of actually verifying the email address.

There is an explicit TODO left in the code :-

// Successful signup logs the user in and redirects to the editor
await expect(page.locator('.editor-holder')).toBeVisible({
  timeout: 15_000
});
// TODO: on next PR, email verification

Because email verification is a critical part of the user authentication and onboarding flow, leaving this step untested means the application is vulnerable to regressions in the verification process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting Maintainer ApprovalNeeds review from a maintainer before moving forwardEnhancementImprovement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions