Skip to content

Commit 1440378

Browse files
test(cypress): remove one cypress test
1 parent fffbb87 commit 1440378

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -432,16 +432,16 @@ describe('Dynamic', () => {
432432
cy.get('[data-trigger-id]').should('have.length', 2);
433433
});
434434

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} />);
439439

440-
cy.get('[data-trigger-id]').eq(2).click();
441-
cy.findByRole('button', { name: /add item/i }).click();
440+
// cy.get('[data-trigger-id]').eq(2).click();
441+
// cy.findByRole('button', { name: /add item/i }).click();
442442

443-
cy.get('[data-trigger-id]').eq(2);
444-
});
443+
// cy.get('[data-trigger-id]').eq(2);
444+
// });
445445

446446
// it(`GIVEN 4 accordion items
447447
// WHEN clicking on 3rd trigger and removing it

0 commit comments

Comments
 (0)