Bugzilla – Attachment 159782 Details for
Bug 35556
selenium/administration_tasks.t failing if too many patron categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35556: Fix random selenium failure if category on second page
Bug-35556-Fix-random-selenium-failure-if-category-.patch (text/plain), 1.35 KB, created by
Jonathan Druart
on 2023-12-13 07:47:15 UTC
(
hide
)
Description:
Bug 35556: Fix random selenium failure if category on second page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-12-13 07:47:15 UTC
Size:
1.35 KB
patch
obsolete
>From 281721f6d1c777a7bf6f5dd9616e83afecfe5617 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 12 Dec 2023 16:14:34 +0100 >Subject: [PATCH] Bug 35556: Fix random selenium failure if category on second > page > >If 'Test category' if on the second page the test will fail to >locate the Edit button. > >To make sure it is displayed on the screen we are selecting "All" in the >dropdown list. > >This is done a couple of lines later in the script for the same purpose. >--- > t/db_dependent/selenium/administration_tasks.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/selenium/administration_tasks.t b/t/db_dependent/selenium/administration_tasks.t >index 802388eb46a..8f89ea2aa16 100755 >--- a/t/db_dependent/selenium/administration_tasks.t >+++ b/t/db_dependent/selenium/administration_tasks.t >@@ -198,6 +198,9 @@ SKIP: { > $s->fill_form( { categorycode => $category_code, description => 'Test category', enrolmentperiod => 12, category_type => 'A' } ); > $s->submit_form; > >+ # Select "Show all" in the datatable "Show x entries" dropdown list to make sure our category is not hidden >+ $s->show_all_entries('//div[@id="patron_categories_wrapper"]'); >+ > $s->click( > { > href => '/admin/categories.pl?op=add_form&categorycode=' . $category_code, >-- >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 35556
: 159782