Bug 30695: (follow-up) Fix selenium test

The tab title words were re-ordered and we forgot to update the
corresponding selenium test.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2022-05-17 08:22:37 +01:00
parent 7660861d40
commit b9a755d795
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,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'), $nb_of_checkouts.' Checkout(s)', );
is( $driver->find_element('//a[@href="#checkouts"]')->get_attribute('text'), 'Checkouts ('.$nb_of_checkouts.')' );
}
time_diff("checkout");