mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-31 18:48:35 +00:00
fix(test): flaky customize detail page test (#23932)
This commit is contained in:
parent
7ea87e7ca2
commit
1c067d36da
@ -599,21 +599,25 @@ test.describe('Persona customization', () => {
|
||||
state: 'detached',
|
||||
});
|
||||
|
||||
expect(userPage.getByRole('tab', { name: 'Overview' })).toBeVisible();
|
||||
expect(
|
||||
await expect(
|
||||
userPage.getByRole('tab', { name: 'Overview' })
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
userPage.getByRole('tab', { name: 'Glossary Terms' })
|
||||
).toBeVisible();
|
||||
expect(
|
||||
await expect(
|
||||
userPage.getByTestId('create-error-placeholder-Glossary Term')
|
||||
).toBeVisible();
|
||||
|
||||
await userPage.getByRole('tab', { name: 'Overview' }).click();
|
||||
|
||||
expect(userPage.getByTestId('asset-description-container')).toBeVisible();
|
||||
await expect(
|
||||
userPage.getByTestId('asset-description-container')
|
||||
).toBeVisible();
|
||||
|
||||
await userPage.getByRole('tab', { name: 'Glossary Terms' }).click();
|
||||
|
||||
expect(
|
||||
await expect(
|
||||
userPage.getByTestId('create-error-placeholder-Glossary Term')
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user