mcp-context-forge
mcp-context-forge copied to clipboard
Pytest example creds
๐ Summary
Ensures that playwright tests and (maybe additionally unit tests) run with the right login credentials.
๐ Reproduction Steps
#255 [CHORE]: Implement comprehensive Playwright test automation for the entire MCP Gateway Admin UI with Makefile targets and GitHub Actions
๐ Root Cause
Playwright tests would not run because login credentials were not being pulled from settings.py
๐ก Fix Description
Added reference to settings.py credentials to admin_page fixture in conftest.py
๐งช Verification
| Check | Command | Status |
|---|---|---|
| Lint suite | make lint |
passed |
| Unit tests | make test |
2 / 4000 failed (other mcp-gateway unit test 401 unauthorized |
| may need fixing using second ticket | ||
| Coverage โฅ 90 % | make coverage |
2196 failed |
| Manual regression no longer fails | steps / screenshots | 1657 passed, 183 skipped |
| 2114 warnings, 102 errors | ||