kaori 3 лет назад
Родитель
Сommit
9d8fc6da03

+ 1 - 14
packages/app/test/cypress/integration/20-basic-features/open-page-accessories-modal.spec.ts

@@ -2,24 +2,11 @@ context('Open Page Accessories Modal', () => {
 
   const ssPrefix = 'access-to-page-accessories-modal';
 
-  let connectSid: string | undefined;
-
-  before(() => {
+  beforeEach(() => {
     // login
     cy.fixture("user-admin.json").then(user => {
       cy.login(user.username, user.password);
     });
-    cy.getCookie('connect.sid').then(cookie => {
-      connectSid = cookie?.value;
-    });
-    // collapse sidebar
-    cy.collapseSidebar(true);
-  });
-
-  beforeEach(() => {
-    if (connectSid != null) {
-      cy.setCookie('connect.sid', connectSid);
-    }
   });
 
   it('Page History is shown successfully', () => {