@@ -55,24 +55,24 @@ describe('Accordion', () => {
5555 . should ( 'have.attr' , 'aria-expanded' , 'true' ) ;
5656 } ) ;
5757
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 />);
6363
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');
6767
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');
7171
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+ // });
7878} ) ;
0 commit comments