Bug 20959: (RM follow-up) Fix selenium test
The basic_workflow test started to fail with this bug as the xpath for the checking button changed. I have updated the test to reflect the change. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
e466ce63ab
commit
b171c1645a
|
|
@ -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('//form[@id="checkin-form"]/div/fieldset/input[@type="submit"]')->click;
|
||||
$driver->find_element('//*[@id="circ_returns_checkin"]/div[1]/div[1]/div[2]/button')->click;
|
||||
like( $driver->get_title(), qr(Check in test biblio \d+) );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue