Commit Graph

12 Commits

Author SHA1 Message Date
Tim Donohue
61ace6f831 Bug fix: generateViewEvent() requires Solr to commit stats immediately. 2023-03-07 15:02:31 -06:00
Tim Donohue
371bd072b3 Add generateViewEvent() util to generate stats in e2e tests. Refactored xsrf.interceptor.ts to move constants to a separate file so they can be reused in e2e tests easily. 2023-03-06 16:13:43 -06:00
Tim Donohue
48e95e262d Fix lint warnings by switching + to concat() 2023-03-03 12:53:27 -06:00
Tim Donohue
f5d18edd06 Fix circulary dependency in our Cypress support code. 2023-03-01 16:39:35 -06:00
Tim Donohue
376788ea2e Automated upgrade to Cypress 12. 2023-03-01 16:39:31 -06:00
Tim Donohue
14bafd61fe Stabilize random authentication errors in e2e tests by using login form at all times. 2022-10-27 14:16:48 -05:00
Tim Donohue
bc705df144 Check two locations for config.json, as it's in a different location in CI 2022-03-04 17:10:02 -06:00
Tim Donohue
852da27c2c Update Cypress to read REST API URL dynamically from config.json 2022-03-04 15:53:14 -06:00
Tim Donohue
6b8eaa4b75 Refactor to ensure cy.login() custom command logs in programmatically (which is faster). Move UI login tests to login-modal.spec.ts 2022-03-02 14:42:33 -06:00
Tim Donohue
794aa33c8f Refactor to use "data-e2e" attributes in code to make selecting fields/buttons easier in e2e tests 2022-03-02 14:42:33 -06:00
Tim Donohue
cb91ccbc33 Refactor to use custom commands for login/logout & make admin user configurable 2022-03-02 14:42:33 -06:00
Tim Donohue
c86b68a6e0 Replace Protrator e2e tests with Cypress. Move all existing tests to Cypress & add basic Deque Axe integration. 2021-08-26 17:14:08 -05:00