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

Version Path
site_logic-1.9.13 features/step_definitions/general_steps.rb
site_logic-1.9.12 features/step_definitions/general_steps.rb
site_logic-1.9.11 features/step_definitions/general_steps.rb
site_logic-1.9.10 features/step_definitions/general_steps.rb
site_logic-1.9.9 features/step_definitions/general_steps.rb
site_logic-1.9.8 features/step_definitions/general_steps.rb
site_logic-1.9.7 features/step_definitions/general_steps.rb
site_logic-1.9.6 features/step_definitions/general_steps.rb
ppc_logic-0.8.2 features/step_definitions/general_steps.rb
ppc_logic-0.8.1 features/step_definitions/general_steps.rb
site_logic-1.9.5 features/step_definitions/general_steps.rb
site_logic-1.9.4 features/step_definitions/general_steps.rb
site_logic-1.9.3 features/step_definitions/general_steps.rb
ppc_logic-0.8.0 features/step_definitions/general_steps.rb
site_logic-1.9.2 features/step_definitions/general_steps.rb
site_logic-1.9.1 features/step_definitions/general_steps.rb
site_logic-1.9.0 features/step_definitions/general_steps.rb
site_logic-1.8.0 features/step_definitions/general_steps.rb
site_logic-1.7.1 features/step_definitions/general_steps.rb
site_logic-1.7.0 features/step_definitions/general_steps.rb