Skip to content

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
@FerPerales
Copy link
Member

@pangolingo thanks for your contribution! I'll double check that this works with the latest version and will merge or ask for an update accordingly!

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.

3 participants