|
|
@ -129,7 +129,7 @@ export class GridPage extends BasePage { |
|
|
|
await this._fillRow({ index, columnHeader, value: rowValue }); |
|
|
|
await this._fillRow({ index, columnHeader, value: rowValue }); |
|
|
|
|
|
|
|
|
|
|
|
const clickOnColumnHeaderToSave = () => |
|
|
|
const clickOnColumnHeaderToSave = () => |
|
|
|
this.get().locator(`[data-title="${columnHeader}"]`).locator(`div[title="${columnHeader}"]`).click(); |
|
|
|
this.get().locator(`[data-title="${columnHeader}"]`).locator(`div[data-test-id="${columnHeader}"]`).click(); |
|
|
|
|
|
|
|
|
|
|
|
if (networkValidation) { |
|
|
|
if (networkValidation) { |
|
|
|
await this.waitForResponse({ |
|
|
|
await this.waitForResponse({ |
|
|
@ -161,7 +161,7 @@ export class GridPage extends BasePage { |
|
|
|
await this._fillRow({ index, columnHeader, value }); |
|
|
|
await this._fillRow({ index, columnHeader, value }); |
|
|
|
|
|
|
|
|
|
|
|
const clickOnColumnHeaderToSave = () => |
|
|
|
const clickOnColumnHeaderToSave = () => |
|
|
|
this.get().locator(`[data-title="${columnHeader}"]`).locator(`div[title="${columnHeader}"]`).click(); |
|
|
|
this.get().locator(`[data-title="${columnHeader}"]`).locator(`div[data-test-id="${columnHeader}"]`).click(); |
|
|
|
|
|
|
|
|
|
|
|
if (networkValidation) { |
|
|
|
if (networkValidation) { |
|
|
|
await this.waitForResponse({ |
|
|
|
await this.waitForResponse({ |
|
|
|