Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bkembreeBPS committed Dec 20, 2023
1 parent 5c4164b commit 9d4a5b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions t/web/html_template.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ my $content = Encode::decode("UTF-8", "测试");
{
$m->follow_link_ok( { id => 'admin-global-templates' }, '-> Templates' );
$m->follow_link_ok( { text => 'Autoreply in HTML' }, '-> Autoreply in HTML' );
$m->follow_link_ok( { text => 'Content' }, '-> Content' );

$m->submit_form(
form_name => 'ModifyTemplate',
Expand Down
4 changes: 3 additions & 1 deletion t/web/template.t
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ $m->form_name('ModifyTemplate');
is($m->value('Type'), 'Perl', 'now that we have ExecuteCode we can update Type to Perl');

{ # 21152: Each time you save a Template a newline is chopped off the front
# go to Content tab
$m->follow_link( text => 'Content' );

$m->form_name('ModifyTemplate');
my $content;


TODO: {

local $TODO = "WWW::Mechanize doesn't strip newline following <textarea> tag like browsers do";
Expand Down

0 comments on commit 9d4a5b9

Please sign in to comment.