• Mark Lapierre's avatar
    Wait and retry if `Retry later` error appears · 2a57717a
    Mark Lapierre authored
    The error appears when accessing protected paths, most frequently
    when signing in or signing out. This detects the error when visiting
    those pages, and waits for 60 seconds before refreshing. This
    process repeats, adding 60 seconds each time.
    
    To prevent running indefinitely, it allows the test to fail after
    5 attempts.
    2a57717a
spec_helper.rb 2.31 KB