Skip to content

Commit

Permalink
Merge pull request #3123 from nextcloud/ci/cypress-files-vue
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl committed Aug 31, 2023
2 parents 4f6adcf + e035ea5 commit d68cbd8
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 @@ -142,7 +142,7 @@ Cypress.Commands.add('shareLink', (user, path, shareData = {}) => {
})

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

Cypress.Commands.add('nextcloudEnableApp', (appId) => {
Expand Down

0 comments on commit d68cbd8

Please sign in to comment.