fix: hard delete test (#20995)

This commit is contained in:
Pranita Fulsundar 2025-04-28 17:03:47 +05:30 committed by Pranita
parent 63ee8635e2
commit d3f259ea1e

View File

@ -1301,7 +1301,9 @@ export const hardDeleteEntity = async (
endPoint: EntityTypeEndpoint
) => {
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();