Skip to content

Commit fa06095

Browse files
committed
ci(cypress): Fix selectors for files to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 9f7b3ce commit fa06095

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)