Browse Source

test: right click context fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5805/head
Raju Udava 2 years ago
parent
commit
e053bb5190
  1. 1
      tests/playwright/pages/Dashboard/Grid/index.ts

1
tests/playwright/pages/Dashboard/Grid/index.ts

@ -169,6 +169,7 @@ export class GridPage extends BasePage {
async addRowRightClickMenu(index: number) { async addRowRightClickMenu(index: number) {
const rowCount = await this.get().locator('.nc-grid-row').count(); const rowCount = await this.get().locator('.nc-grid-row').count();
await this.get().locator(`td[data-testid="cell-Title-${index}"]`).click();
await this.get().locator(`td[data-testid="cell-Title-${index}"]`).click({ await this.get().locator(`td[data-testid="cell-Title-${index}"]`).click({
button: 'right', button: 'right',
}); });

Loading…
Cancel
Save