From 3d119e1550dee6a1aa8e30c533d7f71e2cf099c6 Mon Sep 17 00:00:00 2001 From: RustyNail Date: Fri, 14 Jun 2019 11:18:32 +0900 Subject: [PATCH] [rb] Add missing verification in timeout_spec.rb (#7287) * Add verification in 'should implicitly wait for a single element' --- rb/spec/integration/selenium/webdriver/timeout_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rb/spec/integration/selenium/webdriver/timeout_spec.rb b/rb/spec/integration/selenium/webdriver/timeout_spec.rb index f7255816aafde..b42daca0abb27 100644 --- a/rb/spec/integration/selenium/webdriver/timeout_spec.rb +++ b/rb/spec/integration/selenium/webdriver/timeout_spec.rb @@ -34,7 +34,7 @@ module WebDriver driver.manage.timeouts.implicit_wait = 6 driver.find_element(id: 'adder').click - driver.find_element(id: 'box0') + expect { driver.find_element(id: 'box0') }.not_to raise_error end it 'should still fail to find an element with implicit waits enabled' do