Bugzilla – Attachment 170861 Details for
Bug 37748
In Bootstrap 5 "disabled" class must be on anchor tag, not list item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37748: Adjust the 'Update child to patron' selenium test
Bug-37748-Adjust-the-Update-child-to-patron-seleni.patch (text/plain), 1.73 KB, created by
Jonathan Druart
on 2024-08-29 10:49:18 UTC
(
hide
)
Description:
Bug 37748: Adjust the 'Update child to patron' selenium test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-08-29 10:49:18 UTC
Size:
1.73 KB
patch
obsolete
>From 1e7c4e4841a7dddd38f03ee9e5b6a89a517f5ce5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 28 Aug 2024 13:59:15 +0200 >Subject: [PATCH] Bug 37748: Adjust the 'Update child to patron' selenium test > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/selenium/update_child_to_adult.t | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/selenium/update_child_to_adult.t b/t/db_dependent/selenium/update_child_to_adult.t >index da9ed2f0eec..8a218e3d3dc 100755 >--- a/t/db_dependent/selenium/update_child_to_adult.t >+++ b/t/db_dependent/selenium/update_child_to_adult.t >@@ -138,9 +138,9 @@ subtest 'Update child to patron' => sub { > $driver->get( $base_url . "/members/moremember.pl?borrowernumber=$adult_borrowernumber" ); > $driver->find_element('//div[@id="toolbar"]/div[@class="btn-group"][last()]')->click; # More button group > >- my $update_link = $driver->find_element('//a[@id="updatechild"]'); >- is($update_link->get_attribute('data-bs-toggle', 1), 'tooltip', q|The update link should have a data-bs-toggle attribute => it's a tooltip, not clickable|); >- $update_link->click; >+ my $update_li = $driver->find_element('//a[@id="updatechild"]/..'); >+ is($update_li->get_attribute('data-bs-toggle', 1), 'tooltip', q|The parent of the update link should have a data-bs-toggle attribute => it's a tooltip, not clickable|); >+ $update_li->click; > like( $driver->get_current_url, qr{/members/moremember\.pl\?borrowernumber=$adult_borrowernumber$}, 'After clicking the link, nothing happens, no # in the URL'); > }; > >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37748
:
170784
|
170793
|
170804
|
170807
|
170818
|
170819
|
170820
|
170821
|
170860
| 170861 |
170862