diff options
author | David Lawrence <dkl@mozilla.com> | 2016-09-01 00:59:48 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-09-01 01:00:15 +0200 |
commit | bdf67f76290f43cd9ea22a872d6db86c272343d5 (patch) | |
tree | a94e6ea02bb8a6f07ca76f7db6135470ff5ea343 /xt/selenium/user_groups.t | |
parent | a5e4ef4e85a1dfa79123c7f9c441a9d469442318 (diff) | |
download | bugzilla-bdf67f76290f43cd9ea22a872d6db86c272343d5.tar.gz bugzilla-bdf67f76290f43cd9ea22a872d6db86c272343d5.tar.xz |
- Selenium test script fixes to work with recent email/login changes
Diffstat (limited to 'xt/selenium/user_groups.t')
-rw-r--r-- | xt/selenium/user_groups.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xt/selenium/user_groups.t b/xt/selenium/user_groups.t index ef907f68c..563dcd6b7 100644 --- a/xt/selenium/user_groups.t +++ b/xt/selenium/user_groups.t @@ -67,7 +67,7 @@ $sel->title_is('Search users'); $sel->click_ok('link=add a new user'); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is('Add user'); -$sel->type_ok('login', 'master@selenium.bugzilla.org'); +$sel->type_ok('email', 'master@selenium.bugzilla.org'); $sel->type_ok('name', 'master-user'); $sel->type_ok('password', 'selenium', 'Enter password'); $sel->type_ok('disabledtext', 'Not for common usage'); @@ -83,7 +83,7 @@ $sel->is_text_present_ok('The account has been added to the Master group'); $sel->click_ok("link=add a new user"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is('Add user'); -$sel->type_ok('login', 'slave@selenium.bugzilla.org'); +$sel->type_ok('email', 'slave@selenium.bugzilla.org'); $sel->type_ok('name', 'slave-user'); $sel->type_ok('password', 'selenium', 'Enter password'); $sel->type_ok('disabledtext', 'Not for common usage'); @@ -99,7 +99,7 @@ $sel->is_text_present_ok('The account has been added to the Slave group'); $sel->click_ok("link=add a new user"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is('Add user'); -$sel->type_ok('login', 'reg@selenium.bugzilla.org'); +$sel->type_ok('email', 'reg@selenium.bugzilla.org'); $sel->type_ok('name', 'reg-user'); $sel->type_ok('password', 'selenium', 'Enter password'); $sel->type_ok('disabledtext', 'Not for common usage'); @@ -216,7 +216,7 @@ sub cleanup_users { $sel->click_ok("link=$login"); $sel->wait_for_page_to_load_ok(WAIT_TIME); - $sel->title_is("Edit user ${user}-user <$login>"); + $sel->title_is("Edit user ${user}-user ($login)"); $sel->click_ok("delete"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Confirm deletion of user $login"); |