Skip to content

Commit b257833

Browse files
Merge pull request #8203 from nextcloud/chore/fix-cypress-selector
chore(cy): fix reload file list selector
2 parents 740ff29 + a6c39b2 commit b257833

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
@@ -266,7 +266,7 @@ Cypress.Commands.add('propfindFolder', (path, depth = 0) => {
266266
})
267267

268268
Cypress.Commands.add('reloadFileList', () => {
269-
cy.get('[data-cy-files-content-breadcrumbs] li:last-child').click()
269+
cy.get('[title="Reload current directory"] button').click()
270270
return cy.get('button').contains('Reload content').click()
271271
})
272272

0 commit comments

Comments
 (0)