the GGIRCS app is not setup with mock logins and cypress, and e2e tests are desperately needed since the interaction is quite complicated to test in unit tests.
To Do:
[ ] create default users with roles in the database, in a test init script run beofre each cypress test
^ unnecessary, users are created on login, added cypress_test_admin as a ggircs user in keycloak
[x] SSO integration checks for an AS_CYPRESS flag, enables mock login and disables session expiry
[x] make sure cypress has a mockLogin(role) command similar to CIIP / CIF
[x] write comprehensive tests for the xml-diff page & fuel-management page
the GGIRCS app is not setup with mock logins and cypress, and e2e tests are desperately needed since the interaction is quite complicated to test in unit tests.
To Do:
create default users with roles in the database, in a test init script run beofre each cypress test^ unnecessary, users are created on login, added cypress_test_admin as a ggircs user in keycloakAS_CYPRESS
flag, enables mock login and disables session expirymockLogin(role)
command similar to CIIP / CIF