Browse Source

test: select based fill handle

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5896/head
Raju Udava 1 year ago
parent
commit
cde228ffdb
  1. 4
      tests/playwright/pages/Dashboard/common/Cell/SelectOptionCell.ts
  2. 2
      tests/playwright/tests/db/verticalFillHandle.spec.ts

4
tests/playwright/pages/Dashboard/common/Cell/SelectOptionCell.ts

@ -115,7 +115,9 @@ export class SelectOptionCellPageObject extends BasePage {
const selectCell = this.get({ index, columnHeader }); const selectCell = this.get({ index, columnHeader });
// check if cell active // check if cell active
if (!(await selectCell.getAttribute('class')).includes('active')) { // drag based non-primary cell will have 'active' attribute
// primary cell with blue border will have 'active-cell' attribute
if (!(await selectCell.getAttribute('class')).includes('active-cell')) {
await selectCell.click(); await selectCell.click();
} }

2
tests/playwright/tests/db/verticalFillHandle.spec.ts

@ -129,7 +129,7 @@ test.describe('Fill Handle', () => {
}); });
}); });
test.describe.skip('Fill Handle', () => { test.describe('Fill Handle', () => {
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await beforeEachInit({ page, tableType: 'selectBased' }); await beforeEachInit({ page, tableType: 'selectBased' });
}); });

Loading…
Cancel
Save