Skip to content

Commit d68cbd8

Browse files
authored
Merge pull request #3123 from nextcloud/ci/cypress-files-vue
2 parents 4f6adcf + e035ea5 commit d68cbd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cypress/support/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Cypress.Commands.add('shareLink', (user, path, shareData = {}) => {
142142
})
143143

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

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

0 commit comments

Comments
 (0)