changed UI test
This commit is contained in:
parent
5b1c7d77c3
commit
f9f67391c2
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ class ExampleTest < Test::Unit::TestCase
|
||||||
element_password = browser.find_element :name => "password"
|
element_password = browser.find_element :name => "password"
|
||||||
element_password.send_keys "123456"
|
element_password.send_keys "123456"
|
||||||
element_password.submit
|
element_password.submit
|
||||||
browser.wait_for_page(3000)
|
browser.wait_for_page_load "3000"
|
||||||
assert_equal browser.current_url, "https://portal.znuny.com/#login"
|
assert_equal browser.current_url, "https://portal.znuny.com/#login"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ class ExampleTest < Test::Unit::TestCase
|
||||||
element_password = browser.find_element :name => "password"
|
element_password = browser.find_element :name => "password"
|
||||||
element_password.send_keys "090504"
|
element_password.send_keys "090504"
|
||||||
element_password.submit
|
element_password.submit
|
||||||
browser.wait_for_page(3000)
|
browser.wait_for_page_load "3000"
|
||||||
assert_equal browser.current_url, "https://portal.znuny.com/#ticket_view/my_tickets"
|
assert_equal browser.current_url, "https://portal.znuny.com/#ticket_view/my_tickets"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue