yuseok89 commented on code in PR #65418:
URL: https://github.com/apache/airflow/pull/65418#discussion_r3118415177
##########
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:
@bbovenzi
Thanks for the feedback.
If I understood right, your concern was that E2E here might be more than we
need. Many contributors seem to default to adding tests when landing new
features, and I did the same here.
Going forward, I'll keep test coverage lighter for non-critical core changes
in future PRs.
--
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]