diff --git a/cypress/support/commands.js b/cypress/support/commands.js index bb6e5c39835..7868d58438b 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -414,7 +414,7 @@ Cypress.Commands.add('createDescription', (buttonLabel = 'Add folder description .as('addDescription') cy.get('[data-cy-files-list] tr[data-cy-files-list-row-name="Readme.md"]').should('not.exist') - cy.get('[data-cy-upload-picker] button.action-item__menutoggle').click() + cy.get('[data-cy-files-content-breadcrumbs] [data-cy-upload-picker] button.action-item__menutoggle').click() cy.get('li.upload-picker__menu-entry button').contains(buttonLabel).click() cy.wait('@addDescription')