mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-14 17:17:15 +00:00
fix(test): flaky glossary version test (#21281)
* fix: glossary version tests * fix test
This commit is contained in:
parent
1e2e2e078b
commit
9b0843c13e
@ -224,15 +224,13 @@ test('GlossaryTerm', async ({ page }) => {
|
|||||||
|
|
||||||
await page.waitForLoadState('networkidle');
|
await page.waitForLoadState('networkidle');
|
||||||
|
|
||||||
await page
|
const diffLocator = page.locator(
|
||||||
.locator('[data-testid="glossary-reviewer"] [data-testid="diff-added"]')
|
'[data-testid="glossary-reviewer"] [data-testid="diff-added"]'
|
||||||
.scrollIntoViewIfNeeded();
|
);
|
||||||
|
|
||||||
await expect(
|
await diffLocator.waitFor({ state: 'attached' });
|
||||||
page.locator(
|
|
||||||
'[data-testid="glossary-reviewer"] [data-testid="diff-added"]'
|
await expect(diffLocator).toBeVisible();
|
||||||
)
|
|
||||||
).toBeVisible();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
await cleanup();
|
await cleanup();
|
||||||
|
|||||||
@ -41,7 +41,7 @@ const PermissionErrorPlaceholder = ({
|
|||||||
width={size}
|
width={size}
|
||||||
/>
|
/>
|
||||||
<div className="text-center text-sm font-normal">
|
<div className="text-center text-sm font-normal">
|
||||||
<Typography.Paragraph className="w-80" style={{ marginBottom: '0' }}>
|
<Typography.Paragraph className="w-68" style={{ marginBottom: '0' }}>
|
||||||
{t('message.no-access-placeholder')}
|
{t('message.no-access-placeholder')}
|
||||||
</Typography.Paragraph>
|
</Typography.Paragraph>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user