Sha256: f5c277583390e6675ffaaf8e93498e6ee6125f1164b278736ef73fe73bc5b4e1

Contents?: true

Size: 594 Bytes

Versions: 15

Compression:

Stored size: 594 Bytes

Contents

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

When(/^I locate the span by "(.*?)"$/) do |how|
  @text = @page.send "span_#{how}".to_sym
end

When(/^I retrieve a span element$/) do
  @element = @page.span_id_element
end

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

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

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

Version data entries

15 entries across 15 versions & 2 rubygems

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