Sha256: ddcc8bef3b7e02736a0e265e44b3be90ec6209737e8f1d26c7594ef3b4b47c1a

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

When (/^the test needs to utilize the oath link$/) do
  step %{on the object test page}
  @link = @page.link_object(id: "oath")
end

When (/^the test needs to utilize the nostalgic button$/) do
  step %{on the object test page}
  @button = @page.button_object(value: "All Your Base Are Belong To Us")
end

When (/^the test needs to utilize the book summary text field$/) do
  step %{on the object test page}
  @text_field = @page.text_field_object(id: "bookSummaryID")
end

Then (/^the oath link can be referenced$/) do
  @link.should be_instance_of Symbiont::WebObjects::Link
end

Then (/^the oath link can be clicked$/) do
  @link.click
  step %{the first success page appears}
end

Then (/^the nostalgic button can be referenced$/) do
  @button.should be_instance_of Symbiont::WebObjects::Button
end

Then (/^the nostalgic button can be clicked$/) do
  @button.click
  step %{the first success page appears}
end

Then (/^the book summary text field can be referenced$/) do
  @text_field.should be_instance_of Symbiont::WebObjects::TextField
end

Then (/^the book summary text field can be set to "([^"]*)"$/) do |text|
  @text_field = text
end

Then (/^the book summary should be "([^"]*)"$/) do |text|
  @text_field.should == text
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
symbiont-0.1.7 specs/support/test_steps/action_steps_locators.rb
symbiont-0.1.6 specs/support/test_steps/action_steps_locators.rb
symbiont-0.1.5 specs/support/test_steps/action_steps_locators.rb
symbiont-0.1.4 specs/support/test_steps/action_steps_locators.rb
symbiont-0.1.3 specs/support/test_steps/action_steps_locators.rb
symbiont-0.1.2 specs/support/test_steps/action_steps_locators.rb