fixed UI test
This commit is contained in:
parent
05ab87ea03
commit
16b20e1386
1 changed files with 5 additions and 0 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue