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') }} -