From dc8d4e336e92976408a41eb5bc56087771b6138f Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Sat, 18 May 2024 19:56:37 +0530 Subject: [PATCH] test: fix mfe field disable test Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/tests/db/features/multiFieldEditor.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/playwright/tests/db/features/multiFieldEditor.spec.ts b/tests/playwright/tests/db/features/multiFieldEditor.spec.ts index 583bd875f1..8962c17b40 100644 --- a/tests/playwright/tests/db/features/multiFieldEditor.spec.ts +++ b/tests/playwright/tests/db/features/multiFieldEditor.spec.ts @@ -265,6 +265,8 @@ test.describe('Multi Field Editor', () => { // Hide field and verify grid column header 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 verifyGridColumnHeaders({ fields: fieldsText.filter(field => field !== defaultFieldName) });