Skip to content

Commit fd63e56

Browse files
committed
fix(test): fix reloadFileList cypress command on Nextcloud 33
Signed-off-by: Jonas <[email protected]>
1 parent a561ed8 commit fd63e56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cypress/support/commands.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ Cypress.Commands.add('propfindFolder', (path, depth = 0) => {
266266
})
267267

268268
Cypress.Commands.add('reloadFileList', () => {
269-
return cy.get('.vue-crumb:last-child a').click({ force: true })
269+
cy.get('[data-cy-files-content-breadcrumbs] li:last-child').click()
270+
return cy.get('button').contains('Reload content').click()
270271
})
271272

272273
Cypress.Commands.add('openFolder', (name) => {

0 commit comments

Comments
 (0)