diff options
-rw-r--r-- | qa/t/test_qa_contact.t | 3 | ||||
-rw-r--r-- | qa/t/test_security.t | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/qa/t/test_qa_contact.t b/qa/t/test_qa_contact.t index 1de131861..66bcb74ab 100644 --- a/qa/t/test_qa_contact.t +++ b/qa/t/test_qa_contact.t @@ -129,6 +129,9 @@ log_in($sel, $config, 'unprivileged'); $sel->click_ok("link=Preferences"); $sel->wait_for_page_to_load_ok(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"); $sel->select_ok("state_addselfcc", "value=never"); $sel->select_ok("post_bug_submit_action", "value=same_bug"); $sel->click_ok("update"); diff --git a/qa/t/test_security.t b/qa/t/test_security.t index 42ec304e0..7ff0152be 100644 --- a/qa/t/test_security.t +++ b/qa/t/test_security.t @@ -88,7 +88,7 @@ my $editbugs_cookie = $sel->get_value("token"); # Using our own unused token is fine. -$sel->open_ok("/$urlbase/userprefs.cgi?dosave=1&display_quips=off&token=$editbugs_cookie"); +$sel->open_ok("/$urlbase/userprefs.cgi?tab=settings&dosave=1&display_quips=off&token=$editbugs_cookie"); $sel->title_is("User Preferences"); $sel->is_text_present_ok("The changes to your general preferences have been saved"); @@ -97,7 +97,7 @@ $sel->is_text_present_ok("The changes to your general preferences have been save my @args = ("", "token=", "token=i123x", "token=$admin_cookie", "token=$editbugs_cookie"); foreach my $arg (@args) { - $sel->open_ok("/$urlbase/userprefs.cgi?dosave=1&display_quips=off&$arg"); + $sel->open_ok("/$urlbase/userprefs.cgi?tab=settings&dosave=1&display_quips=off&$arg"); $sel->title_is("Suspicious Action"); if ($arg eq "token=$admin_cookie") { |