|
|
@@ -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', () => {
|