mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-08 21:48:22 +00:00
fix the entityRightPanel and serviceEntity playwright spec (#21352)
(cherry picked from commit bbffeb87c738316b75ef2005a12be7a74088fbc9)
This commit is contained in:
parent
91cc21f859
commit
e083293db7
@ -683,6 +683,10 @@ test.describe('Bulk Edit Entity', () => {
|
||||
.locator('.inovua-react-toolkit-load-mask__background-layer')
|
||||
.waitFor({ state: 'detached' });
|
||||
|
||||
await page.waitForSelector('[data-testid="loader"]', {
|
||||
state: 'detached',
|
||||
});
|
||||
|
||||
await toastNotification(
|
||||
page,
|
||||
`Glossaryterm ${glossary.responseData.fullyQualifiedName} details updated successfully`
|
||||
|
||||
@ -52,10 +52,6 @@ test('Show and Hide Right Collapsable Panel', async ({ page }) => {
|
||||
page.locator('[data-testid="KnowledgePanel.GlossaryTerms"]')
|
||||
).not.toBeVisible();
|
||||
|
||||
await expect(
|
||||
page.locator('[data-testid="KnowledgePanel.CustomProperties"]')
|
||||
).not.toBeVisible();
|
||||
|
||||
await expect(
|
||||
page.locator('[data-testid="KnowledgePanel.TableConstraints"]')
|
||||
).not.toBeVisible();
|
||||
@ -75,10 +71,6 @@ test('Show and Hide Right Collapsable Panel', async ({ page }) => {
|
||||
page.locator('[data-testid="KnowledgePanel.GlossaryTerms"]')
|
||||
).toBeVisible();
|
||||
|
||||
await expect(
|
||||
page.locator('[data-testid="KnowledgePanel.CustomProperties"]')
|
||||
).toBeVisible();
|
||||
|
||||
await expect(
|
||||
page.locator('[data-testid="KnowledgePanel.TableConstraints"]')
|
||||
).toBeVisible();
|
||||
|
||||
@ -249,7 +249,9 @@ export class DatabaseClass extends EntityClass {
|
||||
await expect(
|
||||
page
|
||||
.getByTestId(`table-data-card_${searchTerm}`)
|
||||
.getByRole('link', { name: owner })
|
||||
.getByTestId('owner-label')
|
||||
.getByTestId('owner-link')
|
||||
.getByTestId(owner)
|
||||
).toBeVisible();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user