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

--- Comment #99 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 194300
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194300&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"
e)

Sponsored-by: ByWater Solutions
Signed-of-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to