Browse Source

fix: test delete modal

pull/6486/head
sreehari jayaraj 1 year ago
parent
commit
1b4b76108c
  1. 2
      tests/playwright/pages/Dashboard/ExpandedForm/index.ts

2
tests/playwright/pages/Dashboard/ExpandedForm/index.ts

@ -47,7 +47,7 @@ export class ExpandedFormPage extends BasePage {
async clickDeleteRow() { async clickDeleteRow() {
await this.click3DotsMenu('Delete Record'); await this.click3DotsMenu('Delete Record');
await this.rootPage.locator('.ant-btn-primary:has-text("Confirm")').click(); await this.rootPage.locator('.ant-btn-danger:has-text("Delete Record")').click();
} }
async isDisabledDuplicateRow() { async isDisabledDuplicateRow() {

Loading…
Cancel
Save