fix glossary playwright tests (#21645)

* fix glossary tests

* fix tests
This commit is contained in:
Karan Hotchandani 2025-06-09 16:12:05 +05:30 committed by GitHub
parent 0ff168612e
commit 8aec6acfab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1459,7 +1459,7 @@ test.describe('Glossary tests', () => {
await expect(
dataConsumerPage.getByTestId('permission-error-placeholder')
).toHaveText(
"You don't have necessary permissions. Please check with the admin to get the View Glossary permission."
'You dont have access, please check with the admin to get permissions'
);
await consumerAfterAction();

View File

@ -356,7 +356,7 @@ const GlossaryV1 = ({
<div className="d-flex justify-center items-center full-height">
<ErrorPlaceHolder
className="mt-0-important border-none"
permissionValue={t('label.view-entity', {
permission={t('label.view-entity', {
entity: t('label.glossary'),
})}
size={SIZE.X_LARGE}