-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Descope Testing Strategies Guide #5368
base: main
Are you sure you want to change the base?
Descope Testing Strategies Guide #5368
Conversation
👷 Deploy request for cypress-docs pending review.Visit the deploys page to approve it
|
|
✅ Deploy Preview for benevolent-cat-040f48 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hey @nagash77 ! Could this PR get reassigned a reviewer? Thanks! |
Thank you for the contribution @allenzhou101! We'll want to install, configure and test everything in order to assert everything works as expected given this could be first class integration documentation. Right now we don’t have the time to put into reviewing and evaluating the changes proposed but we'll keep this open for when more bandwidth is available. |
Thanks for the explanation @nagash77 ! Really appreciate all the great work y'all are doing at Cypress. Would love to help smooth out the process in whatever way possible. Would it help if I included a video tutorial or demo of installation and setup? |
@jaffrepaul We're seeing quite a few of our customers at Descope interested in Cypress and would love to be able to reference this documentation. Do you happen to have an update on review timeline? |
docs/guides/end-to-end-testing/testing-strategies/descope-authentication.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would need to be moved to docs/app/end-to-end-testing due to repo reorganization
@MikeMcC399 Sounds good, thanks! We'll refactor and get things situated in the next week or two. |
@MikeMcC399 Moved the guide into the App folder. Since it's an Authentication guide, it's now at app/guides/authentication-testing. Should be good for review! |
This PR is focused on improving the documentation related to end-to-end (E2E) testing with Cypress and Descope. It introduces a new guide titled "Descope Authentication," which provides comprehensive instructions on how to integrate Descope with a Cypress testing suite.
The guide is split into several sections, each one targeting a different aspect of the integration:
Descope Application Setup: Step-by-step instructions to set up Descope in the project's Descope Dashboard.
Setting Descope app credentials in Cypress: Explains how to configure Cypress to use the Descope environment variables.
Custom Command for Descope Authentication: Provides detailed instructions and code examples for creating Cypress custom commands to authenticate with Descope, including both UI login and programmatic login.
Login with UI: Instructions and a code example showing how to login via the user interface, using the Test User Management API.
Programmatic Login: A guide and code example demonstrating how to create a Cypress command to login programmatically, using the Test User Management API and local storage.