fix: hard delete test (#20995)

This commit is contained in:
Pranita Fulsundar 2025-04-28 17:03:47 +05:30 committed by GitHub
parent d5eff5b2d7
commit 2e662f01ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();