We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a9db4d commit 8da6be6Copy full SHA for 8da6be6
cypress/support/commands/menu.js
@@ -6,7 +6,7 @@ const secondary = 'div[role="presentation"] > .bx--side-nav__items';
6
// items: Strings with at least 2 to a maximum of 3. These are the strings for the side bar menu names to click.
7
Cypress.Commands.add('menu', (...items) => {
8
expect(items.length).to.be.within(1, 3);
9
- let ret = cy.get(`${primary} > ul > li`)
+ let ret = cy.get(`${primary} > ul > li`, { timeout: 10000 })
10
.contains('a > span', items[0])
11
.click();
12
0 commit comments