Skip to content

Commit

Permalink
Merge pull request #5859 from nextcloud/fix/cypress_files_new
Browse files Browse the repository at this point in the history
test(cypress): Fix selector for new button in files app
  • Loading branch information
mejo- authored Jun 4, 2024
2 parents 0b25d94 + a987648 commit 05b6ad1
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 @@ -425,7 +425,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 05b6ad1

Please sign in to comment.