Skip to content

Commit e035ea5

Browse files
committed
ci(cypress): Fix selectors for files to vue
Signed-off-by: Julius Härtl <[email protected]>
1 parent 4f6adcf commit e035ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)