-
Notifications
You must be signed in to change notification settings - Fork 816
Open
Labels
enhancementNew feature requestNew feature request
Description
Problem: some things like the Oauth flow in inspector are challenging to test either manually or with unit tests, and need some form of integration and/or regression tests to ensure a stable experience.
Potential solutions: browser-based testing tools such as Playwright or Puppeteer could be a good fit for these types of tests.
Scope of this enhancement issue is to cover testing basic Oauth functionality in Inspector, since this has been one of the trickier areas. If this works well and proves to be maintainable we can add similar tests for other e2e scenarios.
Resources:
- https://www.testim.io/blog/how-to-test-oauth-authentication/ is a general guide on testing Oauth
- Recommendation from Max: AS- Keycloak has a docker container that could be useful for local testing. They have a feature where you can export or import the entire application state to a JSON file - so we just check in the JSON and then in CI whenever you spin up the server you can import it fresh. Makes it easy to have a repeatable set of clients / users.
- This server has been useful when doing manual testing: https://github.com/Azure-Samples/mcp-auth-servers/tree/main/src/github-app-session
CodyGaskin, Taytay and balajmarius
Metadata
Metadata
Assignees
Labels
enhancementNew feature requestNew feature request