Bugzilla – Attachment 148324 Details for
Bug 33263
selenium/patrons_search.t is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33263: Fix random failure in patrons_search.t
Bug-33263-Fix-random-failure-in-patronssearcht.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2023-03-17 10:58:35 UTC
(
hide
)
Description:
Bug 33263: Fix random failure in patrons_search.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-03-17 10:58:35 UTC
Size:
1.04 KB
patch
obsolete
>From 2b31e980c24177afd87003726db85a7549ac16eb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 17 Mar 2023 11:57:22 +0100 >Subject: [PATCH] Bug 33263: Fix random failure in patrons_search.t > >There is a missing wait_for_ajax. After we click "next", we need to make >sure we are using the correct response. >--- > t/db_dependent/selenium/patrons_search.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/selenium/patrons_search.t b/t/db_dependent/selenium/patrons_search.t >index dac9bcb9755..3af2e6bf12a 100755 >--- a/t/db_dependent/selenium/patrons_search.t >+++ b/t/db_dependent/selenium/patrons_search.t >@@ -300,6 +300,7 @@ subtest 'Search patrons' => sub { > is( $patron_selected_text, "Patrons selected: 2", "Two patrons are selected" ); > > $driver->find_element('//*[@id="memberresultst_next"]')->click; >+ $s->wait_for_ajax; > @checkboxes = $driver->find_elements( > '//input[@type="checkbox"][@name="borrowernumber"]'); > $checkboxes[0]->click; >-- >2.25.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 33263
: 148324