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


##########
airflow-core/src/airflow/ui/tests/e2e/pages/XComsPage.ts:
##########
@@ -125,6 +125,28 @@ export class XComsPage extends BasePage {
     }
   }
 
+  public async verifySortByColumn(columnName: string): Promise<void> {
+    await this.navigate();
+
+    const columnHeader = this.xcomsTable.locator("thead th").filter({ hasText: 
columnName });
+
+    await expect(columnHeader).toBeVisible({ timeout: 10_000 });
+
+    await columnHeader.click();
+    await this.page.waitForLoadState("networkidle");
+
+    const url = this.page.url();
+
+    expect(url).toContain("sorting");
+
+    await columnHeader.click();
+    await this.page.waitForLoadState("networkidle");
+

Review Comment:
   I also don’t think e2e tests for sorting are required, but they are fine to 
have.
   If they become too much, we can revisit and adjust them later :)



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