fixed UI test

This commit is contained in:
roy 2012-11-12 20:18:34 +01:00
parent 05ab87ea03
commit 16b20e1386

View file

@ -16,6 +16,11 @@ class ExampleTest < Test::Unit::TestCase
browser.quit browser.quit
end end
def test_first_page
browser.get "http://portal.znuny.com/"
puts browser.url
end
def test_page_search def test_page_search
browser.get "http://www.google.com" browser.get "http://www.google.com"
puts "Page title is #{browser.title}" puts "Page title is #{browser.title}"