We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa0466e commit ec1f6a3Copy full SHA for ec1f6a3
1 file changed
cypress/tests/codesnippetfromselectedcells.cy.ts
@@ -126,9 +126,8 @@ const openCellContextMenuWithSnippetItem = (retries = 5): void => {
126
cy.get('.lm-Menu', { timeout: 10000 }).should('be.visible');
127
cy.get('body').then(($body) => {
128
if (
129
- $body.find(
130
- 'li.lm-Menu-item[data-command="codesnippet:save-as-snippet"]'
131
- ).length === 0 &&
+ $body.find('li.lm-Menu-item[data-command="codesnippet:save-as-snippet"]')
+ .length === 0 &&
132
retries > 0
133
) {
134
// Dismiss menu and retry
0 commit comments