Skip to content

Commit dd5b366

Browse files
committed
spec: Fix Safari
1 parent f000e7d commit dd5b366

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/runner.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
Selenium::WebDriver::Wait.new(timeout: 3000, interval: 30).until {
6666
print '.'
6767

68-
not browser['totals'].text.strip.empty?
68+
((not browser['totals'].text.strip.empty?) rescue false) &&
69+
(browser[css: '#duration strong'] rescue false)
6970
}
7071

7172
totals = browser['totals'].text

0 commit comments

Comments
 (0)