Browse Source

fix: PW fix

pull/8381/head
Raju Udava 6 months ago
parent
commit
04b8aa80f2
  1. 9
      tests/playwright/tests/db/columns/columnLinkToAnotherRecord.spec.ts

9
tests/playwright/tests/db/columns/columnLinkToAnotherRecord.spec.ts

@ -59,8 +59,9 @@ test.describe('LTAR create & update', () => {
// Verify fields and toggle the visibility
await dashboard.grid.toolbar.clickFields();
for (const title of ['Sheet1', 'Sheet1s']) {
await dashboard.grid.toolbar.fields.verify({ title, checked: false });
await dashboard.grid.toolbar.fields.click({ title, isLocallySaved: false });
// verify that fields are enabled
await dashboard.grid.toolbar.fields.verify({ title, checked: true });
// await dashboard.grid.toolbar.fields.click({ title, isLocallySaved: false });
}
await dashboard.grid.toolbar.clickFields();
@ -157,8 +158,8 @@ test.describe('LTAR create & update', () => {
// Verify fields and toggle the visibility
await dashboard.grid.toolbar.clickFields();
await dashboard.grid.toolbar.fields.verify({ title: 'Sheet2', checked: false });
await dashboard.grid.toolbar.fields.click({ title: 'Sheet2', isLocallySaved: false });
await dashboard.grid.toolbar.fields.verify({ title: 'Sheet2', checked: true });
// await dashboard.grid.toolbar.fields.click({ title: 'Sheet2', isLocallySaved: false });
await dashboard.grid.toolbar.clickFields();
const expected2 = [

Loading…
Cancel
Save