Sha256: 3857fb4f5affb7a348cde1e01301866dbd4aff360b4d9b8509a3f770d6570121

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

When (/^performing a successful action on the object test page$/) do
  step %{on the object test page}
  @page.clickmeID
end

When (/^the conditional button is hidden$/) do
  @page.hideButton
end

When (/^the conditional button is revealed$/) do
  @page.revealButton
end

When (/^the conditional button on the events test page is invisible$/) do
  step %{on the events test page}
  step %{the conditional button is hidden}
end

Then (/^the test should wait for a success page$/) do
  @page.wait_for(10, "success page did not come up in time") do
    @page.text.include? 'Success'
  end
end

Then (/^the conditional button can be clicked$/) do
  @page.conditional
end

Then (/^the test will wait until the conditional button is invisible$/) do
  @page.conditional_button.when_not_visible
end

Then (/^after that time the conditional button should not be visible$/) do
  @page.conditional_visible?.should == false
end

Then (/^the test will wait until the conditional button is visible before clicking it$/) do
  @page.conditional_button.when_visible
  @page.conditional
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
symbiont-0.1.1 specs/support/test_steps/action_steps_events.rb