Speed up waiting for elements not present on remote webdriver sessions.

This commit is contained in:
Jay Zoldak
2013-09-19 11:51:34 -04:00
parent 20ea28748b
commit 002f3ef9e2
4 changed files with 18 additions and 8 deletions

View File

@@ -109,7 +109,7 @@ def i_see_my_subsection_name_with_quote_on_the_courseware_page(step):
@step('the subsection does not exist$')
def the_subsection_does_not_exist(step):
css = 'span.subsection-name'
assert world.browser.is_element_not_present_by_css(css)
assert world.is_css_not_present(css)
@step('I see the subsection release date is ([0-9/-]+)( [0-9:]+)?')