From 5d89d1e39b7dc17eec0fed6f8ccf0262a8c51b69 Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Mon, 9 Sep 2024 16:02:51 -0400 Subject: [PATCH] fix: file list item selector Signed-off-by: Elizabeth Danzberger --- cypress/e2e/share-link.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/share-link.js b/cypress/e2e/share-link.js index 269d7213ed..9d01d35454 100644 --- a/cypress/e2e/share-link.js +++ b/cypress/e2e/share-link.js @@ -84,7 +84,8 @@ describe('Public sharing of office documents', function() { }, }) - cy.get('tr[data-file="document.odt"] a.name').click() + cy.get('button[data-cy-files-list-row-name-link=""]') + .click() cy.waitForViewer() cy.waitForCollabora() @@ -109,7 +110,7 @@ describe('Public sharing of office documents', function() { }, }) - cy.get('tr[data-file="document.odt"] a.name').click() + cy.get('button[data-cy-files-list-row-name-link=""]').click() cy.inputCollaboraGuestName(guestName) cy.waitForViewer()