diff --git a/t/test_qa_contact.t b/t/test_qa_contact.t index b88d220..cbb4900 100644 --- a/t/test_qa_contact.t +++ b/t/test_qa_contact.t @@ -57,7 +57,7 @@ $sel->is_text_present_ok("Test for QA contact"); $sel->type_ok("save_newqueryname", "My QA query"); $sel->click_ok("remember"); $sel->wait_for_page_to_load_ok(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search created"); my $text = trim($sel->get_text("message")); ok($text =~ /OK, you have a new search named My QA query/, "New saved search 'My QA query'"); $sel->click_ok("link=My QA query"); diff --git a/t/test_saved_searches.t b/t/test_saved_searches.t index f01879c..b1676e5 100644 --- a/t/test_saved_searches.t +++ b/t/test_saved_searches.t @@ -36,7 +36,7 @@ $sel->title_is("Bug List"); $sel->type_ok("save_newqueryname", "SavedSearchTEST1"); $sel->click_ok("remember"); $sel->wait_for_page_to_load_ok(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search created"); my $text = trim($sel->get_text("message")); ok($text =~ /OK, you have a new search named SavedSearchTEST1./, "New search named SavedSearchTEST1 has been created"); $sel->click_ok("link=SavedSearchTEST1"); @@ -74,7 +74,7 @@ ok(!$sel->is_text_present("SavedSearchTEST1"), "SavedSearchTEST1 is not present $sel->type_ok("save_newqueryname", "SavedSearchTEST1"); $sel->click_ok("remember"); $sel->wait_for_page_to_load_ok(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search updated"); $text = trim($sel->get_text("message")); ok($text =~ /Your search named SavedSearchTEST1 has been updated./, "Saved searche SavedSearchTEST1 has been updated."); diff --git a/t/test_shared_searches.t b/t/test_shared_searches.t index 06ee23f..7d05801 100644 --- a/t/test_shared_searches.t +++ b/t/test_shared_searches.t @@ -22,7 +22,7 @@ $sel->title_is("Bug List"); $sel->type_ok("save_newqueryname", "Shared Selenium buglist"); $sel->click_ok("remember"); $sel->wait_for_page_to_load_ok(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search created"); my $text = trim($sel->get_text("message")); ok($text =~ /OK, you have a new search named Shared Selenium buglist./, "New search named 'Shared Selenium buglist' has been created"); @@ -93,7 +93,7 @@ $sel->title_is("Bug List"); $sel->type_ok("save_newqueryname", "helpwanted"); $sel->click_ok("remember"); $sel->wait_for_page_to_load_ok(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search created"); $text = trim($sel->get_text("message")); ok($text =~ /OK, you have a new search named helpwanted./, "New search named helpwanted has been created"); diff --git a/t/test_status_whiteboard.t b/t/test_status_whiteboard.t index 627ba7f..12590ee 100644 --- a/t/test_status_whiteboard.t +++ b/t/test_status_whiteboard.t @@ -46,7 +46,7 @@ $sel->is_text_present_ok("2 bugs found"); $sel->type_ok("save_newqueryname", "sw-x77v"); $sel->click_ok("remember"); $sel->wait_for_page_to_load_ok(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search created"); my $text = trim($sel->get_text("message")); ok($text =~ /you have a new search named sw-x77v/, 'Saved search correctly saved'); diff --git a/t/test_target_milestones.t b/t/test_target_milestones.t index 46a696d..b68b33d 100644 --- a/t/test_target_milestones.t +++ b/t/test_target_milestones.t @@ -56,7 +56,7 @@ $sel->is_text_present_ok("One bug found"); $sel->type_ok("save_newqueryname", "selenium_m0"); $sel->click_ok("remember"); $sel->wait_for_page_to_load_ok(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search created"); my $text = trim($sel->get_text("message")); ok($text =~ /OK, you have a new search named selenium_m0./, "New search named selenium_m0 has been created"); diff --git a/t/test_user_preferences.t b/t/test_user_preferences.t index 9a67b14..d2181f0 100644 --- a/t/test_user_preferences.t +++ b/t/test_user_preferences.t @@ -69,7 +69,7 @@ $sel->type_ok("lob_newqueryname", "sel-tmp"); $sel->type_ok("bug_ids", $bug1_id); $sel->click_ok("commit_list_of_bugs"); $sel->wait_for_page_to_load(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search created"); my $text = trim($sel->get_text("message")); ok($text =~ /OK, you have a new search named sel-tmp./, "New saved search 'sel-tmp' created"); $sel->click_ok("link=sel-tmp"); @@ -96,7 +96,7 @@ $sel->select_ok("lob_oldqueryname", "label=sel-tmp"); $sel->type_ok("bug_ids", $bug2_id); $sel->click_ok("commit_list_of_bugs"); $sel->wait_for_page_to_load(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search updated"); $text = trim($sel->get_text("message")); ok($text =~ /Your search named sel-tmp has been updated./, "Search 'sel-tmp' has been updated"); $sel->click_ok("link=sel-tmp"); @@ -161,7 +161,7 @@ $sel->is_text_present_ok("2 bugs found"); $sel->type_ok("save_newqueryname", "my_list"); $sel->click_ok("remember"); $sel->wait_for_page_to_load(WAIT_TIME); -$sel->title_is("Bugzilla Message"); +$sel->title_is("Search created"); $text = trim($sel->get_text("message")); ok($text =~ /OK, you have a new search named my_list./, "New saved search 'my_list' has been created");