Sha256: e10027bdc5568b8004e06df878d189699b17ab3edb154a5ae021a2df7f13effe

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

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

Then(/^the text should be "(.*?)"$/) do |expected_text|
  expect(@text).to eql expected_text
end

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

When(/^I retrieve the div element$/) do
  @element = @page.div_id_div
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
druid-ts-0.0.1 features/step_definations/div_steps.rb