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

falcone at bestpractical.com falcone at bestpractical.com
Fri May 29 09:53:40 EDT 2009


Author: falcone
Date: Fri May 29 09:53:40 2009
New Revision: 19810

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

Log:
Every page in RT contains new, work around it

New ticket in and the JS new were triggering false
positives here.  Using the full <a> is ugly, but
slightly more accurate.

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 09:53:40 2009
@@ -36,7 +36,8 @@
 ok $m->login(customer => 'customer'), "logged in";
 
 $m->get_ok($url."Dashboards/index.html");
-$m->content_lacks("New", "No 'new dashboard' link because we have no CreateOwnDashboard");
+$m->content_lacks('<a href="/Dashboards/Modify.html?Create=1">New</a>', 
+                  "No 'new dashboard' link because we have no CreateOwnDashboard");
 
 $m->no_warnings_ok;
 


More information about the Rt-commit mailing list