Skip to content

[FEATURE]: Implement Authentication Flow Playwright #1966

@Arpit529Srivastava

Description

@Arpit529Srivastava

Problem or Use Case

Implement end-to-end tests for the authentication flow in KubeStellar UI using the existing Playwright infrastructure.

Proposed Solution

This issue focuses on testing the login functionality and authentication-related features:

Test Coverage

  • Login page loads correctly (/login)
  • Login form validation (empty fields, invalid format)
  • Successful login with valid credentials
  • Failed login with invalid credentials
  • Error message display for failed attempts
  • Redirect to dashboard after successful login
  • Session persistence across page refreshes
  • Logout functionality

Are you willing to contribute?

  • Yes, I'd like to help implement this feature.

Additional Context

Acceptance Criteria

  • All authentication scenarios are covered
  • Tests run successfully in CI environment
  • Tests are stable and not flaky
  • Page Object Model pattern is used
  • Tests work across all configured browsers

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions