Sha256: da7ef3fc1f6ae581d029c10198606d5f336c2c57259ec585a3e9146bc46e3b6d
Contents?: true
Size: 506 Bytes
Versions: 17
Compression:
Stored size: 506 Bytes
Contents
def success end Then /^I should be able to wait until it is present$/ do @element.when_present do success end end Then /^I should be able to wait until it is visible$/ do @element.when_visible do success end end Then /^I should be able to wait until it is not visible$/ do begin @element.when_not_visible do fail end rescue success end end Then /^I should be able to wait until a block returns true$/ do @element.wait_until do @element.visible? end end
Version data entries
17 entries across 17 versions & 1 rubygems