From 64cca544db00db8fecb16515873f8c1c6223ee2d Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 4 Apr 2017 09:04:03 -0400 Subject: use login page rather than top login [testing] --- qa/t/lib/QA/Util.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'qa/t/lib/QA') diff --git a/qa/t/lib/QA/Util.pm b/qa/t/lib/QA/Util.pm index 5734064c2..c22e7a435 100644 --- a/qa/t/lib/QA/Util.pm +++ b/qa/t/lib/QA/Util.pm @@ -155,10 +155,11 @@ sub go_to_home { sub log_in { my ($sel, $config, $user) = @_; - go_to_home($sel, $config); - $sel->type_ok("Bugzilla_login_top", $config->{"${user}_user_login"}, "Enter $user login name"); - $sel->type_ok("Bugzilla_password_top", $config->{"${user}_user_passwd"}, "Enter $user password"); - $sel->click_ok("log_in_top", undef, "Submit credentials"); + $sel->open_ok("/$config->{bugzilla_installation}/login", undef, "Go to the home page"); + $sel->title_is("Bugzilla Main Page"); + $sel->type_ok("Bugzilla_login", $config->{"${user}_user_login"}, "Enter $user login name"); + $sel->type_ok("Bugzilla_password", $config->{"${user}_user_passwd"}, "Enter $user password"); + $sel->click_ok("log_in", undef, "Submit credentials"); $sel->wait_for_page_to_load(WAIT_TIME); $sel->title_is("Bugzilla Main Page", "User is logged in"); } -- cgit v1.2.3-24-g4f1b