diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-04-04 15:04:03 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-04-04 15:07:14 +0200 |
commit | 64cca544db00db8fecb16515873f8c1c6223ee2d (patch) | |
tree | 6715234c544443fcb1d5f6b1f3203f3ef05e8268 /qa/t/lib | |
parent | 9f9e989704b5274afba6a1de0b7bdcc6e7296314 (diff) | |
download | bugzilla-64cca544db00db8fecb16515873f8c1c6223ee2d.tar.gz bugzilla-64cca544db00db8fecb16515873f8c1c6223ee2d.tar.xz |
use login page rather than top login [testing]
Diffstat (limited to 'qa/t/lib')
-rw-r--r-- | qa/t/lib/QA/Util.pm | 9 |
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"); } |