[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2023-12-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

Jonathan Druart  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=35556

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-08-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

--- Comment #14 from Jonathan Druart  
---
(In reply to Jonathan Druart from comment #12)
> Today on Master_U20 #39
> 
> 18:31:26 koha_1   | An element could not be located on the page using
> the given search parameters: //div[@class="main
> container-fluid"]//a[contains(@href,
> "/admin/branches.pl?op=add_form=UT_BC")],xpath at
> /kohadevbox/koha/t/lib/Selenium.pm line 174.

See bug 26143.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-08-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

Jonathan Druart  changed:

   What|Removed |Added

   Keywords|additional_work_needed  |

--- Comment #13 from Jonathan Druart  
---
(In reply to Jonathan Druart from comment #12)
> Today on Master_U20 #39
> 
> 18:31:26 koha_1   | An element could not be located on the page using
> the given search parameters: //div[@class="main
> container-fluid"]//a[contains(@href,
> "/admin/branches.pl?op=add_form=UT_BC")],xpath at
> /kohadevbox/koha/t/lib/Selenium.pm line 174.

Its the same as bug 25811 actually.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-07-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

--- Comment #12 from Jonathan Druart  
---
Today on Master_U20 #39

18:31:26 koha_1   | An element could not be located on the page using the
given search parameters: //div[@class="main
container-fluid"]//a[contains(@href,
"/admin/branches.pl?op=add_form=UT_BC")],xpath at
/kohadevbox/koha/t/lib/Selenium.pm line 174.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-05-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

--- Comment #11 from Jonathan Druart  
---
Lucas, can you confirm you tried without this patch and that it passed?

Do you know how to run selenium tests? Under koha-testing-docker you should
only need to double-check the value of KOHA_INTRANET_URL and KOHA_OPAC_URL,
then prove the tests.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-05-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

Lucas Gass  changed:

   What|Removed |Added

 CC||lu...@bywatersolutions.com

--- Comment #10 from Lucas Gass  ---
For 19.05.x:

I defenitly don't understand this bug and when I try to prove
t/db_dependent/selenium/administration_tasks.t, it fails:

Script: http://koha:8081/intranet-tmpl…og/js/datatables_19.0510002.js:290
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: '97d531c1f7c7', ip: '172.24.0.5', os.name: 'Linux', os.arch:
'amd64', os.version: '4.19.76-linuxkit', java.version: '1.8.0_91'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false,
handlesAlerts=true, databaseEnabled=true, version=47.0.1, platform=LINUX,
nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true,
locationContextEnabled=true, browserName=firefox, takesScreenshot=true,
javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 70860c37-59ad-46e9-8ca7-594f6379c452
*** Element info: {Using=xpath,
value=//select[@name="libraries_length"]/option[@value="-1"]} at
/usr/local/share/perl/5.24.1/Selenium/Remote/Driver.pm line 404.
 at /usr/local/share/perl/5.24.1/Selenium/Remote/Driver.pm line 348.
# Looks like your test exited with 255 just after 3.
Dubious, test returned 255 (wstat 65280, 0xff00)
All 3 subtests passed


If anyone wants to help explain what is going on here I'd be happy to know but
until then no backport for 19.05.x

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-05-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

Joy Nelson  changed:

   What|Removed |Added

 Status|Pushed to master|Pushed to stable
 CC||j...@bywatersolutions.com
 Version(s)|20.05.00|20.05.00, 19.11.06
released in||

--- Comment #9 from Joy Nelson  ---
backported to 19.11.x for 19.11.06

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-04-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

--- Comment #8 from Martin Renvoize  ---
Nice work everyone!

Pushed to master for 20.05

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-04-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

--- Comment #7 from Jonathan Druart  
---
Created attachment 102530
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102530=edit
Bug 24801: (follow-up) Display all the libraries - Selenium fix

We have it failing now for the delete link..
14:26:50 selenium_1   | 05:26:50.451 WARN - Exception: Unable to locate
element: {"method":"xpath","selector":"//*[@id=\"delete_library_UT_BC\"]"}

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-03-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

Martin Renvoize  changed:

   What|Removed |Added

 Attachment #101787|0   |1
is obsolete||

--- Comment #6 from Martin Renvoize  ---
Created attachment 101796
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101796=edit
Bug 24801: Display all the libraries - Selenium fix

Same as for categories.

22:41:28 koha_1   | STRACE: /usr/share/perl5/Try/Tiny.pm:104 in
Selenium::Remote::Driver::catch {...}
22:41:28 koha_1   |
/usr/local/share/perl/5.20.2/Selenium/Remote/Driver.pm:353 in Try::Tiny::try
22:41:28 koha_1   | (eval 1337):1 in
Selenium::Remote::Driver::__ANON__
22:41:28 koha_1   | (eval 1339):2 in
Selenium::Remote::Driver::__ANON__
22:41:28 koha_1   |
/usr/local/share/perl/5.20.2/Selenium/Remote/Driver.pm:1330 in
Selenium::Remote::Driver::_execute_command
22:41:28 koha_1   |
/usr/local/share/perl/5.20.2/Selenium/Remote/Driver.pm:1330 in (eval)
22:41:28 koha_1   | /kohadevbox/koha/t/lib/Selenium.pm:174 in
Selenium::Remote::Driver::find_element
22:41:28 koha_1   | /kohadevbox/koha/t/lib/Selenium.pm:166 in
t::lib::Selenium::click_when_visible
22:41:28 koha_1   |
t/db_dependent/selenium/administration_tasks.t:128 in t::lib::Selenium::click
22:41:28 koha_1   |
22:41:28 selenium_1   | 14:41:28.273 INFO - Executing: [take screenshot])
22:41:28 selenium_1   | 14:41:28.873 INFO - Done: [take screenshot]
22:41:31 koha_1   |
22:41:31 koha_1   | SCREENSHOT:
https://framapic.org/0nvX5dhLHpU1/tAEnENSeLRXB
22:41:31 koha_1   | An element could not be located on the page using the
given search parameters: //div[@class="main
container-fluid"]//a[contains(@href,
"/admin/branches.pl?op=add_form=UT_BC")],xpath at
/kohadevbox/koha/t/lib/Selenium.pm line 174.

The screenshot was obvious, the UT_BC was not on the first page.
There was a total of 33 libraries at this point, which is not expected,
maybe data not deleted from previous selenium tests.

Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-03-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

Jonathan Druart  changed:

   What|Removed |Added

Summary|selenium/administration_tas |selenium/administration_tas
   |ks.t failing if too many|ks.t failing if too many
   |categories displayed|categories/libraries
   ||displayed

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

2020-03-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

Jonathan Druart  changed:

   What|Removed |Added

   Keywords||additional_work_needed

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/