My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 9: TWM: stuff_inputs() not working
3 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Mar 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by more...@stresscafe.com, Nov 01, 2007
What steps will reproduce the problem?
1. See attached test.   stuff_inputs() doesn't set anything due to misuse
of find_all_inputs().
2.
3.

What is the expected output? What do you see instead?

Expecting clean run of stuff_inputs.t


What version of the product are you using? On what operating system?

1.16.  OS n/a.


Please provide any additional information below.

Fix is to change:

    my @inputs = $self->find_all_inputs( type =>
qr/^(text|textarea|password)$/ );

to:

    my @inputs = $self->find_all_inputs( type_regex =>
qr/^(text|textarea|password)$/ );

stuff_inputs.t
4.4 KB Download
stuff_inputs.html
87 bytes Download
Comment 1 by petdance, Nov 13, 2007
(No comment was entered for this change.)
Summary: TWM: stuff_inputs() not working
Comment 2 by petdance, Mar 12, 2008
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Hosted by Google Code