[Bug 19883] New: Add a selenium script to hit all the pages
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19883 Bug ID: 19883 Summary: Add a selenium script to hit all the pages Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Test Suite Assignee: jonathan.druart@bugs.koha-community.org Reporter: jonathan.druart@bugs.koha-community.org QA Contact: testopia@bugs.koha-community.org Blocks: 19384 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19384 [Bug 19384] [OMNIBUS] Add Selenium tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19883 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 70170 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70170&action=edit Bug 19883: Add a selenium script to hit all the pages The idea here would be to catch possible hidden issues, and especially when the requested data do not exist (for instance hit circulation.pl?borrowernumber=42 without borrowernumber=42 in your DB). All these pages must not return 500. This is not ready at all for inclusion for several reasons: - Based on existing data (id=1 most of the time) - DB will be modified - Not idempotent - All pages are not covered (TODO) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19883 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl, | |tomascohen@gmail.com Status|ASSIGNED |In Discussion --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Even if not included it could be useful for QA or RM Marcel and Tomas, what do you think? It could be a nice goal to see all these scripts handling non-existing data. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19883 --- Comment #3 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Nice goal on itself. Protecting the database is obviously needed. Do several scripts need basic parameters at the beginning already (not only what is filled on a form)? So the script needs to know these; could be a maintenance headache? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19883 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19883 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #3)
Nice goal on itself. Protecting the database is obviously needed. Do several scripts need basic parameters at the beginning already (not only what is filled on a form)? So the script needs to know these; could be a maintenance headache?
I plan to test with GET parameters only. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org