Andrea Barbasso
4fde89e10c
[DURACOM-191] fix wrong imports
2024-03-13 07:48:13 +01:00
Yury Bondarenko
dbf7fd67fd
Merge remote-tracking branch 'origin/main' into more-eslint
2024-03-06 10:26:07 +01:00
Davide Negretti
5b096deb36
Merge branch 'main' into DURACOM-195
...
# Conflicts:
# src/app/shared/log-in/methods/password/log-in-password.component.html
2024-02-13 22:12:54 +01:00
Alexandre Vryghem
193d56d422
Merge branch 'refactor-comcol-pages_contribute-7.6' into refactor-comcol-pages_contribute-main
2024-02-09 23:25:49 +01:00
Alexandre Vryghem
d9759d1136
108588: Renamed components, because now these aren't page components anymore
2024-02-07 00:44:17 +01:00
Davide Negretti
f25ec6210b
[DURACOM-195] fix issue with event handling in expandable admin sidebar section
2024-01-23 00:08:57 +01:00
Davide Negretti
6dec34cb00
Merge branch 'main' into DURACOM-195
...
# Conflicts:
# cypress/e2e/collection-statistics.cy.ts
# cypress/e2e/community-statistics.cy.ts
# cypress/e2e/item-statistics.cy.ts
2024-01-17 22:24:06 +01:00
Tim Donohue
a5a89a4b98
Add environment variable for Person collection name. Use it in submission e2e tests.
2024-01-17 12:05:00 -06:00
Tim Donohue
31bc05235e
Add accessibility testing for admin sidebar
2024-01-17 11:16:54 -06:00
Tim Donohue
80492cd88a
Add Item Edit accessibility tests. Switch Item to use to one with bitstreams. Minor updates to HTML to pass accessibility tests.
2024-01-17 11:16:54 -06:00
Tim Donohue
00cb2f9e8a
Add accessibility tests (and minor fixes) for Edit Collection's Content Source tab and Item Mapper tab
2024-01-17 11:16:54 -06:00
Tim Donohue
9894d315a0
Add Edit Collection accessibility Testing
2024-01-17 11:16:54 -06:00
Tim Donohue
6c76d8c1d7
Add Edit Community accessibility tests & minor cleanup
2024-01-17 11:16:54 -06:00
Tim Donohue
e47593b303
Fix circular dependency issue by using Cypres env variables directly instead of global constants
2024-01-17 11:16:54 -06:00
Tim Donohue
8d61fa6ac3
Improve accessibility testing on Submission page
2024-01-17 11:16:54 -06:00
Tim Donohue
a581219df5
Refactor e2e test infrastruction to allow easier way to lookup REST API info and generate CSRF tokens
2024-01-17 11:16:54 -06:00
Tim Donohue
53d521a87e
Add new e2e accessibility tests & update some existing ones
2024-01-17 11:16:53 -06:00
Davide Negretti
216558125b
[DURACOM-195] Header, navbar, and sidebar refactoring
2023-12-19 01:10:07 +01:00
Alexandre Vryghem
cc71d60ebb
Fixed duplicate search-navbar-container id & renabled accessibility tests for header
2023-11-26 02:18:54 +01:00
Tim Donohue
72cda41731
Specify user agent to avoid being detected as a "bot" by backend
2023-11-08 10:08:49 -06:00
Tim Donohue
276d80895e
Fix heading order accessibility issue in search filters/facets
2023-08-29 15:10:12 -05:00
Tim Donohue
70a7bbe3cb
Minor fixes to cypress tests
2023-08-29 15:01:51 -05:00
Tim Donohue
2a881791ba
Fix accessibility of date sliders by adding aria-labels
2023-08-29 15:01:21 -05:00
Tim Donohue
ba244bf6b1
Fix heading order issue with item page & update accessibility tests to prove it now passes
2023-08-29 11:44:03 -05:00
Tim Donohue
339ed63734
Enable excessibility checking of login menu, and remove unnecessary exclusion from header
2023-08-29 11:43:36 -05:00
Tim Donohue
158ebb0e32
Reenable accessibility check fixed in #2251
2023-08-29 11:41:03 -05:00
Tim Donohue
c3854355fd
Fix e2e test to check for new title prefix
2023-06-12 16:56:08 -05:00
Tim Donohue
fb45f5f807
Remove flakey check for success alert box. Unnecessary for this test, and sometimes randomly fails (if alert box closes before it can be clicked closed)
2023-04-04 14:07:22 -05:00
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
d38ba9cf0e
Make statistics tests more stable by waiting on page to fully load
2023-03-03 12:53:27 -06:00
Tim Donohue
aa7c644e6a
Minor configuration cleanup for Cypress
2023-03-03 10:49:06 -06:00
Tim Donohue
1ae3c183d4
Minor test cleanup after upgrade
2023-03-03 10:49:06 -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
Davide Negretti
36b8b8b61b
Merge branch 'main-gh4s' into CST-6782-refactor
...
# Conflicts:
# src/app/shared/cookies/browser-klaro.service.spec.ts
# src/app/shared/cookies/browser-klaro.service.ts
2022-09-19 12:21:57 +02:00
Davide Negretti
70f2625d15
[UXP-10] e2e test fix
2022-09-15 13:57:06 +02:00
Davide Negretti
183653112e
[UXP-10] e2e test fixed
2022-09-15 10:40:59 +02:00
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