Bug 33528: Fix basic_workflow.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2023-06-14 12:46:45 -03:00
parent fa809812be
commit 9f4e9f451b
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ SKIP: {
$driver->find_element('//fieldset[@id="circ_circulation_issue"]/button[@type="submit"]')->click;
$nb_of_checkouts++;
like( $driver->get_title(), qr(Checking out to $sample_data->{patron}{surname}) );
is( $driver->find_element('//a[@href="#checkouts"]')->get_attribute('text'), 'Checkouts ('.$nb_of_checkouts.')' );
like( $driver->find_element('//a[@href="#checkouts_panel"]')->get_attribute('text'), qr/Checkouts \($nb_of_checkouts\)/ );
}
time_diff("checkout");