[Koha-bugs] [Bug 27055] Update Firefox version used in Selenium GUI tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 23 14:15:10 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27055

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #113810|0                           |1
        is obsolete|                            |

--- Comment #2 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 113922
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113922&action=edit
WIP Bug 27055: Fix compatibility with newer Selenium+Firefox version

Fix "submit is not a function error"
A submit button should 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 with wait_for_element_visible()

WIP:
1. Fix SCSS which used the id=submit
2. Fix other tests, there are major issues like crash at the beginning
   or endless duration

== 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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list