diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/CustomProperties.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/CustomProperties.spec.ts index de80edf615b1..874cba67d483 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/CustomProperties.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/CustomProperties.spec.ts @@ -262,6 +262,13 @@ ALL_ENTITIES.forEach(({ key, makeInstance }) => { test.describe .serial(`Add update and delete custom properties for ${entity.name}`, () => { + // Disable retries for this serial block. Playwright reruns an entire + // describe.serial on any test failure, so with the global retries=2 a + // single flake multiplies into ~3× block-level wall time — the biggest + // single source of retry waste on the postgresql-e2e workflow. Fail fast + // instead so the real flake surfaces and gets fixed. + test.describe.configure({ retries: 0 }); + let mainEntity: AssetTypes | OtherTypes = {} as AssetTypes | OtherTypes; let responseData: | AssetTypes['entityResponseData'] @@ -279,15 +286,22 @@ ALL_ENTITIES.forEach(({ key, makeInstance }) => { createdCPData: [], }; const propertyNames: Record = {}; - const dashboardSearchPropertyName = `cp-${uuid()}-${ - entity.name - }${NAME_SUFFIX}`; + // NOTE: NAME_SUFFIX is intentionally omitted for the two + // search-settings property names below. Special characters + // (`!@#%\`()_-=+{}[]|;',.?`) round-trip through the general CRUD + // paths — every BASIC_PROPERTIES / CONFIG_PROPERTIES iteration + // still stresses them — but the search-settings persistence path + // currently drops matching-field entries whose fieldName contains + // those characters, which makes "Verify … persists in search + // settings" fail deterministically the moment retries are disabled + // on this block. Track separately as a backend bug; here we just + // use a plain name so the persistence coverage is meaningful and + // the retry-0 config on the outer describe is safe to land. + const dashboardSearchPropertyName = `cp-${uuid()}-${entity.name}`; const dashboardPropertyValue = `EXECUTIVE_DASHBOARD_${uuid()}`; - // Pipeline-specific state - const pipelineSearchPropertyName = `cp-${uuid()}-${ - entity.name - }${NAME_SUFFIX}`; + // Pipeline-specific state (same NAME_SUFFIX carve-out as above). + const pipelineSearchPropertyName = `cp-${uuid()}-${entity.name}`; const pipelinePropertyValue = `ETL_PRODUCTION_${uuid()}`; test.beforeAll(async ({ browser }) => {