Skip to content

E2E tests for Dag Calendar Tab#61977

Open
sarth-akvaish wants to merge 1 commit intoapache:mainfrom
sarth-akvaish:test/Dag-Calendar-Page
Open

E2E tests for Dag Calendar Tab#61977
sarth-akvaish wants to merge 1 commit intoapache:mainfrom
sarth-akvaish:test/Dag-Calendar-Page

Conversation

@sarth-akvaish
Copy link
Contributor

E2E tests for Dag Calendar Tab

This PR adds E2E tests for Dag calendar tab
Closes : #59544

Added testids in the Calendar Components for better selector tracking.

The test covers :

  1. Navigating to the Dag calendar tab (Test Dag - Example Bash operator)
  2. Checks for rendering of Calendar tab
  3. Active cells appear for Manual dag run dates
  4. Hovering over run dates cells shows correct details
  5. failed view shows correct details

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

<CalendarCell
backgroundColor={scale.getColor(emptyCounts)}
cellData={emptyData}
data-testid="calendar-cell"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are redundant because CalendarCell.tsx already adds data-testid="calendar-cell"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, removing this

<CalendarCell
backgroundColor={scale.getColor(hourData.counts)}
cellData={formattedHourData}
data-testid="calendar-cell"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are redundant because CalendarCell.tsx already adds data-testid="calendar-cell"

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-008: Verify calendar tab functionality

2 participants