mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-10 07:53:35 +00:00
fix: hard delete test (#20995)
This commit is contained in:
parent
63ee8635e2
commit
d3f259ea1e
@ -1301,7 +1301,9 @@ export const hardDeleteEntity = async (
|
|||||||
endPoint: EntityTypeEndpoint
|
endPoint: EntityTypeEndpoint
|
||||||
) => {
|
) => {
|
||||||
await page.click('[data-testid="manage-button"]');
|
await page.click('[data-testid="manage-button"]');
|
||||||
await page.click('[data-testid="delete-button"]');
|
await page.getByTestId('delete-button').click();
|
||||||
|
|
||||||
|
await page.waitForSelector('[role="dialog"].ant-modal');
|
||||||
|
|
||||||
await expect(page.locator('[role="dialog"].ant-modal')).toBeVisible();
|
await expect(page.locator('[role="dialog"].ant-modal')).toBeVisible();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user