Playwright: fixed AUT testCases spec (#17844)

This commit is contained in:
Shailesh Parmar 2024-09-15 18:23:51 +05:30 committed by GitHub
parent 370ee13a24
commit 402e58ef36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,8 +63,16 @@ test('Table difference test case', async ({ page }) => {
// The 'networkidle' parameter tells Playwright to wait until there are no network connections
// for at least 500 ms.
await page.waitForLoadState('networkidle');
await expect(
page
.getByTitle(table2.entityResponseData?.['fullyQualifiedName'])
.locator('div')
).toBeVisible();
await page
.getByTitle(table2.entityResponseData?.['fullyQualifiedName'])
.locator('div')
.click();
await page.fill(`#tableTestForm_params_keyColumns_0_value`, 'user_id');