[Rt-commit] r8240 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: .
thayes at bestpractical.com
thayes at bestpractical.com
Fri Jul 20 17:43:01 EDT 2007
Author: thayes
Date: Fri Jul 20 17:43:00 2007
New Revision: 8240
Added:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/view-age-field.t (contents, props changed)
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
Log:
r8375 at toth: toth | 2007-07-20 17:41:42 -0400
* Moved test for viewing Age field from RT-Extension-TicketAging to here
Added: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/view-age-field.t
==============================================================================
--- (empty file)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/view-age-field.t Fri Jul 20 17:43:00 2007
@@ -0,0 +1,16 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More tests => 7;
+
+require "t/rtir-test.pl";
+
+my $agent = default_agent();
+
+
+$agent->follow_link_ok({text => 'Incident Reports', n => "1"}, "Followed 'Incident Reports' link");
+$agent->follow_link_ok({text => "New Report", n => "1"}, "Followed 'New Report' link");
+
+$agent->content_unlike(qr{<select name="Object-RT::Ticket--CustomField-20-Values" id="Object-RT::Ticket--CustomField-20-Values"\s*size="5"\s*>}, "Select box does not appear");
+$agent->content_like(qr{Age: .*}, "Found Age text (not a select box)");
More information about the Rt-commit
mailing list