[Rt-commit] r19808 - rt/3.8/trunk/t/web

falcone at bestpractical.com falcone at bestpractical.com
Fri May 29 08:39:02 EDT 2009


Author: falcone
Date: Fri May 29 08:39:00 2009
New Revision: 19808

Modified:
   rt/3.8/trunk/t/web/dashboards.t

Log:
fix failing tests caused by wording changes

Modified: rt/3.8/trunk/t/web/dashboards.t
==============================================================================
--- rt/3.8/trunk/t/web/dashboards.t	(original)
+++ rt/3.8/trunk/t/web/dashboards.t	Fri May 29 08:39:00 2009
@@ -59,16 +59,16 @@
 
 $m->get_ok($url."Dashboards/Modify.html?Create=1");
 $m->content_lacks("Permission denied");
-$m->content_contains("Save Changes");
+$m->content_contains("Create");
 
 $m->get_ok($url."Dashboards/index.html");
-$m->content_contains("New dashboard", "'New dashboard' link because we now have ModifyOwnDashboard");
+$m->content_contains("New", "'New' link because we now have ModifyOwnDashboard");
 
-$m->follow_link_ok({text => "New dashboard"});
+$m->follow_link_ok({text => "New"});
 $m->form_name('ModifyDashboard');
 $m->field("Name" => 'different dashboard');
 $m->content_lacks('Delete', "Delete button hidden because we are creating");
-$m->click_button(value => 'Save Changes');
+$m->click_button(value => 'Create');
 $m->content_lacks("No permission to create dashboards");
 $m->content_contains("Saved dashboard different dashboard");
 $m->content_lacks('Delete', "Delete button hidden because we lack DeleteOwnDashboard");
@@ -218,7 +218,7 @@
 $m->field("Name" => 'system dashboard');
 $m->field("Privacy" => 'RT::System-1');
 $m->content_lacks('Delete', "Delete button hidden because we are creating");
-$m->click_button(value => 'Save Changes');
+$m->click_button(value => 'Create');
 $m->content_lacks("No permission to create dashboards");
 $m->content_contains("Saved dashboard system dashboard");
 


More information about the Rt-commit mailing list