Skip to content

Commit 729ac76

Browse files
test: update message
1 parent c23798e commit 729ac76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/visualBuilder/utils/__test__/isFieldDisabled.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ describe("isFieldDisabled", () => {
337337
);
338338
expect(result.isDisabled).toBe(true);
339339
expect(result.reason).toBe(
340-
"You do not have permission to edit this entry as per the role(s) assigned to you and the workflow stage rules for the 'Final Review' stage."
340+
"Editing is restricted for your role or by the rules for the 'Final Review' stage. Contact your admin for edit access."
341341
);
342342
});
343343

@@ -454,7 +454,7 @@ describe("isFieldDisabled", () => {
454454
);
455455
expect(result.isDisabled).toBe(true);
456456
expect(result.reason).toBe(
457-
"You do not have permission to edit this entry as per the role(s) assigned to you and the workflow stage rules for the 'Unknown' stage."
457+
"Editing is restricted for your role or by the rules for the 'Unknown' stage. Contact your admin for edit access."
458458
);
459459
});
460460

0 commit comments

Comments
 (0)