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:
Martin Renvoize 2019-07-02 17:08:10 +01:00
parent e466ce63ab
commit b171c1645a
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -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+) );
}