Skip to content

Feat : E2E test to Verify backfills list displays#59791

Merged
vatsrahul1001 merged 9 commits intoapache:mainfrom
iharsh02:DAG-011
Dec 30, 2025
Merged

Feat : E2E test to Verify backfills list displays#59791
vatsrahul1001 merged 9 commits intoapache:mainfrom
iharsh02:DAG-011

Conversation

@iharsh02
Copy link
Contributor

Verify backfills list displays

  • Verify backfills list displays (or empty state if none)
  • Verify backfill details display: date range, status, created time
  • Verify Table filters
image

closes: #59592
related: #59028


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Dec 24, 2025
@iharsh02
Copy link
Contributor Author

@vatsrahul1001
Can you clear my doubt regarding verify backfill details display : date range , status , created time

This is how we verify this test ?
image

@vatsrahul1001
Copy link
Contributor

@vatsrahul1001 Can you clear my doubt regarding verify backfill details display : date range , status , created time

This is how we verify this test ? image

Your approach is correct - checking that fromDate, toDate, reprocessBehavior, and createdAt are not empty, and validating reprocessBehavior is one of the expected values.

@vatsrahul1001
Copy link
Contributor

@iharsh02 I noticed Firefox and Chrome test failed and passed now after re-run, however some steps still retried. Can you check this?
image

@vatsrahul1001
Copy link
Contributor

@iharsh02 I noticed Firefox and Chrome test failed and passed now after re-run, however some steps still retried. Can you check this? image

I think issue might be in getPastDate(), which creates a range like 2025-12-27T15:37 → 2025-12-28T15:37, but example_bash_operator runs at midnight (0 0 * * *). This range doesn't include midnight, so no runs match and the button stays disabled.

Adding midnight might help

const getPastDate = (daysAgo: number): string => {
  const date = new Date();
  date.setDate(date.getDate() - daysAgo);
  date.setHours(0, 0, 0, 0);  // Ensure we include midnight runs
  return date.toISOString().slice(0, 16);
};

@vatsrahul1001
Copy link
Contributor

Great work @iharsh02. PR looks in good shape now

@vatsrahul1001 vatsrahul1001 merged commit 16220dd into apache:main Dec 30, 2025
75 checks passed
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Jan 2, 2026
Feat : E2E test to Verify backfills list displays
stegololz pushed a commit to stegololz/airflow that referenced this pull request Jan 9, 2026
Feat : E2E test to Verify backfills list displays
jhgoebbert pushed a commit to jhgoebbert/airflow_Owen-CH-Leung that referenced this pull request Feb 8, 2026
Feat : E2E test to Verify backfills list displays
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI E2E Test || DAG-011: Verify backfills list displays

2 participants