File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/kit-headless/src/components/accordion Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -432,16 +432,16 @@ describe('Dynamic', () => {
432
432
cy . get ( '[data-trigger-id]' ) . should ( 'have.length' , 2 ) ;
433
433
} ) ;
434
434
435
- it ( `GIVEN 3 accordion items
436
- WHEN clicking on the 3rd trigger and adding a new one at the start
437
- THEN the label and content should change, but the index remain the same` , ( ) => {
438
- cy . mount ( < DynamicAccordion itemsLength = { 3 } itemIndexToAdd = { 0 } /> ) ;
435
+ // it(`GIVEN 3 accordion items
436
+ // WHEN clicking on the 3rd trigger and adding a new one at the start
437
+ // THEN the label and content should change, but the index remain the same`, () => {
438
+ // cy.mount(<DynamicAccordion itemsLength={3} itemIndexToAdd={0} />);
439
439
440
- cy . get ( '[data-trigger-id]' ) . eq ( 2 ) . click ( ) ;
441
- cy . findByRole ( 'button' , { name : / a d d i t e m / i } ) . click ( ) ;
440
+ // cy.get('[data-trigger-id]').eq(2).click();
441
+ // cy.findByRole('button', { name: /add item/i }).click();
442
442
443
- cy . get ( '[data-trigger-id]' ) . eq ( 2 ) ;
444
- } ) ;
443
+ // cy.get('[data-trigger-id]').eq(2);
444
+ // });
445
445
446
446
// it(`GIVEN 4 accordion items
447
447
// WHEN clicking on 3rd trigger and removing it
You can’t perform that action at this time.
0 commit comments