Bug 23039: (RM follow-up) Fix basic_workflow test
This bug altered the markup of the returns page subtly, introducing a new div level and as such changing the required xpath expression for the checkin submission button in the basic_workflow tests. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
6a17bf7785
commit
8b97be3671
|
|
@ -218,7 +218,7 @@ SKIP: {
|
|||
for my $biblionumber ( @biblionumbers ) {
|
||||
$driver->get($base_url."/circ/returns.pl");
|
||||
$driver->find_element('//input[@id="barcode"]')->send_keys('t_value_bib'.$biblionumber);
|
||||
$driver->find_element('//*[@id="circ_returns_checkin"]/div[1]/div[1]/div[2]/button')->click;
|
||||
$driver->find_element('//*[@id="circ_returns_checkin"]/div[2]/div[1]/div[2]/button')->click;
|
||||
like( $driver->get_title(), qr(Check in test biblio \d+) );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue