Last active
February 3, 2022 13:22
-
-
Save amicojeko/c6f68340de98beaa370a9fe8dc4fc502 to your computer and use it in GitHub Desktop.
waits for the turbo progress bar to show and disappear
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def wait_for_turbo | |
has_css?('.turbo-progress-bar', visible: true) | |
has_no_css?('.turbo-progress-bar') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment