Sha256: 117e82f7b1419ea70e86cd8b2e3b6fc02af2ccf75b2a9b8cbd2a0b73b9e2036a

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

And(/^I wait for url to contain a sub string$/) do
  wo = WebObjectFormPage.new(@driver)
  wo.wait_for_url("contain", "newly_appended")
end

And(/^I wait for url to update$/) do
  wo = WebObjectFormPage.new(@driver)
  wo.wait_for_url("match", @base_url+"#newly_appended")
end

Then(/^I verify newly updated url$/) do
  expect(@driver.current_url).to include("#newly_appended")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
web-object-0.5 features/step_definitions/url_steps.rb
web-object-0.4 features/step_definitions/url_steps.rb