playwright: fixed failing aut of 1.5.4 (#17798)

* playwright: fixed failing aut of 1.5.4

* fixed failing AUT test

* minor fix
This commit is contained in:
Shailesh Parmar 2024-09-11 18:22:35 +05:30 committed by GitHub
parent 25ff2d7b9c
commit 504b84138b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

View File

@ -224,9 +224,6 @@ entities.forEach((EntityClass) => {
await page.waitForSelector('[role="dialog"].ant-modal'); 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();
await expect(page.locator('.ant-modal-title')).toContainText(
entity.entity.name
);
await page.fill('[data-testid="confirmation-text-input"]', 'DELETE'); await page.fill('[data-testid="confirmation-text-input"]', 'DELETE');
const deleteResponse = page.waitForResponse( const deleteResponse = page.waitForResponse(

View File

@ -189,9 +189,6 @@ entities.forEach((EntityClass) => {
await page.waitForSelector('[role="dialog"].ant-modal'); 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();
await expect(page.locator('.ant-modal-title')).toContainText(
entity.entity.name
);
await page.fill('[data-testid="confirmation-text-input"]', 'DELETE'); await page.fill('[data-testid="confirmation-text-input"]', 'DELETE');
const deleteResponse = page.waitForResponse( const deleteResponse = page.waitForResponse(