@@ -158,7 +158,7 @@ def testExpectedConditionTitleIs(driver, pages):
158158 pages .load ("blank.html" )
159159 WebDriverWait (driver , 1 ).until (EC .title_is ("blank" ))
160160 driver .execute_script ("setTimeout(function(){document.title='not blank'}, 200)" )
161- WebDriverWait (driver , 1 ).until (EC .title_is ("not blank" ))
161+ WebDriverWait (driver , 2 ).until (EC .title_is ("not blank" ))
162162 assert driver .title == 'not blank'
163163 with pytest .raises (TimeoutException ):
164164 WebDriverWait (driver , 0.7 ).until (EC .title_is ("blank" ))
@@ -258,7 +258,7 @@ def testExpectedConditionElementToBeClickable(driver, pages):
258258 with pytest .raises (TimeoutException ):
259259 WebDriverWait (driver , 0.7 ).until (EC .element_to_be_clickable ((By .ID , 'clickToHide' )))
260260 driver .execute_script ("delayedShowHide(200, true)" )
261- WebDriverWait (driver , 0.7 ).until (EC .element_to_be_clickable ((By .ID , 'clickToHide' )))
261+ WebDriverWait (driver , 2 ).until (EC .element_to_be_clickable ((By .ID , 'clickToHide' )))
262262 element = driver .find_element (By .ID , 'clickToHide' )
263263 element .click ()
264264 WebDriverWait (driver , 4.5 ).until (EC .invisibility_of_element_located ((By .ID , 'clickToHide' )))
0 commit comments