summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-04-04 15:04:03 +0200
committerDylan William Hardison <dylan@hardison.net>2017-04-04 15:07:14 +0200
commit64cca544db00db8fecb16515873f8c1c6223ee2d (patch)
tree6715234c544443fcb1d5f6b1f3203f3ef05e8268
parent9f9e989704b5274afba6a1de0b7bdcc6e7296314 (diff)
downloadbugzilla-64cca544db00db8fecb16515873f8c1c6223ee2d.tar.gz
bugzilla-64cca544db00db8fecb16515873f8c1c6223ee2d.tar.xz
use login page rather than top login [testing]
-rw-r--r--qa/t/lib/QA/Util.pm9
1 files changed, 5 insertions, 4 deletions
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");
}