mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-15 04:26:59 +00:00
fix(test): tags & glossary term failure (#21254)
* fix(test): tags failure * fix glossary term tests (cherry picked from commit 764b1702b4c97b99c016dd950176a66f84e54746)
This commit is contained in:
parent
d014c7d53a
commit
b1bcc1c98b
@ -394,6 +394,8 @@ export const assignTag = async (
|
||||
|
||||
await page.getByTestId('saveAssociatedTag').click();
|
||||
|
||||
await expect(page.getByTestId('saveAssociatedTag')).not.toBeVisible();
|
||||
|
||||
await expect(
|
||||
page
|
||||
.getByTestId(parentId)
|
||||
@ -482,7 +484,7 @@ export const removeTag = async (page: Page, tags: string[]) => {
|
||||
await page.getByTestId('saveAssociatedTag').click();
|
||||
await patchRequest;
|
||||
|
||||
expect(
|
||||
await expect(
|
||||
page
|
||||
.getByTestId('KnowledgePanel.Tags')
|
||||
.getByTestId('tags-container')
|
||||
@ -573,6 +575,8 @@ export const assignGlossaryTerm = async (
|
||||
|
||||
await page.getByTestId('saveAssociatedTag').click();
|
||||
|
||||
await expect(page.getByTestId('saveAssociatedTag')).not.toBeVisible();
|
||||
|
||||
await expect(
|
||||
page
|
||||
.getByTestId('KnowledgePanel.GlossaryTerms')
|
||||
@ -620,6 +624,8 @@ export const assignGlossaryTermToChildren = async ({
|
||||
|
||||
await page.getByTestId('saveAssociatedTag').click();
|
||||
|
||||
await expect(page.getByTestId('saveAssociatedTag')).not.toBeVisible();
|
||||
|
||||
await patchRequest;
|
||||
|
||||
await expect(
|
||||
@ -662,7 +668,7 @@ export const removeGlossaryTerm = async (
|
||||
await page.getByTestId('saveAssociatedTag').click();
|
||||
await patchRequest;
|
||||
|
||||
expect(
|
||||
await expect(
|
||||
page
|
||||
.getByTestId('KnowledgePanel.GlossaryTerms')
|
||||
.getByTestId('glossary-container')
|
||||
|
Loading…
x
Reference in New Issue
Block a user