summaryrefslogtreecommitdiffstats
path: root/qa/t
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-27 09:32:00 +0200
committerByron Jones <glob@mozilla.com>2015-07-27 09:32:44 +0200
commit8ab6fbf6eecf9f8112c786040ac8efa1ee3c2770 (patch)
tree3d68144c6d77c0cfa39d4162fbf0bd1d61fc4b1b /qa/t
parentb7ee01602c9d7b4e73bd68d14a9e251365ba0fbe (diff)
downloadbugzilla-8ab6fbf6eecf9f8112c786040ac8efa1ee3c2770.tar.gz
bugzilla-8ab6fbf6eecf9f8112c786040ac8efa1ee3c2770.tar.xz
Bug 1171806 - (update test scripts)
Diffstat (limited to 'qa/t')
-rw-r--r--qa/t/test_qa_contact.t3
-rw-r--r--qa/t/test_security.t4
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") {