vatsrahul1001 opened a new pull request, #43736: URL: https://github.com/apache/airflow/pull/43736
**Summary** This PR addresses [Issue #43381](https://github.com/apache/airflow/issues/43381) by adding `data-testid `attributes to key UI components to improve stability and reliability for automated testing and external tools. **Why This Change?** Currently, UI lacks reliable identifiers for DOM elements, making automation difficult and unstable. Using sibling and child selectors is not a dependable approach. Adding `data-testid `attributes provides a robust solution, allowing automation frameworks and external tools to interact with UI elements consistently. **Testing** Verified that the added `data-testid `attributes do not interfere with the UI's functionality. Conducted tests to ensure elements are correctly identified and manipulated by automation scripts. Related Issue Fixes [Issue #43381](https://github.com/apache/airflow/issues/43381). --- **^ Add meaningful description above** Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)** for more information. In case of fundamental code changes, an Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals)) is needed. In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x). 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 [newsfragments](https://github.com/apache/airflow/tree/main/newsfragments). -- 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]
