Skip to content

Commit

Permalink
ci(cypress): Fix selectors for files to vue
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Aug 31, 2023
1 parent 4f6adcf commit e035ea5
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 e035ea5

Please sign in to comment.