Skip to content

Commit

Permalink
Merge pull request #6266 from nextcloud/backport/6265/stable29
Browse files Browse the repository at this point in the history
[stable29] ci(cypress): Fix file list link selector
  • Loading branch information
mejo- authored Aug 26, 2024
2 parents b3708b8 + 624a266 commit c9047f9
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 c9047f9

Please sign in to comment.