Sha256: 6feb4580dd4b223f621eeabcfe3098c776ef3a07e520d8d0cd97d347efbc5c09

Contents?: true

Size: 348 Bytes

Versions: 14

Compression:

Stored size: 348 Bytes

Contents

Given /^the textfield has the value "(.*?)"$/ do |value|
#  require "pry"; binding.pry
  @browser.text_field_fill_with(value)
  @value == value
end

When /^I ask for the "(.*?)" of it element$/ do |att|
  @text_value == @browser.text_field_get(att)
end

Then /^I should see the value of it$/ do
  @text_value.should == @value 
  @browser.close
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cello-0.0.35 features/step_definitions/html_attributes.rb
cello-0.0.34 features/step_definitions/html_attributes.rb
cello-0.0.33 features/step_definitions/html_attributes.rb
cello-0.0.32 features/step_definitions/html_attributes.rb
cello-0.0.31 features/step_definitions/html_attributes.rb
cello-0.0.30 features/step_definitions/html_attributes.rb
cello-0.0.29 features/step_definitions/html_attributes.rb
cello-0.0.28 features/step_definitions/html_attributes.rb
cello-0.0.27 features/step_definitions/html_attributes.rb
cello-0.0.26 features/step_definitions/html_attributes.rb
cello-0.0.25 features/step_definitions/html_attributes.rb
cello-0.0.23 features/step_definitions/html_attributes.rb
cello-0.0.21 features/step_definitions/html_attributes.rb
cello-0.0.19 features/step_definitions/html_attributes.rb