Bug 18804: (bugs 16400,11088 follow-up) Update the "save category" elt selector
With bug 11088 and bug 16400 the submit node switched from: <input type="submit" name="save" onclick="return check_form_borrowers();" value="Save" /> to: <button type="submit" name="save" onclick="return check_form_borrowers"> then finally to: <button class="btn btn-small" id="saverecord" type="submit" name="save" onclick="return check_form_borrowers();"> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Lee Jamison <ldjamison@marywood.edu> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
This commit is contained in:
parent
a88f540ec1
commit
08ab41aa98
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ SKIP: {
|
|||
$driver->get($base_url.'/members/memberentry.pl?op=add&categorycode='.$sample_data->{category}{categorycode});
|
||||
like( $driver->get_title(), qr(Add .*$sample_data->{category}{description}), );
|
||||
fill_form( $driver, $sample_data->{patron} );
|
||||
$driver->find_element('//fieldset[@class="action"]/input[@type="submit"]')->click;
|
||||
$driver->find_element('//button[@id="saverecord"]')->click;
|
||||
like( $driver->get_title(), qr(Patron details for $sample_data->{patron}{surname}), );
|
||||
|
||||
####$driver->get($base_url.'/members/members-home.pl');
|
||||
|
|
Loading…
Reference in a new issue