Bug 30952: Fix selenium/basic_workflow.t
Error while executing command: no such element: Unable to locate element: //*[@id="circ_returns_checkin"]/div[2]/div[1]/div[2]/button at /usr/share/perl5/Selenium/Remote/Driver.pm line 411. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
0dc43ccf73
commit
1090ebed09
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,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[2]/div[1]/div[2]/button')->click;
|
||||
$driver->find_element('//*[@id="circ_returns_checkin"]//button[@type="submit"]')->click;
|
||||
like( $driver->get_title(), qr(Check in test biblio \d+) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue