[ACS-10286] Add label and aria expanded to the rule set header (#4834)

* [ACS-10286] Add proper role and aria attributes to rule section header

* [ACS-10286] Add unit tests and main rule set coverage

* [ACS-10286] Rework component to use material expansion panel

* [ACS-10286] CR changes

* [ACS-10286] excluded XAT-907

---------

Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
This commit is contained in:
MichalKinas
2025-10-08 13:18:16 +02:00
committed by GitHub
co-authored by Adam Świderski
parent 4d88927db5
commit 199d31f1cd
6 changed files with 111 additions and 108 deletions
@@ -172,7 +172,7 @@ describe('ManageRulesSmartComponent', () => {
expect(component).toBeTruthy();
expect(folderRuleSetsService.loadRuleSets).toHaveBeenCalledOnceWith(component.nodeId);
const ruleGroupingSections = unitTestingUtils.getAllByCSS(`[data-automation-id="rule-list-item"]`);
const ruleGroupingSections = unitTestingUtils.getAllByCSS('.aca-rule-list__item');
const deleteRuleBtn = unitTestingUtils.getByCSS('#delete-rule-btn');