Sha256: fe2acbc8914f4a9ddaf08b49515ed59596216fd2477d2699760401cdab9ce35c

Contents?: true

Size: 251 Bytes

Versions: 15

Compression:

Stored size: 251 Bytes

Contents

When /I click on the tab "([^"]*)"/ do |tab|
  page.execute_script("$('a[href=\"##{tab.strip}\"]').click()")
end

When /I click on the (\d+)(?:st|nd|rd|th) link of a tab "([^"]*)"/ do |pos, tab|
  find(:xpath, "id('#{tab}')//a[#{pos.to_i}]").click
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
voluntary-0.5.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.4.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.3.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.2.4 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.2.3 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.2.2 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.2.1 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.2.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.1.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.1.0.rc4 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.1.0.rc3 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.1.0.rc2 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.1.0.rc1 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.0.3 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
voluntary-0.0.2 lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb