mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-12 15:57:44 +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
|
||||
.locator('[data-testid="glossary-reviewer"] [data-testid="diff-added"]')
|
||||
.scrollIntoViewIfNeeded();
|
||||
const diffLocator = page.locator(
|
||||
'[data-testid="glossary-reviewer"] [data-testid="diff-added"]'
|
||||
);
|
||||
|
||||
await expect(
|
||||
page.locator(
|
||||
'[data-testid="glossary-reviewer"] [data-testid="diff-added"]'
|
||||
)
|
||||
).toBeVisible();
|
||||
await diffLocator.waitFor({ state: 'attached' });
|
||||
|
||||
await expect(diffLocator).toBeVisible();
|
||||
});
|
||||
|
||||
await cleanup();
|
||||
|
||||
@ -41,7 +41,7 @@ const PermissionErrorPlaceholder = ({
|
||||
width={size}
|
||||
/>
|
||||
<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')}
|
||||
</Typography.Paragraph>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user