From a6c39b219e6499b7b28bf38b4c0543e18c4d7810 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 29 Jan 2026 10:35:29 +0100 Subject: [PATCH] chore(cy): fix reload file list selector The breadcrumbs now contain nested lists. So the `li:last-child` selector matches two elements. The outer list is the crumbs themselves. The inner list is the dropdown menu that has the actual reload button. Signed-off-by: Max --- cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 28fd2450dc4..45a8c726c7c 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -266,7 +266,7 @@ Cypress.Commands.add('propfindFolder', (path, depth = 0) => { }) Cypress.Commands.add('reloadFileList', () => { - cy.get('[data-cy-files-content-breadcrumbs] li:last-child').click() + cy.get('[title="Reload current directory"] button').click() return cy.get('button').contains('Reload content').click() })