[Rt-commit] r13666 - in rt/3.8/trunk: t/web
kyoki at bestpractical.com
kyoki at bestpractical.com
Fri Jun 27 14:41:38 EDT 2008
Author: kyoki
Date: Fri Jun 27 14:41:36 2008
New Revision: 13666
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/t/web/unlimited_search.t
Log:
r23440 at nyx: kyoki | 2008-06-27 14:41:32 -0400
added tests to check if row preferences work in "Bulk Update". test currently fails
Modified: rt/3.8/trunk/t/web/unlimited_search.t
==============================================================================
--- rt/3.8/trunk/t/web/unlimited_search.t (original)
+++ rt/3.8/trunk/t/web/unlimited_search.t Fri Jun 27 14:41:36 2008
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use strict;
-use Test::More tests => 5;
+use Test::More tests => 8;
use RT::Test;
RT::Test->started_ok;
@@ -28,5 +28,15 @@
$agent->field('RowsPerPage', '0');
$agent->submit('DoSearch');
$agent->follow_link_ok({text=>'Show Results'});
-
$agent->content_like(qr/Ticket 75/);
+
+$agent->follow_link_ok({text=>'New Search'});
+$agent->form_name('BuildQuery');
+$agent->field('idOp', '>');
+$agent->field('ValueOfid', '0');
+$agent->submit('AddClause');
+$agent->form_name('BuildQuery');
+$agent->field('RowsPerPage', '50');
+$agent->submit('DoSearch');
+$agent->follow_link_ok({text=>'Bulk Update'});
+$agent->content_unlike(qr/Ticket 51/);
More information about the Rt-commit
mailing list