mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-10 15:59:57 +00:00
chore(ui): fix glossary playwright tests (#21198)
* chore: fix glossary playwright tests * remove timeout for loader * fix test
This commit is contained in:
parent
2864e0f09d
commit
eb16d6ac84
@ -598,7 +598,10 @@ export const validateGlossaryTerm = async (
|
|||||||
const termSelector = `[data-row-key="${escapedFqn}"]`;
|
const termSelector = `[data-row-key="${escapedFqn}"]`;
|
||||||
const statusSelector = `[data-testid="${escapedFqn}-status"]`;
|
const statusSelector = `[data-testid="${escapedFqn}-status"]`;
|
||||||
|
|
||||||
await expect(page.locator('[data-testid="loader"]')).toBeHidden();
|
await expect(
|
||||||
|
page.getByTestId('glossary-terms-table').getByTestId('loader')
|
||||||
|
).toBeHidden();
|
||||||
|
await expect(page.locator('[data-testid="loader"]')).toHaveCount(0);
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
page.getByTestId('glossary-terms-table').getByText('Terms')
|
page.getByTestId('glossary-terms-table').getByText('Terms')
|
||||||
|
|||||||
@ -86,6 +86,7 @@ export default function EntitySummaryPanel({
|
|||||||
if (!viewPermission) {
|
if (!viewPermission) {
|
||||||
return (
|
return (
|
||||||
<ErrorPlaceHolder
|
<ErrorPlaceHolder
|
||||||
|
className="border-none h-min-80"
|
||||||
size={SIZE.MEDIUM}
|
size={SIZE.MEDIUM}
|
||||||
type={ERROR_PLACEHOLDER_TYPE.PERMISSION}
|
type={ERROR_PLACEHOLDER_TYPE.PERMISSION}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user