jam411 3 лет назад
Родитель
Сommit
bd3c9202b0

+ 1 - 1
packages/app/src/components/Layout/RawLayout.tsx

@@ -21,7 +21,7 @@ type Props = {
 }
 
 export const RawLayout = ({ children, title, className }: Props): JSX.Element => {
-  const classNames: string[] = ['layout-root'];
+  const classNames: string[] = ['layout-root', 'growi'];
   if (className != null) {
     classNames.push(className);
   }

+ 1 - 1
packages/app/test/cypress/support/commands.ts

@@ -46,7 +46,7 @@ Cypress.Commands.add('collapseSidebar', (isCollapsed, force=false) => {
     return;
   }
 
-  const isGrowiPage = Cypress.$('body.growi').length > 0;
+  const isGrowiPage = Cypress.$('div.growi').length > 0;
   if (!isGrowiPage) {
     cy.visit('/page-to-toggle-sidebar-collapsed');
   }