[Rt-commit] r19062 - in rt/3.8/trunk: t/web
sartak at bestpractical.com
sartak at bestpractical.com
Mon Apr 6 14:19:47 EDT 2009
Author: sartak
Date: Mon Apr 6 14:19:47 2009
New Revision: 19062
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/t/web/dashboards.t
Log:
r81751 at onn: sartak | 2009-04-06 14:19:32 -0400
Fix failing dashboard tests
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 Mon Apr 6 14:19:47 2009
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
-use Test::More tests => 110;
+use Test::More tests => 109;
use RT::Test;
my ($baseurl, $m) = RT::Test->started_ok;
@@ -86,7 +86,6 @@
$m->content_contains("Basics");
$m->content_contains("Queries");
$m->content_lacks("Subscription", "we don't have the SubscribeDashboard right");
-$m->content_contains("Show");
$m->follow_link_ok({text => "Basics"});
$m->content_contains("Modify the dashboard different dashboard");
@@ -133,7 +132,7 @@
Subject => 'dashboard test',
);
-$m->follow_link_ok({text => "Show"});
+$m->follow_link_ok({text => '"different dashboard"'});
$m->content_contains("20 highest priority tickets I own");
$m->content_contains("20 newest unowned tickets");
$m->content_lacks("Bookmarked Tickets");
@@ -232,7 +231,7 @@
$m->content_contains("The following queries may not be visible to all users who can see this dashboard.");
-$m->follow_link_ok({text => 'Show'});
+$m->follow_link_ok({text => '"system dashboard"'});
$m->content_contains("personal search", "saved search shows up");
$m->content_contains("dashboard test", "matched ticket shows up");
More information about the Rt-commit
mailing list