Skip to content

Commit 0cbe199

Browse files
committed
Please work
1 parent 0c323e3 commit 0cbe199

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/react-integration/cypress/integration/tabshorizontaloverflow.spec.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ describe('Tab Demo Test', () => {
33
cy.visit('http://localhost:3000/tabs-horizontal-overflow-demo-nav-link');
44
});
55

6-
it('Updates overflow tab title based on tab selection', () => {
6+
it('Updates overflow tab title based on tab selection', { defaultCommandTimeout: 10000 }, () => {
77
cy.contains('.pf-v6-c-tabs__link', 'More').should('exist');
88
cy.contains('Tab item 9').should('not.exist');
99
cy.contains('.pf-v6-c-tabs__link', 'More').click();
10+
cy.wait(3000);
11+
cy.contains('.pf-v6-c-tabs__link', 'More').click();
12+
cy.wait(3000);
13+
cy.contains('.pf-v6-c-tabs__link', 'More').click();
14+
cy.wait(4000);
1015
cy.contains('Tab item 9').click();
1116
cy.contains('More').should('not.exist');
1217
cy.contains('.pf-v6-c-tabs__link', 'Tab item 9').should('exist');

0 commit comments

Comments
 (0)