Yury Bondarenko
c517ed0dfa
93803: Fix broken SearchDataImpl
...
I'd originally removed this `...linksToFollow` but it's actually required here because it's used when constructing the RemoteData
Added cypress/downloads to .gitignore because I'd accidentally committed a downloads.html file after running e2e tests locally
2022-09-14 10:48:15 +02:00
Yura Bondarenko
d69a02e6cc
90978: Fix e2e tests failing due to interactions before page fully loaded
...
Now that we use initialNavigation: 'enabledBlocking', pages can appear to be loaded before some functionality is fully active.
In some cases this trips up Cypress, and it tries to interact with the app too soon.
We address this by introducing a new dsBrowserOnly pipe in order to defer the data-test attributes Cypress relies on to CSR.
2022-05-04 15:25:46 +02:00
Yura Bondarenko
22d5643d8b
90978: Set klaro cookie before each test
2022-05-03 09:32:31 +02:00
Giuseppe Digilio
fa1b7d11ad
[CST-5418] Check success notification is not present on depositing when there are errors
2022-04-21 11:31:07 +02:00
Tim Donohue
15acb47afa
Rename data-e2e to data-test
2022-03-17 11:51:18 -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
ccf6c8f36e
Update submission tests to use Demo Submitter. Switch Docker scripts to use updated dspace7-entities-data.sql
which now includes demo in-progress submissions
2022-03-04 14:42:47 -06:00
Tim Donohue
8c865b758e
Fix bugs / stability issues with search e2e tests
2022-03-04 14:42:47 -06:00
Tim Donohue
53042179f0
Add Submission e2e tests, enhance MyDSpace tests. Minor cleanup to support tests
2022-03-04 14:42:47 -06:00
Tim Donohue
106a73f0d3
Improve stability/consistency of e2e tests by visiting blank page between each test
2022-03-02 14:42:33 -06:00
Tim Donohue
ba40cfe75a
Enhance Search results tests (stabilize). Add more MyDSpace tests, including starting a submission
2022-03-02 14:42:33 -06:00
Tim Donohue
d1399f106e
Basic MyDSpace tests. Fix basic accessibility issues found
2022-03-02 14:42:33 -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
1f1c55d9dc
Add login e2e tests. Tweak cypress retries so they don't apply to running e2e locally via GUI
2022-03-02 14:42:33 -06:00
Tim Donohue
34c33d7cf9
Make it easier to override default test UUIDS in cypress.json
2022-03-02 14:42:33 -06:00
Giuseppe Digilio
b7c46ffe29
[CST-4633] Fix e2e test
2022-01-14 12:37:29 +01:00
William Welling
71f5b46639
use standard environments
2021-12-06 12:25:37 -06:00
Tim Donohue
305571bc25
Add accessibility tests for search/browse
2021-10-15 15:43:01 -05:00
Tim Donohue
4faa850fba
Add logging for violations & testA11y() in utils.ts. Use that method everywhere else
2021-10-15 15:41:33 -05:00
Tim Donohue
3c35c6c8ae
Add basic accessibility scan for most public pages. Disable any a11y tests with known issues
2021-10-15 15:41:32 -05:00
lotte
c28221623c
Added search scope lookup to replace dropdown
2021-10-08 10:22:43 +02:00
Tim Donohue
432fb4e3cc
Temporarily disable a11y check until random failure for color contrast can be fixed
2021-09-08 11:14:24 -05:00
Tim Donohue
098779a82d
Fix to Cypress tsconfig.json, don't override sourceMap settings
2021-08-27 13:09:33 -05:00
Tim Donohue
3c3f2251bb
Minor test cleanup. Ensure artifacts are available based on e2e search results
2021-08-27 10:07:07 -05: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