From 48cea250ff8c2a21db7a21c9e02da0db8427b2d6 Mon Sep 17 00:00:00 2001 From: Jonas Date: Tue, 5 Dec 2023 18:01:24 +0100 Subject: [PATCH] test(cypress): Fix selector for close button in page trash modal Signed-off-by: Jonas --- cypress/e2e/page-list.spec.js | 2 +- src/components/PageList/PageTrash.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/page-list.spec.js b/cypress/e2e/page-list.spec.js index 24fa8df5c0..b77fabacac 100644 --- a/cypress/e2e/page-list.spec.js +++ b/cypress/e2e/page-list.spec.js @@ -274,7 +274,7 @@ describe('Page list', function() { .click() cy.get('table tr') .should('not.exist') - cy.get('button.modal-container__close').click() + cy.get('.modal__page-trash button.modal-container__close').click() cy.openPage('Day 1') cy.getReadOnlyEditor() diff --git a/src/components/PageList/PageTrash.vue b/src/components/PageList/PageTrash.vue index 0ca1efbd27..72880458ff 100644 --- a/src/components/PageList/PageTrash.vue +++ b/src/components/PageList/PageTrash.vue @@ -10,7 +10,7 @@ {{ t('collectives', 'Deleted pages') }} -