Browse Source

fix: Fixed issue with test

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

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

@ -161,7 +161,7 @@ export class ToolbarPage extends BasePage {
} }
async clickDownload(type: string, verificationFile = 'expectedData.txt') { async clickDownload(type: string, verificationFile = 'expectedData.txt') {
await this.rootPage.locator(`.nc-view-context-btn`).click(); await this.get().locator(`.nc-toolbar-btn.nc-actions-menu-btn`).click();
const [download] = await Promise.all([ const [download] = await Promise.all([
// Start waiting for the download // Start waiting for the download

Loading…
Cancel
Save