소스 검색

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 년 전
부모
커밋
dc6d85a7f6
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      packages/app/test/cypress/integration/21-basic-features-for-guest/access-to-page.spec.ts

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