Przeglądaj źródła

Merge pull request #6607 from weseek/fix/105213-visiting-trash-page-with-sidebar-closed-when-in-guest-mode

fix: Visiting the trash page with the sidebar closed when in guest mode (VRT)
Yohei Shiina 3 lat temu
rodzic
commit
dc6d85a7f6

+ 1 - 5
packages/app/test/cypress/integration/21-basic-features-for-guest/access-to-page.spec.ts

@@ -56,13 +56,9 @@ context('Access to /me page', () => {
 context('Access to special pages by guest', () => {
   const ssPrefix = 'access-to-special-pages-by-guest-';
 
-  beforeEach(() => {
-    // collapse sidebar
-    cy.collapseSidebar(true);
-  });
-
   it('/trash is successfully loaded', () => {
     cy.visit('/trash', {  });
+    cy.collapseSidebar(true, true);
     cy.getByTestid('trash-page-list').should('be.visible');
     cy.screenshot(`${ssPrefix}-trash`);
   });