Shun Miyazawa 3 ani în urmă
părinte
comite
ac09e96d71

+ 20 - 20
packages/app/test/cypress/integration/20-basic-features/use-tools.spec.ts

@@ -1,23 +1,23 @@
-// context('Switch Sidebar content', () => {
-//   const ssPrefix = 'switch-sidebar-content';
-
-//   beforeEach(() => {
-//     // login
-//     cy.fixture("user-admin.json").then(user => {
-//       cy.login(user.username, user.password);
-//     });
-//   });
-
-//   it('PageTree is successfully shown', () => {
-//     cy.collapseSidebar(false);
-//     cy.visit('/page');
-//     cy.getByTestid('grw-sidebar-nav-primary-page-tree').click();
-//     // eslint-disable-next-line cypress/no-unnecessary-waiting
-//     cy.wait(1500);
-//     cy.screenshot(`${ssPrefix}-pagetree-after-load`, { capture: 'viewport' });
-//   });
-
-// });
+context('Switch Sidebar content', () => {
+  const ssPrefix = 'switch-sidebar-content';
+
+  beforeEach(() => {
+    // login
+    cy.fixture("user-admin.json").then(user => {
+      cy.login(user.username, user.password);
+    });
+  });
+
+  it('PageTree is successfully shown', () => {
+    cy.collapseSidebar(false);
+    cy.visit('/page');
+    cy.getByTestid('grw-sidebar-nav-primary-page-tree').click();
+    // eslint-disable-next-line cypress/no-unnecessary-waiting
+    cy.wait(1500);
+    cy.screenshot(`${ssPrefix}-pagetree-after-load`, { capture: 'viewport' });
+  });
+
+});
 
 
 
 
 context('Modal for page operation', () => {
 context('Modal for page operation', () => {