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


##########
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:
   It looks like the CI failure is happening around this part.
   Could you take a look here?
   
   You can also run the following command locally to reproduce with the UI e2e 
tests:
   ```
   breeze testing ui-e2e-tests --test-pattern "dags-list.spec.ts"
   ```
   This might help with debugging 



-- 
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