Sha256: aa659cc1baf91b64cf86f58bd2a436cf1f5741e08f68bf75fb2b7dd99a9e6e12

Contents?: true

Size: 843 Bytes

Versions: 15

Compression:

Stored size: 843 Bytes

Contents

When(/^I retrieve the hidden field element$/) do
  @element = @page.hidden_field_id_element
end

Then(/^I should see the hidden field contains "(.*?)"$/) do |text|
  expect(@page.hidden_field_id).to eql text
end

When(/^I locate the hidden field by "(.*?)"$/) do |how|
  @element = @page.send "hidden_field_#{how}_element".to_sym
end

Then(/^hidden field element should contains "(.*?)"$/) do |text|
  expect(@element.value).to eql text
end

When(/^I search for the hidden field by "(.*?)" and "(.*?)"$/) do |param1, param2|
  @element = @page.send "hidden_field_#{param1}_#{param2}_element".to_sym
end

When(/^I find a hidden field while the script is executing$/) do
  @element = @page.hidden_field_element(:id => "hidden_field_id")
end

Then(/^I should see that the hidden field exists$/) do
  expect(@page.hidden_field_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/hidden_field_steps.rb
druid-ts-1.2.6 features/step_definations/hidden_field_steps.rb
druid-ts-1.2.5 features/step_definations/hidden_field_steps.rb
druid-ts-1.2.4 features/step_definations/hidden_field_steps.rb
druid-ts-1.2.3 features/step_definations/hidden_field_steps.rb
druid-ts-1.2.2 features/step_definations/hidden_field_steps.rb
druid-ts-1.2.1 features/step_definations/hidden_field_steps.rb
druid-ts-1.2.0 features/step_definations/hidden_field_steps.rb
druid-ts-1.1.8 features/step_definations/hidden_field_steps.rb
druid-ts-1.1.7 features/step_definations/hidden_field_steps.rb
druid-ts-1.1.6 features/step_definations/hidden_field_steps.rb
druid-ts-1.1.5 features/step_definations/hidden_field_steps.rb
druid-ts-1.1.4 features/step_definations/hidden_field_steps.rb
druid-ts-1.1.3 features/step_definations/hidden_field_steps.rb
druid-ts-1.1.2 features/step_definations/hidden_field_steps.rb