Skip to content

Commit 9a8772b

Browse files
test(cypress): comment out unfinished test
1 parent c5d4017 commit 9a8772b

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

packages/kit-headless/src/components/accordion/accordion.spec.tsx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -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: /Item 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: /Item 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: /Item 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

Comments
 (0)