[Rt-commit] r15746 - in rt/3.8/trunk: . t/web
sartak at bestpractical.com
sartak at bestpractical.com
Wed Sep 3 20:43:19 EDT 2008
Author: sartak
Date: Wed Sep 3 20:43:18 2008
New Revision: 15746
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Dashboards/Queries.html
rt/3.8/trunk/t/web/dashboards.t
Log:
r70995 at onn: sartak | 2008-09-03 20:22:11 -0400
Test fixes
Modified: rt/3.8/trunk/share/html/Dashboards/Queries.html
==============================================================================
--- rt/3.8/trunk/share/html/Dashboards/Queries.html (original)
+++ rt/3.8/trunk/share/html/Dashboards/Queries.html Wed Sep 3 20:43:18 2008
@@ -62,7 +62,7 @@
<table width="100%" border="0">
% for my $pane (@panes) {
<tr><td valign="top" class="boxcontainer">
-<form action="Queries.html" method="post" enctype="multipart/form-data">
+<form action="Queries.html" name="Dashboard-<%$pane->{Name}%>" method="post" enctype="multipart/form-data">
<input type="hidden" class="hidden" name="id" value="<%$Dashboard->Id%>" />
<input type="hidden" class="hidden" name="Privacy" value="<%$Dashboard->Privacy%>" />
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 Wed Sep 3 20:43:18 2008
@@ -87,8 +87,8 @@
$m->follow_link_ok({text => "Queries"});
$m->content_contains("Modify the queries of dashboard different dashboard");
-$m->form_name('DashboardQueries');
-$m->field('Searches-Available' => ["search-2-RT::System-1"]);
+$m->form_name('Dashboard-Searches-body');
+$m->field('Searches-body-Available' => ["search-2-RT::System-1"]);
$m->click_button(name => 'add');
$m->content_contains("Dashboard updated");
@@ -105,8 +105,8 @@
is(@searches, 1, "one saved search in the dashboard");
like($searches[0]->Name, qr/newest unowned tickets/, "correct search name");
-$m->form_name('DashboardQueries');
-$m->field('Searches-Available' => ["search-1-RT::System-1"]);
+$m->form_name('Dashboard-Searches-body');
+$m->field('Searches-body-Available' => ["search-1-RT::System-1"]);
$m->click_button(name => 'add');
$m->content_contains("Dashboard updated");
@@ -214,8 +214,8 @@
$m->follow_link_ok({text => 'Queries'});
-$m->form_name('DashboardQueries');
-$m->field('Searches-Available' => ['search-8-RT::User-22']); # XXX: :( :(
+$m->form_name('Dashboard-Searches-body');
+$m->field('Searches-body-Available' => ['search-8-RT::User-22']); # XXX: :( :(
$m->click_button(name => 'add');
$m->content_contains("Dashboard updated");
More information about the Rt-commit
mailing list