-
Notifications
You must be signed in to change notification settings - Fork 614
[BUG][TESTING]: Playwright tests not updated to use admin email/password login credentials #2136
Copy link
Copy link
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workingSomething isn't workingcicdIssue with CI/CD process (GitHub Actions, scaffolding)Issue with CI/CD process (GitHub Actions, scaffolding)playwrightAutomated UI testing with playwrightAutomated UI testing with playwrighttestingTesting (unit, e2e, manual, automated, etc)Testing (unit, e2e, manual, automated, etc)uiUser InterfaceUser Interface
Milestone
Description
🐞 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
- Run Playwright UI tests
- Tests fail at login/authentication step
- 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workingSomething isn't workingcicdIssue with CI/CD process (GitHub Actions, scaffolding)Issue with CI/CD process (GitHub Actions, scaffolding)playwrightAutomated UI testing with playwrightAutomated UI testing with playwrighttestingTesting (unit, e2e, manual, automated, etc)Testing (unit, e2e, manual, automated, etc)uiUser InterfaceUser Interface