Shun Miyazawa 1 year ago
parent
commit
db9dbfd83c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/app/playwright/utils/CollapseSidebar.ts

+ 1 - 1
apps/app/playwright/utils/CollapseSidebar.ts

@@ -9,7 +9,7 @@ export const collapseSidebar = async(page: Page, isCollapsed: boolean): Promise<
   const collapseSidebarToggle = page.getByTestId('btn-toggle-collapse');
   await expect(collapseSidebarToggle).toBeVisible();
 
-  collapseSidebarToggle.click();
+  await collapseSidebarToggle.click();
 
   const grwSidebarDoc = page.getByTestId('grw-sidebar-doc');