Skip to content

[BUG][TESTING]: Playwright tests not updated to use admin email/password login credentials #2136

@jonpspri

Description

@jonpspri

🐞 Bug Summary

The existing Playwright tests have not been updated to use Admin Email and Admin Password as login credentials. The test fixtures still use outdated authentication methods, which prevents the UI tests from running successfully against the current authentication system.

Fixing the test fixtures is foundational to continuing UI testing efforts.


🧩 Affected Component

  • mcpgateway - UI (admin panel)
  • Other (explain below)

Playwright test fixtures and authentication helpers.


🔁 Steps to Reproduce

  1. Run Playwright UI tests
  2. Tests fail at login/authentication step
  3. Observe that fixtures are not using current Admin Email/Password credential flow

🤔 Expected Behavior

Playwright test fixtures should:

  • Use Admin Email and Admin Password for authentication
  • Successfully log in to the admin panel
  • Allow UI tests to proceed with authenticated sessions

📓 Logs / Error Output

Tests fail during authentication phase due to credential/login flow mismatch.


🧠 Environment Info

Key Value
Affected tests Playwright UI tests
Component Test fixtures

🧩 Additional Context (optional)

Related to #255.

This is a blocking issue for UI test development. The fixture updates should align with the current email-based authentication system used by the admin panel.

Metadata

Metadata

Assignees

Labels

MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workingcicdIssue with CI/CD process (GitHub Actions, scaffolding)playwrightAutomated UI testing with playwrighttestingTesting (unit, e2e, manual, automated, etc)uiUser Interface

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions