@digital-ai/devops-page-object-release 0.0.0-snapshot-20251025024649 → 0.0.0-snapshot-20251029100901

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.js CHANGED
@@ -3330,12 +3330,15 @@ class $87bbb6d35ad31a00$export$f8f26dd395d7e1bd extends (0, $9626bc9256ce31f7$ex
3330
3330
  await (0, $hOLA6$expect)(icExpandTreeview1).not.toBeVisible();
3331
3331
  }
3332
3332
  async openSideNavMenu(menuItem) {
3333
- await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, {
3334
- exact: true
3335
- }).scrollIntoViewIfNeeded();
3336
- await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, {
3333
+ const menuLocator = this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, {
3337
3334
  exact: true
3338
- }).click();
3335
+ });
3336
+ await menuLocator.waitFor({
3337
+ state: "visible"
3338
+ });
3339
+ await this.page.waitForTimeout(500);
3340
+ await menuLocator.scrollIntoViewIfNeeded();
3341
+ await menuLocator.click();
3339
3342
  }
3340
3343
  async openNestedMenuItem(nestedMenuItem) {
3341
3344
  await this.page.locator(".MuiList-root li").getByText(nestedMenuItem, {