Sha256: c248bd16fc630a0062c6cd4ee93ef20aabdce114393f245e4008bd06ce65b132

Contents?: true

Size: 694 Bytes

Versions: 4

Compression:

Stored size: 694 Bytes

Contents

Given /^I am on the accordion page$/ do
  visit AccordionPage
end

When /^I select the "([^"]*)" accordion element$/ do |label|
  on(AccordionPage).accordion.select label
end

Then /^the current accordion element should be "([^"]*)"$/ do |label|
  on(AccordionPage).accordion.selected.should == label
end

Then /^the accordion labels should include "([^"]*)"$/ do |label|
  on(AccordionPage).accordion.labels.should include label
end

Then /^the "([^"]*)" element should be selected$/ do |label|
  on(AccordionPage).accordion.selected?(label).should be_true
end

When /^the "([^"]*)" element should not be selected$/ do |label|
  on(AccordionPage).accordion.selected?(label).should be_false
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jqueryui_widgets-1.0 features/step_definitions/accordion_steps.rb
jqueryui_widgets-0.7.1 features/step_definitions/accordion_steps.rb
jqueryui_widgets-0.6 features/step_definitions/accordion_steps.rb
jqueryui_widgets-0.5 features/step_definitions/accordion_steps.rb