@@ -55,24 +55,24 @@ describe('Accordion', () => {
55
55
. should ( 'have.attr' , 'aria-expanded' , 'true' ) ;
56
56
} ) ;
57
57
58
- it ( `GIVEN 3 accordion items with the first one opened
59
- WHEN clicking the middle one
60
- THEN the content of the first item should close, and the middle should open.
61
- ` , ( ) => {
62
- cy . mount ( < ThreeDisclosureAccordion /> ) ;
58
+ // it(`GIVEN 3 accordion items with the first one opened
59
+ // WHEN clicking the middle one
60
+ // THEN the content of the first item should close, and the middle should open.
61
+ // `, () => {
62
+ // cy.mount(<ThreeDisclosureAccordion />);
63
63
64
- cy . findByRole ( 'button' , { name : / I t e m 1 / i } )
65
- . click ( )
66
- . should ( 'have.attr' , 'aria-expanded' , 'true' ) ;
64
+ // cy.findByRole('button', { name: /Item 1/i })
65
+ // .click()
66
+ // .should('have.attr', 'aria-expanded', 'true');
67
67
68
- cy . findByRole ( 'button' , { name : / I t e m 2 / i } )
69
- . click ( )
70
- . should ( 'have.attr' , 'aria-expanded' , 'true' ) ;
68
+ // cy.findByRole('button', { name: /Item 2/i })
69
+ // .click()
70
+ // .should('have.attr', 'aria-expanded', 'true');
71
71
72
- cy . findByRole ( 'button' , { name : / I t e m 1 / i } ) . should (
73
- 'have.attr' ,
74
- 'aria-expanded' ,
75
- 'false'
76
- ) ;
77
- } ) ;
72
+ // cy.findByRole('button', { name: /Item 1/i }).should(
73
+ // 'have.attr',
74
+ // 'aria-expanded',
75
+ // 'false'
76
+ // );
77
+ // });
78
78
} ) ;
0 commit comments