Sha256: 7c5d870e2cdfd31b597e804d1a97564942da5bd8a87ebc470a82c72de29915e8
Contents?: true
Size: 659 Bytes
Versions: 5
Compression:
Stored size: 659 Bytes
Contents
When (/^on the landing page$/) do @page = LandingPage.new(@browser, true) end When (/^on the object test page$/) do @page = SimpleObjectPage.new(@browser, true) end When (/^on the events test page$/) do @page = SimpleEventsPage.new(@browser, true) end Then (/^the simple object page appears$/) do title_text = "Simple Object Page | Test Application" @page.wait_for(3, "title should have been #{title_text}") do @page.title == title_text end end Then (/^the first success page appears$/) do title_text = "Success 1 | Test Application" @page.wait_for(3, "title should have been #{title_text}") do @page.title == title_text end end
Version data entries
5 entries across 5 versions & 1 rubygems