From bcbb294390027568a150a4ffba64249a4f270c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 11 May 2026 10:40:35 +0200 Subject: [PATCH] chore(ci): Invert line checking order in version_restoration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I cannot figure out why the closing of the menu is failing on github CI, I do not reproduce locally. So I simply inverted the checking order so that the menu is not in front of the next button we want to click. Signed-off-by: Côme Chilliet --- cypress/e2e/files_versions/version_restoration.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/files_versions/version_restoration.cy.ts b/cypress/e2e/files_versions/version_restoration.cy.ts index 7ece6d7959f..2d7e66068d9 100644 --- a/cypress/e2e/files_versions/version_restoration.cy.ts +++ b/cypress/e2e/files_versions/version_restoration.cy.ts @@ -69,7 +69,7 @@ describe('Versions restoration', () => { cy.get('[data-files-versions-version]').eq(0).find('.action-item__menutoggle').should('not.exist') cy.get('[data-files-versions-version]').eq(0).get('[data-cy-version-action="restore"]').should('not.exist') - doesNotHaveAction(1, 'restore') doesNotHaveAction(2, 'restore') + doesNotHaveAction(1, 'restore') }) })