
sartak at bestpractical
Nov 19, 2009, 2:10 PM
Post #1 of 1
(319 views)
Permalink
|
|
rt branch, create-action, updated. ed33361078fa2c95d0e55a558ddcee5d4215039c
|
|
The branch, create-action has been updated via ed33361078fa2c95d0e55a558ddcee5d4215039c (commit) from 10a10aa5ff6208e50844bd2b11ff0cd5e6e4e1d1 (commit) Summary of changes: t/web/cf_access.t | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) - Log ----------------------------------------------------------------- commit ed33361078fa2c95d0e55a558ddcee5d4215039c Author: Shawn M Moore <sartak [at] bestpractical> Date: Thu Nov 19 17:10:35 2009 -0500 TODOify cf_access.t tests requiring multi-image uploads [rt3.fsck.com #14126] diff --git a/t/web/cf_access.t b/t/web/cf_access.t index 86da590..217a52e 100644 --- a/t/web/cf_access.t +++ b/t/web/cf_access.t @@ -138,7 +138,10 @@ diag "create a ticket with an image" if $ENV{'TEST_VERBOSE'}; form_name => "create_ticket_in_queue", fields => { queue => 'General' }, ); - $m->content_like(qr/Upload multiple images/, 'has a upload image field'); + TODO: { + local $TODO = "Multi-upload CFs not available yet"; + $m->content_like(qr/Upload multiple images/, 'has a upload image field'); + } $cfid =~ /(\d+)$/ or die "Hey this is impossible dude"; $m->submit_form( @@ -153,10 +156,16 @@ diag "create a ticket with an image" if $ENV{'TEST_VERBOSE'}; $tid = $1 if $m->content =~ /Created ticket #(\d+)/; - $m->title_like(qr/testing img cf creation/, "its title is the subject"); + TODO: { + local $TODO = "Multi-upload CFs not available yet"; + $m->title_like(qr/testing img cf creation/, "its title is the subject"); + } $m->follow_link( text => 'bplogo.gif' ); - $m->content_is(ImageFileContent, "it links to the uploaded image"); + TODO: { + local $TODO = "Multi-upload CFs not available yet"; + $m->content_is(ImageFileContent, "it links to the uploaded image"); + } } $m->get( $m->rt_base_url ); @@ -185,7 +194,10 @@ $m->form_name('build_query'); $m->click('do_search'); $m->follow_link( text_regex => qr/bplogo\.gif/ ); -$m->content_is(ImageFileContent, "it links to the uploaded image"); +TODO: { + local $TODO = "Multi-upload CFs not available yet"; + $m->content_is(ImageFileContent, "it links to the uploaded image"); +} __END__ [FC] Bulk Update does not have custom fields. ----------------------------------------------------------------------- _______________________________________________ Rt-commit mailing list Rt-commit [at] lists http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
|