summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-01-27 21:16:13 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-01-27 21:16:13 +0100
commitc9e45583cf95176e5db4bf7db612ee1ce0a9c6c3 (patch)
tree55b1324c5939bf9e0543be2c29114b6b26b4960e /qa
parent2fcef7a5b1aefef32a1a2b524604140e1872b192 (diff)
downloadbugzilla-c9e45583cf95176e5db4bf7db612ee1ce0a9c6c3.tar.gz
bugzilla-c9e45583cf95176e5db4bf7db612ee1ce0a9c6c3.tar.xz
Bug 1334560 - test_search.t and test_shared_searches.t need to be updated due to commit of bug 1333942
Diffstat (limited to 'qa')
-rw-r--r--qa/t/test_search.t2
-rw-r--r--qa/t/test_shared_searches.t4
2 files changed, 3 insertions, 3 deletions
diff --git a/qa/t/test_search.t b/qa/t/test_search.t
index 780708a84..d479cc263 100644
--- a/qa/t/test_search.t
+++ b/qa/t/test_search.t
@@ -29,7 +29,7 @@ $sel->is_text_present_ok("Zarro Boogs found");
# Display all available columns. Look for all bugs assigned to a user who doesn't exist.
$sel->open_ok("/$config->{bugzilla_installation}/buglist.cgi?quicksearch=%40xx45ft&columnlist=all");
-$sel->title_is("Bug List");
+$sel->title_like(qr/^Bug List:/);
$sel->is_text_present_ok("Zarro Boogs found");
# Now some real tests.
diff --git a/qa/t/test_shared_searches.t b/qa/t/test_shared_searches.t
index edae86dec..3e5838c03 100644
--- a/qa/t/test_shared_searches.t
+++ b/qa/t/test_shared_searches.t
@@ -25,7 +25,7 @@ set_parameters($sel, { "Group Security" => {"querysharegroup" => {type => "selec
$sel->type_ok("quicksearch_top", ":TestProduct Selenium");
$sel->click_ok("find_top");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
-$sel->title_is("Bug List");
+$sel->title_like(qr/^Bug List:/);
$sel->type_ok("save_newqueryname", "Shared Selenium buglist");
$sel->click_ok("remember");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
@@ -96,7 +96,7 @@ ok(!$sel->is_text_present("Shared Selenium buglist"), "Shared query no longer di
$sel->type_ok("quicksearch_top", ":TestProduct sw:helpwanted");
$sel->click_ok("find_top");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
-$sel->title_is("Bug List");
+$sel->title_like(qr/^Bug List:/);
$sel->type_ok("save_newqueryname", "helpwanted");
$sel->click_ok("remember");
$sel->wait_for_page_to_load_ok(WAIT_TIME);