Sha256: 267842b0014215d0f23c73451157f185048fbdc5fe819c790cded143c631e022

Contents?: true

Size: 1.26 KB

Versions: 11

Compression:

Stored size: 1.26 KB

Contents

When /^I select the item with index "(.*?)" in the TreeView$/ do |which_index|
  on(MainScreen).tree_view = which_index.to_i
end

When /^I select the item "(.*?)" in the TreeView$/ do |expected_value|
  on(MainScreen).tree_view = expected_value
end

Then /^the selected TreeView value should be "(.*?)"$/ do |expected_value|
  on(MainScreen).tree_view.should eq expected_value
end

Then /^the available tree items should be:$/ do |tree_items|
  on(MainScreen).tree_view_items.should eq tree_items.rows.flatten
end

When /^I expand the tree item with index "(.*?)"$/ do |which_index|
  on(MainScreen).expand_tree_view_item which_index.to_i
end

When /^I expand the tree item "(.*?)"$/ do |which_item|
  on(MainScreen).expand_tree_view_item which_item
end

When /^I collapse the tree item with index "(.*?)"$/ do |which_index|      
  on(MainScreen).collapse_tree_view_item which_index.to_i
end                                                                 

When /^I collapse the tree item "(.*?)"$/ do |which_item|      
  on(MainScreen).collapse_tree_view_item which_item
end                                                                 

Then /^I am able to interact with the raw tree view$/ do
  on(MainScreen).tree_view_view.should be_visible
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mohawk-0.2.1 features/step_definitions/tree_view_steps.rb
mohawk-0.2 features/step_definitions/tree_view_steps.rb
mohawk-0.1.4 features/step_definitions/tree_view_steps.rb
mohawk-0.1.0 features/step_definitions/tree_view_steps.rb
mohawk-0.0.9 features/step_definitions/tree_view_steps.rb
mohawk-0.0.8 features/step_definitions/tree_view_steps.rb
mohawk-0.0.7 features/step_definitions/tree_view_steps.rb
mohawk-0.0.6 features/step_definitions/tree_view_steps.rb
mohawk-0.0.5 features/step_definitions/tree_view_steps.rb
mohawk-0.0.4 features/step_definitions/tree_view_steps.rb
mohawk-0.0.3 features/step_definitions/tree_view_steps.rb