Sha256: 47014eacee7b6353e0b9eafaecc114f9e1e7d0642a8eff6f46cccd57eaee29ee

Contents?: true

Size: 536 Bytes

Versions: 14

Compression:

Stored size: 536 Bytes

Contents

When(/^I get the text from the label$/) do
  @text = @page.label_id
end

When(/^I search for the label by "([^"]*)"$/) do |how|
  @text = @page.send "label_#{how}".to_sym
end

When(/^I search for the label by "([^"]*)" and "([^"]*)"$/) do |param1, param2|
  @text = @page.send "label_#{param1}_#{param2}".to_sym
end

When(/^I get the text from a label while the script is executing$/) do
  @text = @page.label_element(:id => 'label_id').text
end

Then(/^I should see that the label exists$/) do
  expect(@page.label_id?).to be true
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/label_steps.rb
druid-ts-1.2.6 features/step_definations/label_steps.rb
druid-ts-1.2.5 features/step_definations/label_steps.rb
druid-ts-1.2.4 features/step_definations/label_steps.rb
druid-ts-1.2.3 features/step_definations/label_steps.rb
druid-ts-1.2.2 features/step_definations/label_steps.rb
druid-ts-1.2.1 features/step_definations/label_steps.rb
druid-ts-1.2.0 features/step_definations/label_steps.rb
druid-ts-1.1.8 features/step_definations/label_steps.rb
druid-ts-1.1.7 features/step_definations/label_steps.rb
druid-ts-1.1.6 features/step_definations/label_steps.rb
druid-ts-1.1.5 features/step_definations/label_steps.rb
druid-ts-1.1.4 features/step_definations/label_steps.rb
druid-ts-1.1.3 features/step_definations/label_steps.rb