[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.14-30-gfba2a862a3

Git repo owner gitmaster at git.koha-community.org
Sun Sep 20 15:20:34 CEST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 19.05.x has been updated
       via  fba2a862a3085efc79340b4f9c29908b9926a160 (commit)
       via  4a3f41a6182b5eb4081493cec86ed6a2448a50f5 (commit)
      from  9749f8553826af18724868c87e849e8233f78015 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fba2a862a3085efc79340b4f9c29908b9926a160
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Aug 10 11:59:58 2020 +0200

    Bug 26162: Wait for the table to be refreshed
    
    The previous patch did not work as expected. We still got a
    StaleElementReference exception.
    But this time on
    10:43:47 selenium_1   | Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"//*[@id=\"branchname\"]"}
    Because we found the one that existed on the page, not the one sent back
    in AJAX.
    
    The idea of this patch is to search for the "Showing 1 to X of Y entries" info and wait for X == Y
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 70ff3bafa05a30944962747953c70bb8dc3c1ab8)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit ce8a819b5fb77a8df59f131b4af96e24106bd32e)
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
    
    (cherry picked from commit 0a127a78e9de3771b8418b123eed6815f2745304)
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

commit 4a3f41a6182b5eb4081493cec86ed6a2448a50f5
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Aug 6 15:08:48 2020 +0200

    Bug 26162: Make Selenium click action more robust
    
    See
    https://stackoverflow.com/questions/12967541/how-to-avoid-staleelementreferenceexception-in-selenium
    https://www.selenium.dev/exceptions/
    https://developer.mozilla.org/en-US/docs/Web/WebDriver/Errors/StaleElementReference
    
    This patch will fix the following failure we get under D11:
    18:47:07 selenium_1   | 09:47:07.478 WARN - Exception: Element not found in the cache - perhaps the page has changed since it was looked up
    18:47:07 selenium_1   | For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
    18:47:07 selenium_1   | Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
    18:47:07 selenium_1   | System info: host: '78b9a07f51f2', ip: '192.168.16.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-9-amd64', java.version: '1.8.0_91'
    18:47:07 selenium_1   | Driver info: driver.version: unknown
    18:47:07 koha_1       |
    18:47:07 koha_1       | STRACE:	/usr/share/perl5/Try/Tiny.pm:123 in Selenium::Remote::Driver::catch {...}
    18:47:07 koha_1       | 	/usr/local/share/perl/5.26.1/Selenium/Remote/Driver.pm:353 in Try::Tiny::try
    18:47:07 koha_1       | 	(eval 1571):1 in Selenium::Remote::Driver::__ANON__
    18:47:07 koha_1       | 	(eval 1573):2 in Selenium::Remote::Driver::__ANON__
    18:47:07 koha_1       | 	(eval 1546):17 in Selenium::Remote::Driver::_execute_command
    18:47:07 koha_1       | 	/usr/local/share/perl/5.26.1/Selenium/Remote/WebElement.pm:63 in Selenium::Remote::WebElement::_execute_command
    18:47:07 koha_1       | 	/kohadevbox/koha/t/lib/Selenium.pm:184 in Selenium::Remote::WebElement::click
    18:47:07 koha_1       | 	/kohadevbox/koha/t/lib/Selenium.pm:172 in t::lib::Selenium::click_when_visible
    18:47:07 koha_1       | 	t/db_dependent/selenium/administration_tasks.t:131 in t::lib::Selenium::click
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit a96433446e87c03ac6e253a54eb067ac93a33575)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit d8ead7bac5642ba1d98691d1fd48c266403451df)
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
    
    (cherry picked from commit 0e46a19225dfb97b120b197500df6dccd7f16fe8)
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

-----------------------------------------------------------------------

Summary of changes:
 t/lib/Selenium.pm | 46 ++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 42 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list