Skip to content

Commit a9291a9

Browse files
Merge remote-tracking branch 'github/release/dspace-cris-2024.02.04.01' into release/dspace-cris-2024.02.04.01
2 parents 2b99539 + 1dc22fb commit a9291a9

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

cypress/support/e2e.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ before(() => {
5050
cy.task('saveRestBaseDomain', baseDomain);
5151

5252
});
53+
54+
// We might receive uncaught exceptions from external libraries (e.g. it happened before with a broken
55+
// version of the addToAny plugin). These should not cause our tests to fail, so we catch them here.
56+
Cypress.on('uncaught:exception', (err, runnable) => {
57+
// returning false here prevents Cypress from failing the test
58+
return false;
59+
});
5360
});
5461

5562
// Runs once before the first test in each "block"

src/app/social/social.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div id="a2a" [class.d-none]="(showOnCurrentRoute$ | async) !== true" data-a2a-scroll-show="0,60"
1+
<div id="dspace-a2a" [class.d-none]="(showOnCurrentRoute$ | async) !== true" data-a2a-scroll-show="0,60"
22
class="a2a_kit a2a_kit_size_32 a2a_floating_style a2a_default_style" [attr.data-a2a-title]="title" [attr.data-a2a-url]="url">
33
<a *ngFor="let button of buttonList" [class]="'a2a_button_' + button" [class.a2a_counter]="showCounters && button !== 'facebook'"></a>
44
<a *ngIf="showPlusButton" class="a2a_dd" href="https://www.addtoany.com/share"></a>

src/app/social/social.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
::ng-deep {
2-
div#a2a {
2+
div#dspace-a2a {
33
bottom: 0;
44
right: 0;
55
z-index: 998;

0 commit comments

Comments
 (0)