]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1334560 - test_search.t and test_shared_searches.t need to be updated due to...
authorDavid Lawrence <dkl@mozilla.com>
Fri, 27 Jan 2017 20:16:13 +0000 (20:16 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Fri, 27 Jan 2017 20:16:13 +0000 (20:16 +0000)
qa/t/test_search.t
qa/t/test_shared_searches.t

index 780708a84e90060b8c368b6abadadb280d5ce3e1..d479cc2637ebaef2bf03467b4989a5237b27f4e1 100644 (file)
@@ -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.
index edae86decf4917f006ae7e8c18104be30a280baf..3e5838c03ee8d3c19275e4b468ccc0a3a35e3083 100644 (file)
@@ -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);