You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to me that there is a missing wait_time=timeout argument to the code below.
@step(u'I should not see "{text}" within {timeout:d} seconds')
def should_not_see_within_timeout(context, text, timeout):
assert context.browser.is_text_not_present(text), u'Text was found'
The positive tests seems to be using it OK.
@step(u'I should see "{text}" within {timeout:d} seconds')
def should_see_within_timeout(context, text, timeout):
assert context.browser.is_text_present(text, wait_time=timeout), u'Text not found'
I've checked here that the wait_time can be used with the negative text present method.
It seems to me that there is a missing wait_time=timeout argument to the code below.
@step(u'I should not see "{text}" within {timeout:d} seconds')
def should_not_see_within_timeout(context, text, timeout):
assert context.browser.is_text_not_present(text), u'Text was found'
The positive tests seems to be using it OK.
@step(u'I should see "{text}" within {timeout:d} seconds')
def should_see_within_timeout(context, text, timeout):
assert context.browser.is_text_present(text, wait_time=timeout), u'Text not found'
I've checked here that the wait_time can be used with the negative text present method.
http://splinter.cobrateam.info/docs/matchers.html
The text was updated successfully, but these errors were encountered: