Sha256: 7780f9992500bf8d8143d291376302d32c18ca2f118ef6c3b33f700e0cad8051
Contents?: true
Size: 360 Bytes
Versions: 25
Compression:
Stored size: 360 Bytes
Contents
Then %r/the (.+) element with the id (.+) should be visible/ do |elem, id| page.has_xpath?("//#{elem}[@id='#{id}']") && (page.should have_no_xpath("//#{elem}[@style='display:none' and @id='#{id}']")) end Then %r/the (.+) element with the id (.+) should not be visible/ do |elem, id| page.has_xpath?("//#{elem}[@style='display:none' and @id='#{id}']") end
Version data entries
25 entries across 25 versions & 2 rubygems