vatsrahul1001 commented on code in PR #59374:
URL: https://github.com/apache/airflow/pull/59374#discussion_r2726982928


##########
airflow-core/src/airflow/ui/tests/e2e/pages/DagsPage.ts:
##########
@@ -333,8 +608,30 @@ export class DagsPage extends BasePage {
    * Wait for DAG list to be rendered
    */
   private async waitForDagList(): Promise<void> {
-    await 
expect(this.page.locator('[data-testid="dag-id"]').first()).toBeVisible({
-      timeout: 10_000,
-    });
+    // Wait for either card-list or table-list to be visible
+    const cardList = this.page.locator('[data-testid="card-list"]');
+    const tableList = this.page.locator('[data-testid="table-list"]');
+
+    await expect(cardList.or(tableList)).toBeVisible({ timeout: 30_000 });

Review Comment:
   @chen0427ok, this is already updated in 
[readme](https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/ui/tests/e2e/README.md)
 here but yes we can add this is issue description as well



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to