Skip to content

Commit 8da6be6

Browse files
committed
Expand the timeout
1 parent 6a9db4d commit 8da6be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/support/commands/menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const secondary = 'div[role="presentation"] > .bx--side-nav__items';
66
// items: Strings with at least 2 to a maximum of 3. These are the strings for the side bar menu names to click.
77
Cypress.Commands.add('menu', (...items) => {
88
expect(items.length).to.be.within(1, 3);
9-
let ret = cy.get(`${primary} > ul > li`)
9+
let ret = cy.get(`${primary} > ul > li`, { timeout: 10000 })
1010
.contains('a > span', items[0])
1111
.click();
1212

0 commit comments

Comments
 (0)