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

Martin Renvoize <[email protected]> changed:

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

--- Comment #11 from Martin Renvoize <[email protected]> ---
Created attachment 144006
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144006&action=edit
Bug 32131: Cypress tests are failing if ERMModule is off

This patch solves this by enabling the system preference before each test,
right after login. It also sets the system preference back to its original
initial value after the tests finish running.

To test:
1) Disable ERMModule system preference
2) Run cypess tests: yarn cypress open / yarn cypress run
3) Verify that tests run successfully
(Optional): While tests are running, visit the system preferences panel and
verify that the system preference is now "Enable".
4) Wait for the tests to finish and confirm that the system preference is set
back to its original "Disable" value.

Signed-off-by: Jonathan Druart <[email protected]>
Signed-off-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