File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 11::ng-deep {
2- div #a2a {
2+ div #dspace- a2a {
33 bottom : 0 ;
44 right : 0 ;
55 z-index : 998 ;
You can’t perform that action at this time.
0 commit comments