[Rt-commit] r8064 - rtir/branches/2.3-EXPERIMENTAL/t
thayes at bestpractical.com
thayes at bestpractical.com
Fri Jul 6 11:24:38 EDT 2007
Author: thayes
Date: Fri Jul 6 11:24:22 2007
New Revision: 8064
Modified:
rtir/branches/2.3-EXPERIMENTAL/t/008-workflow-blocks.t
Log:
Moved test for 'Use system default()' option from 019-webui-block-fields.t to this script
Modified: rtir/branches/2.3-EXPERIMENTAL/t/008-workflow-blocks.t
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/t/008-workflow-blocks.t (original)
+++ rtir/branches/2.3-EXPERIMENTAL/t/008-workflow-blocks.t Fri Jul 6 11:24:22 2007
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use Test::More tests => 37;
+use Test::More tests => 38;
require "t/rtir-test.pl";
@@ -46,7 +46,13 @@
$agent->follow_link_ok({ text => "Edit" }, "Goto edit page");
+
+# Tests to make sure the unwanted option 'Use system default()' does not appear as an
+# option in the State field (a reported M3 bug)
+$agent->content_unlike(qr{<option (?:value=.*)?>Use system default\(\)</option>}, "The option 'Use system default()' does not exist.");
+
$agent->form_number(3);
+
$agent->field(Status => 'resolved');
$agent->click('SaveChanges');
ticket_state_is($agent, $block_id, 'removed');
More information about the Rt-commit
mailing list