Skip to content
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

Explain how to use the testing backdoor outside of Rails routes #978

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pangolingo
Copy link

Some projects may want to use the backdoor, but may not be using Rails routes in their system tests. One example is an app that hosts a React frontend, but still uses Clearance cookies for auth. A system test with Capybara may visit a React route like this: visit "/payment_method".

The existing documentation didn't show how to use the backdoor with this kind of route.

pangolingo and others added 2 commits August 2, 2022 16:38
Some projects may want to use the backdoor, but may not be using Rails routes in their system tests. One example is an app that hosts a React frontend, but still uses Clearance cookies for auth. A system test with Capybara may visit a React route like this: `visit "/payment_method"`. 

The existing documentation didn't show how to use the backdoor with this kind of route.
@pangolingo pangolingo requested a review from sej3506 as a code owner May 8, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants