[DURACOM-195] fix issue with event handling in expandable admin sidebar section

(cherry picked from commit f25ec6210b)
This commit is contained in:
Davide Negretti
2024-01-23 00:08:57 +01:00
parent 5b1438f09f
commit bb16983029
2 changed files with 1 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ describe('Edit Collection > Content Source tab', () => {
cy.get('#externalSourceCheck').check(); cy.get('#externalSourceCheck').check();
// Wait for the source controls to appear // Wait for the source controls to appear
cy.get('ds-collection-source-controls').should('be.visible'); // cy.get('ds-collection-source-controls').should('be.visible');
// Analyze entire page for accessibility issues // Analyze entire page for accessibility issues
testA11y('ds-collection-source'); testA11y('ds-collection-source');

View File

@@ -12,7 +12,6 @@
[class.disabled]="section.model?.disabled" [class.disabled]="section.model?.disabled"
(click)="toggleSection($event)" (click)="toggleSection($event)"
(keyup.space)="toggleSection($event)" (keyup.space)="toggleSection($event)"
(keyup.enter)="toggleSection($event)"
href="javascript:void(0);" href="javascript:void(0);"
> >
<div class="sidebar-fixed-element-wrapper" data-test="sidebar-section-icon" aria-hidden="true"> <div class="sidebar-fixed-element-wrapper" data-test="sidebar-section-icon" aria-hidden="true">