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.
- 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