Taichi Masuyama 3 лет назад
Родитель
Сommit
c161f8e890
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      packages/app/test/cypress/integration/30-search/search.spec.ts

+ 3 - 3
packages/app/test/cypress/integration/30-search/search.spec.ts

@@ -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`);
     });
   });