doing Minitest system tests in Capybara w/Cuprite but loosing current_user on form POSTs on Rails 7.2 w/TurboStream #2775
Unanswered
wdiechmann
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this may easily be just about the dumbest question - and switching to Cuprite (from Selenium) was a huge bone - but it did not solve my initial issue 😢 and I apologise if I'm addressing the wrong crowd [ed. perhaps this is a Cuprite question]
The controller is working (and I've tested all "manually" and it also works) and my tests are all green - except for this system test which "spans" a POST and reports the following on
SLOMO=0.5 CI=true rails test test/system/teams_test.rb
i've battled this all day with 20 tabs open on Google, going through every example I have been able to get my hands on - yet no one of them have thrusted me in the right direction -
(the index action requires the sign_in too and so does the /teams/new url which tells me that the sign_in works in teams_test.rb too)
with the controller teams#create looking like this
Beta Was this translation helpful? Give feedback.
All reactions