changed wrong identifier
This commit is contained in:
parent
48e43667f5
commit
7c285115ac
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class ExampleTest < Test::Unit::TestCase
|
||||||
element_password.send_keys "123456"
|
element_password.send_keys "123456"
|
||||||
element_password.submit
|
element_password.submit
|
||||||
wait = Selenium::WebDriver::Wait.new(:timeout => 10) # seconds
|
wait = Selenium::WebDriver::Wait.new(:timeout => 10) # seconds
|
||||||
wait.until { driver.find_element(:id => "app") }
|
wait.until { browser.find_element(:id => "app") }
|
||||||
assert_equal browser.current_url, "https://portal.znuny.com/#login"
|
assert_equal browser.current_url, "https://portal.znuny.com/#login"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ class ExampleTest < Test::Unit::TestCase
|
||||||
element_password.send_keys "090504"
|
element_password.send_keys "090504"
|
||||||
element_password.submit
|
element_password.submit
|
||||||
wait = Selenium::WebDriver::Wait.new(:timeout => 10) # seconds
|
wait = Selenium::WebDriver::Wait.new(:timeout => 10) # seconds
|
||||||
wait.until { driver.find_element(:id => "app") }
|
wait.until { browser.find_element(:id => "app") }
|
||||||
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