Browse Source

test: serialize xcdb tests

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

2
tests/playwright/pages/Dashboard/common/Cell/index.ts

@ -282,7 +282,7 @@ export class CellPageObject extends BasePage {
await this.get({ index, columnHeader }).scrollIntoViewIfNeeded();
// verify chip count & contents
await expect(chips).toHaveCount(count);
if (count) await expect(chips).toHaveCount(count);
// verify only the elements that are passed in
for (let i = 0; i < value.length; ++i) {

4
tests/playwright/tests/db/metaLTAR.spec.ts

@ -30,7 +30,9 @@ import { isSqlite } from '../../setup/db';
let api: Api<any>;
const recordCount = 10;
test.describe('Test table', () => {
// serial as all projects end up creating xcdb using same name
// fix me : use worker ID logic for creating unique project name
test.describe.serial('Test table', () => {
let context: any;
let dashboard: DashboardPage;
let grid: GridPage;

Loading…
Cancel
Save