Skip to content

Commit

Permalink
Merge pull request #6265 from nextcloud/ci/cypress-stable28
Browse files Browse the repository at this point in the history
ci(cypress): Fix file list link selector
  • Loading branch information
mejo- authored Aug 26, 2024
2 parents 349c2d2 + 1b5ee03 commit 30cecd3
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 @@ -275,7 +275,7 @@ Cypress.Commands.add('getFileId', (fileName, params = {}) => {
})

Cypress.Commands.add('openFile', (fileName, params = {}) => {
cy.get(`[data-cy-files-list] tr[data-cy-files-list-row-name="${fileName}"] a[data-cy-files-list-row-name-link]`).click(params)
cy.get(`[data-cy-files-list] tr[data-cy-files-list-row-name="${fileName}"] [data-cy-files-list-row-name-link]`).click(params)
})

Cypress.Commands.add('openFileInShare', fileName => {
Expand Down

0 comments on commit 30cecd3

Please sign in to comment.