I am using Ruby on Rails with Cucumber and Capybara. How would I go about testing a simple confirm command (\"Are you sure?\")?
My system tests are experiencing a race condition leading to inconsistent test results. Sometimes the turbo frame is updated before my assertion (test passes) and sometimes afterward (test fails).