[Rt-commit] r14543 - in rt/branches/3.999-DANGEROUS: t/web
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sun Jul 27 07:41:54 EDT 2008
Author: sunnavy
Date: Sun Jul 27 07:41:54 2008
New Revision: 14543
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/t/web/cf_access.t
rt/branches/3.999-DANGEROUS/t/web/custom_search.t
Log:
r15017 at sunnavys-mb: sunnavy | 2008-07-27 19:13:50 +0800
updated test
Modified: rt/branches/3.999-DANGEROUS/t/web/cf_access.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/web/cf_access.t (original)
+++ rt/branches/3.999-DANGEROUS/t/web/cf_access.t Sun Jul 27 07:41:54 2008
@@ -176,10 +176,10 @@
$m->form_name('build_query');
-my $col = ($m->current_form->find_input('SelectDisplayColumns'))[-1];
+my $col = ($m->current_form->find_input('select_display_columns'))[-1];
$col->value( ($col->possible_values)[-1] );
-$m->click('AddCol');
+$m->click('add_col');
$m->form_name('build_query');
$m->click('do_search');
Modified: rt/branches/3.999-DANGEROUS/t/web/custom_search.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/web/custom_search.t (original)
+++ rt/branches/3.999-DANGEROUS/t/web/custom_search.t Sun Jul 27 07:41:54 2008
@@ -29,8 +29,8 @@
# add Requestor to the fields
$m->form_name ('build_query');
# can't use submit form for mutli-valued select as it uses set_fields
-$m->field (SelectDisplayColumns => ['requestors']);
-$m->click_button (name => 'AddCol') ;
+$m->field (select_display_columns => ['requestors']);
+$m->click_button (name => 'add_col') ;
$m->form_name ('build_query');
$m->click_button (name => 'Save');
@@ -42,8 +42,8 @@
$m->get ($cus_hp);
$m->form_name ('build_query');
-$m->field (CurrentDisplayColumns => 'Requestors');
-$m->click_button (name => 'RemoveCol') ;
+$m->field (current_display_columns => 'Requestors');
+$m->click_button (name => 'remove_col') ;
$m->form_name ('build_query');
$m->click_button (name => 'Save');
More information about the Rt-commit
mailing list