From f9f67391c26b945b517f69dca55e61fe46f09a25 Mon Sep 17 00:00:00 2001 From: roy Date: Tue, 13 Nov 2012 15:17:45 +0100 Subject: [PATCH] changed UI test --- test/ui_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ui_test.rb b/test/ui_test.rb index d82ffbb71..7a09a79d4 100644 --- a/test/ui_test.rb +++ b/test/ui_test.rb @@ -28,7 +28,7 @@ class ExampleTest < Test::Unit::TestCase element_password = browser.find_element :name => "password" element_password.send_keys "123456" element_password.submit - browser.wait_for_page(3000) + browser.wait_for_page_load "3000" assert_equal browser.current_url, "https://portal.znuny.com/#login" end @@ -39,7 +39,7 @@ class ExampleTest < Test::Unit::TestCase element_password = browser.find_element :name => "password" element_password.send_keys "090504" 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" end end