@@ -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);
@@ -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');