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

--- Comment #562 from Lisette Scheer <[email protected]> ---
Created attachment 209993
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209993&action=edit
Bug 14962: On Display Cypress e2e tests

This patch contains the front-end tests for the On Display module. If you'd
like to verify the Perl methods, see the perl test harness patch. You can also
use the test plan below to test the entire patchset works as expected.

TO TEST (AUTOMATED E2E):
APPLY PATCHSET
a)  cd $PROJECTS_DIR/koha
b)  DB_HOSTNAME=localhost npx yarn cypress open
    *)  you may need to run `corepack enable` if you get "command not found"
c)  click E2E testing
d)  click start E2E testing in Electron
e)  under Display, click Main.ts
    *)  verify it runs through fully with green
f)  return to last page, under Display, click Displays_spec.ts
    *)  verify it runs through fully with green
SIGN OFF

TO TEST (MANUALLY):
APPLY PATCHSET
a)  go to /cgi-bin/koha/display/display-home.pl
    *)  notice module is disabled
b)  go to
/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=UseDisplayModule
    *)  set UseDisplayModule syspref to "Use"
c)  repeat step a
    *)  notice module is now enabled
d)  click "New display"
    *)  validate all fields behave as described on page, or as otherwise
    intended by virtue of their design
e)  confirm you are returned to the show page
    *)  also validate you are shown the correct details as expected
f)  return to the list page, and then attempt to delete the record
    *)  whilst here, also validate the details on the table appear good
g)  confirm the display is deleted, and then navigate to batch add
    *)  enter some valid and invalid barcodes, then confirm a job starts
        and finishes
h)  navigate to batch remove
    *) repeat step g
i)  read fully and follow the attached Google Doc containing the full
    and thorough testing steps
    *)  report if any steps are outdated or don't work
== SIGN OFF ==

Sponsored-by: ByWater Solutions
Signed-of-by: Martin Renvoize <[email protected]>
Signed-off-by: Emily Lamancusa <[email protected]>
Signed-off-by: Lisette Scheer <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to