Bug 3158: bmo bug 369139 breaks several scripts due to a title change - Patch by me
This commit is contained in:
Родитель
6cad52b521
Коммит
6c1e082e67
|
@ -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");
|
||||
|
|
|
@ -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.");
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче