-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Add E2E tests for dashboard metrics display #59678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
vatsrahul1001
merged 7 commits into
apache:main
from
vbottu:add-e2e-home-dashboard-metrics-59306
Dec 30, 2025
Merged
Add E2E tests for dashboard metrics display #59678
vatsrahul1001
merged 7 commits into
apache:main
from
vbottu:add-e2e-home-dashboard-metrics-59306
Dec 30, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Contributor
Author
bd00bea to
559158e
Compare
Contributor
Author
|
@vatsrahul1001 , could you review when you get a chance |
airflow-core/src/airflow/ui/tests/e2e/specs/home-dashboard.spec.ts
Outdated
Show resolved
Hide resolved
airflow-core/src/airflow/ui/tests/e2e/specs/home-dashboard.spec.ts
Outdated
Show resolved
Hide resolved
Contributor
Contributor
Author
|
@vatsrahul1001 Addressed your comments, thank you for reviewing the changes |
vatsrahul1001
approved these changes
Dec 30, 2025
Contributor
Thanks @vbottu. LGTM |
Subham-KRLX
pushed a commit
to Subham-KRLX/airflow
that referenced
this pull request
Jan 2, 2026
Add E2E tests for dashboard metrics display
stegololz
pushed a commit
to stegololz/airflow
that referenced
this pull request
Jan 9, 2026
Add E2E tests for dashboard metrics display
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does
Adds E2E tests for the dashboard/home page to verify metrics display correctly.
Changes
New files:
tests/e2e/pages/HomePage.ts- Page object for dashboard elementstests/e2e/specs/home-dashboard.spec.ts- E2E test specsTests added
should display dashboard stats section with DAG metrics- Verifies active, running, and failed DAG countsshould display health status badges- Verifies metadatabase, scheduler, and triggerer healthshould navigate to filtered DAGs list when clicking stats cards- Verifies card click navigationshould display welcome heading on dashboard- Verifies basic dashboard loadshould refresh and display updated metrics on page reload- Verifies metrics persist after reloadshould display historical metrics section with recent runs- Verifies DAG runs and task instancesshould handle DAG import errors display when errors exist- Verifies import errors behaviorTesting
All 7 tests pass locally on Chromium.
closes: #59306