Browse Source

test: fixed ant modal

pull/6441/head
sreehari jayaraj 1 year ago
parent
commit
866e73d139
  1. 2
      tests/playwright/pages/Dashboard/BulkUpdate/index.ts

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

@ -173,7 +173,7 @@ export class BulkUpdatePage extends BasePage {
awaitResponse?: boolean; awaitResponse?: boolean;
} = {}) { } = {}) {
await this.bulkUpdateButton.click(); await this.bulkUpdateButton.click();
const confirmModal = this.rootPage.locator('.ant-modal-content'); const confirmModal = this.rootPage.locator('.ant-modal');
const saveRowAction = () => confirmModal.locator('.ant-btn-primary').click(); const saveRowAction = () => confirmModal.locator('.ant-btn-primary').click();
if (!awaitResponse) { if (!awaitResponse) {

Loading…
Cancel
Save