Skip to content

Commit

Permalink
Merge pull request #5860 from nextcloud/backport/5859/stable29
Browse files Browse the repository at this point in the history
[stable29] test(cypress): Fix selector for new button in files app
  • Loading branch information
mejo- authored Jun 12, 2024
2 parents d48fe7a + 747122c commit d453b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit d453b8b

Please sign in to comment.