Browse Source

test: fix mfe field disable test

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/8522/head
Raju Udava 6 months ago
parent
commit
dc8d4e336e
  1. 2
      tests/playwright/tests/db/features/multiFieldEditor.spec.ts

2
tests/playwright/tests/db/features/multiFieldEditor.spec.ts

@ -265,6 +265,8 @@ test.describe('Multi Field Editor', () => {
// Hide field and verify grid column header // Hide field and verify grid column header
await (await fields.getFieldVisibilityCheckbox({ title: defaultFieldName })).click(); await (await fields.getFieldVisibilityCheckbox({ title: defaultFieldName })).click();
// wait for the toggle to update before clicking save
await fields.rootPage.waitForTimeout(500);
await fields.saveChanges(); await fields.saveChanges();
await verifyGridColumnHeaders({ fields: fieldsText.filter(field => field !== defaultFieldName) }); await verifyGridColumnHeaders({ fields: fieldsText.filter(field => field !== defaultFieldName) });

Loading…
Cancel
Save