Skip to content

[E2E] Implement Automated Login and Dashboard Navigation Test #97

Description

@BeSovereign

Summary

Implement the core user journey: User arrives at landing page -> Redirected to Login -> Successful Auth -> Landing on Dashboard.

Technical Detail

  • Target App: web-terminal and signup.
  • Test File: tests/e2e/tests/auth-journey.spec.ts.

Implementation Path

  1. Landing Page: Assert that the main domain redirects to the login screen if unauthenticated.
  2. Identity Provider Mocking: If the system uses an external OIDC, ensure the test environment can handle the redirect or use a test-user with pre-seeded credentials in the database (reference freeshard/management_mock.py).
  3. Dashboard Assertions:
    • Wait for the web-terminal to load.
    • Assert presence of the App Store or Installed Apps section.
    • Verify that the sidebar/navigation elements are visible and interactive.

Acceptance

  • Test covers successful login.
  • Test covers failed login (wrong password).
  • Verified that the dashboard URL is reached after login.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions