|
|
@@ -129,7 +129,7 @@ context('Search all pages', () => {
|
|
|
// Duplicate page
|
|
|
cy.getByTestid('open-page-duplicate-modal-btn').first().click({force: true});
|
|
|
cy.getByTestid('page-duplicate-modal').should('be.visible').within(() => {
|
|
|
- cy.screenshot(`${ssPrefix}6-duplicate-page`, {capture: 'viewport'});
|
|
|
+ cy.screenshot(`${ssPrefix}6-duplicate-page`);
|
|
|
});
|
|
|
|
|
|
// Close Modal
|
|
|
@@ -138,7 +138,7 @@ context('Search all pages', () => {
|
|
|
// Move / Rename Page
|
|
|
cy.getByTestid('open-page-move-rename-modal-btn').first().click({force: true});
|
|
|
cy.getByTestid('page-rename-modal').should('be.visible').within(() => {
|
|
|
- cy.screenshot(`${ssPrefix}7-move-rename-page`, {capture: 'viewport'});
|
|
|
+ cy.screenshot(`${ssPrefix}7-move-rename-page`);
|
|
|
});
|
|
|
|
|
|
// Close Modal
|
|
|
@@ -147,7 +147,7 @@ context('Search all pages', () => {
|
|
|
// Delete page
|
|
|
cy.getByTestid('open-page-delete-modal-btn').first().click({ force: true});
|
|
|
cy.getByTestid('page-delete-modal').should('be.visible').within(() => {
|
|
|
- cy.screenshot(`${ssPrefix}8-delete-page`, {capture: 'viewport'});
|
|
|
+ cy.screenshot(`${ssPrefix}8-delete-page`);
|
|
|
});
|
|
|
});
|
|
|
|