Browse Source

fix: Fixed issue with test

pull/6888/head
Muhammed Mustafa 1 year ago
parent
commit
9aeecec92d
  1. 8
      tests/playwright/pages/Dashboard/common/Toolbar/index.ts

8
tests/playwright/pages/Dashboard/common/Toolbar/index.ts

@ -195,13 +195,7 @@ export class ToolbarPage extends BasePage {
}
async verifyDownloadDisabled() {
await this.rootPage.locator(`.nc-view-context-btn`).click();
await this.rootPage.waitForTimeout(500);
await this.rootPage.locator(`.nc-view-context-download-option`).waitFor({ state: 'hidden' });
await this.rootPage.locator(`.nc-view-context-btn`).click();
await this.get().locator(`.nc-toolbar-btn.nc-actions-menu-btn`).waitFor({ state: 'hidden' });
}
async clickAddEditStack() {

Loading…
Cancel
Save