Commit Graph

7 Commits

Author SHA1 Message Date
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
Jens Vannerum
e84589a5bc Merge remote-tracking branch 'upstream/main' into w2p-88507_Fix-Download-Link-Edit-Bitstream-Page 2022-03-17 17:10:12 +01:00
Jens Vannerum
f00664b281 88507 Improved test
- Refactored the test for the download button
- This way we're checking the actual href on the button, not the component's property
2022-03-17 14:54:21 +01:00
Jens Vannerum
4a8f6c357f 88507 Fixed bitstreams not downloadable on edit item page
- Created a new property bitstreamDownloadUrl where the url is saved in
- Added a test for this
- Alter the component to href to this link and not show the button when the property would be null
2022-03-17 14:54:13 +01:00
lotte
c2b5ce191a 85862: Added .dont-break-out to truncatable part, item list titles and fixed breadcrumb overflow 2021-12-16 14:11:34 +01:00
lotte
e7f0921e6e 85862: Handling very long strings for metadata/files on item page, edit metadata/bitstreams page 2021-12-16 14:11:32 +01:00
Art Lowel
124845bee1 update folder structure based on style guide 2021-07-23 17:18:51 +02:00