-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Authenticate CypressOnRails commands #137
Comments
I do like the idea, also like that it does not tie the code to anyone authentication solution. A PR will be most Welcomed 👍🏽 |
Hi @grantspeelman , I am working with @RomainEndelin and taking over from where he left. We're glad the PR was merged, thank you so much 😄 We are wondering if a release is planned? We'd need a stable version with it so we can move forward with some of our work. Also I can help in releasing the gem if needed. |
released 👍🏽 |
@grantspeelman thank you for your quick reply and for the release! We are now using the new release successfully |
Would it be possible to perform authentication on CypressOnRails Commands?
There is a workaround: by injecting another middleware before
cypress_on_rails
, checking for the/__e2e__/command
route and performing authentication.But it would be great if we could configure it directly in Cypress On Rails 🙏 . One idea would be to accept a
before_request
block:This block would be executed as part of the CypressOnRails middleware.
If you like the idea, I'm happy to open a PR 🙂
The text was updated successfully, but these errors were encountered: