diff --git a/packages/synapse-react-client/src/components/EntityAclEditor/EntityAclEditor.test.tsx b/packages/synapse-react-client/src/components/EntityAclEditor/EntityAclEditor.test.tsx index 9a1887a8ee..dcddb79eab 100644 --- a/packages/synapse-react-client/src/components/EntityAclEditor/EntityAclEditor.test.tsx +++ b/packages/synapse-react-client/src/components/EntityAclEditor/EntityAclEditor.test.tsx @@ -113,7 +113,7 @@ function verifyInheritsSharingSettingsFromBenefactorMessage() { function verifyInheritsSharingSettingsPostUploadMessage() { screen.getByText( - /Currently, the sharing settings are inherited from the project named/, + /Currently, the sharing settings are inherited from the \w+ named/, { exact: false }, ) }