Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Victor Grousset/tuxayo 3c3406257e Bug 27055: Fix compatibility with newer Firefox+Selenium version
Fix "submit is not a function error"
A submit button should not be named "submit", in this case, it's id.
https://stackoverflow.com/questions/833032/submit-is-not-a-function-error-in-javascript

Fix some uses of get_attribute()

Fix a fail by setting a global implicit_wait_timeout, default value is 0
in our lib. Other libs set it higher which helps to not have to manually
deal with part of the timing issues.

Fix: remove usage of click_when_visible() because it doesn't work with
elements not in the top of the page. Because they are off screen.

Fix: use $driver->quit() in error_handler to not forget an open Firefox.
With the current version, it fills /dev/shm and fails with around 5
Firefox opened.
Also use quit() it at the end of every script.

Fix: filling item fields, to fill only the displayed one (not those
with display:none)

== Test plan ==
1. Update selenium/standalone-firefox to the latest version [1]
2. prove t/db_dependent/selenium/authentication.t
3. It fails with: arguments[0].form.submit is not a function
4. Apply patch
5. Retest
6. Success

[1] In koha-testing-docker you can do it with
docker-compose.yml:
     selenium:
-        image: selenium/standalone-firefox:2.53.1-americium
+        image: selenium/standalone-firefox

Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2020-12-30 12:04:49 -03:00
..
acqui Bug 26729: Add focus class to vendor name field in vendor add form 2020-11-04 17:32:35 +01:00
admin Bug 27250: Fix stacked event listeners in SMTP delete modal 2020-12-26 18:14:11 +01:00
authorities Bug 12533: (follow-up) Add CSS to preview display of authority MARC 2020-11-04 12:59:33 +01:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch
catalogue Bug 26921: Don't generate an invalid custom cover image if the url cannot be generated 2020-12-21 10:07:48 +01:00
cataloguing Bug 27124: JS error "select2Width is not defined" 2020-12-21 10:07:40 +01:00
circ Bug 25534: Add missing td in tfoot in pendingreserves 2020-11-27 09:37:00 +01:00
clubs Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
common Bug 26738: (QA follow-up) Add missing filter 2020-11-04 12:59:32 +01:00
course_reserves Bug 26819: (QA follow-up) authorized_value should be authorised_value 2020-11-25 14:38:11 +01:00
errors
ill Bug 22818: Add generation and sending of notices 2020-11-11 08:35:10 +01:00
installer Bug 24973: Load custom localization file 2020-08-24 12:10:53 +02:00
labels Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
mana
members Bug 26956: Allow guarantor's controls to be set when a guarantee is created 2020-12-26 18:14:11 +01:00
offline_circ Bug 26212: Remove the use of jquery.checkboxes plugin from pending offline circulations 2020-08-18 15:45:49 +02:00
onboarding Bug 26449: fix web installer typo 2020-10-08 11:36:32 +02:00
patron_lists Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
patroncards Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
plugins Bug 25549: Add error reporting to plugins-home 2020-10-22 10:04:30 +02:00
pos Bug 27256: Update click handler for point of sale 2020-12-26 17:58:35 +01:00
reports Bug 27142: Don't interpolate batch_type variable 2020-12-09 11:08:20 +01:00
reserve Bug 26988: Add API route to fetch hold pickup locations and use it in the holds table 2020-11-13 14:20:11 +01:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 26846: Fix regressions - Preselect expected and late serials 2020-11-18 09:34:51 +01:00
services
suggestion Bug 26738: (bug 24819 follow-up) Fix manager selection 2020-11-04 12:59:32 +01:00
tags Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
test
tools Bug 26336: Add hint before and remove select after staging with no items 2020-12-04 15:40:58 +01:00
virtualshelves Bug 26806: Remove 1 remaining occurrence of jquery.checkboxes.min.js 2020-11-03 10:57:35 +01:00
about.tt Bug 27044: Mark the PayPal integration as deprecated on the user interface 2020-11-24 21:27:59 +01:00
auth.tt Bug 27055: Fix compatibility with newer Firefox+Selenium version 2020-12-30 12:04:49 -03:00
intranet-main.tt Bug 26833: Logged in library doesn't show with suggestions count 2020-11-02 11:03:09 +01:00