diff options
author | Byron Jones <glob@mozilla.com> | 2015-07-27 10:26:08 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-07-27 10:26:08 +0200 |
commit | 5f0d26158234f1a7b960215e03b19441a7f85721 (patch) | |
tree | e44ba19f9b679271161f5cfd80617210ed01608a /qa/t | |
parent | 9ac34b960b8266bcbf1eb438a2cd3fef383bc849 (diff) | |
download | bugzilla-5f0d26158234f1a7b960215e03b19441a7f85721.tar.gz bugzilla-5f0d26158234f1a7b960215e03b19441a7f85721.tar.xz |
Bug 1171806 - add the ability for a user to disable/"remove" their own account (update more test scripts)
Diffstat (limited to 'qa/t')
-rw-r--r-- | qa/t/test_user_preferences.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qa/t/test_user_preferences.t b/qa/t/test_user_preferences.t index d4161a6f6..0ad6a9018 100644 --- a/qa/t/test_user_preferences.t +++ b/qa/t/test_user_preferences.t @@ -41,6 +41,9 @@ $sel->title_is("Default Preferences"); $sel->click_ok("link=Preferences"); $sel->wait_for_page_to_load(WAIT_TIME); $sel->title_is("User Preferences"); +$sel->click_ok("link=General Preferences"); +$sel->wait_for_page_to_load_ok(WAIT_TIME); +$sel->title_is("User Preferences"); ok(!$sel->is_editable("skin"), "The 'skin' user preference is not editable"); $sel->select_ok("state_addselfcc", "label=Site Default (Never)"); $sel->select_ok("post_bug_submit_action", "label=Site Default (Show the updated bug)"); @@ -168,6 +171,9 @@ log_in($sel, $config, 'unprivileged'); $sel->click_ok("link=Preferences"); $sel->wait_for_page_to_load(WAIT_TIME); $sel->title_is("User Preferences"); +$sel->click_ok("link=General Preferences"); +$sel->wait_for_page_to_load_ok(WAIT_TIME); +$sel->title_is("User Preferences"); ok(!$sel->is_editable("skin"), "The 'skin' user preference is not editable"); $sel->select_ok("state_addselfcc", "label=Always"); $sel->select_ok("post_bug_submit_action", "label=Show next bug in my list"); |