This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9a0fb150e8c Fix flaky backfill E2E test by targeting clickable label
element (#63837)
9a0fb150e8c is described below
commit 9a0fb150e8c91e8ba4153e375182739f100600b4
Author: Yeonguk Choo <[email protected]>
AuthorDate: Thu Mar 19 00:51:54 2026 +0900
Fix flaky backfill E2E test by targeting clickable label element (#63837)
---
airflow-core/src/airflow/ui/tests/e2e/pages/BackfillPage.ts | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/ui/tests/e2e/pages/BackfillPage.ts
b/airflow-core/src/airflow/ui/tests/e2e/pages/BackfillPage.ts
index 56fdbd9f90d..fb7ed3d5e25 100644
--- a/airflow-core/src/airflow/ui/tests/e2e/pages/BackfillPage.ts
+++ b/airflow-core/src/airflow/ui/tests/e2e/pages/BackfillPage.ts
@@ -439,7 +439,11 @@ export class BackfillPage extends BasePage {
public async selectReprocessBehavior(behavior: ReprocessBehaviorApi):
Promise<void> {
const label = REPROCESS_API_TO_UI[behavior];
- await this.page.locator("label").getByText(label, { exact: true }).click({
timeout: 5000 });
+ await this.page
+ .getByRole("radiogroup", { name: "Reprocess Behavior" })
+ .locator("label")
+ .filter({ hasText: label })
+ .click({ timeout: 10_000 });
}
public async toggleColumn(columnName: string): Promise<void> {