Hi everyone, We recently opened a meta issue to improve consistency and stability in the Airflow UI E2E test suite:
https://github.com/apache/airflow/issues/63036 Over time, the Playwright-based tests have grown significantly, and we have identified several patterns that could be aligned better with Playwright’s recommended best practices. Examples include: - Replacing waitForTimeout() with state-based waits - Using Playwright web-first assertions instead of manual assertions - Replacing DOM queries inside waitForFunction() with locator-based assertions - Using user-facing locators like getByRole() instead of CSS :has-text() These improvements do not change test coverage but aim to make tests: - more readable - more stable in CI - easier to maintain To keep things manageable, the work has been split into multiple small sub-issues, each focusing on a specific test file. If you are interested in improving the UI test suite or getting familiar with Playwright tests in Airflow, feel free to pick one of the sub-issues and open a PR. Some of these tasks may also be good first contributions for people interested in the UI test suite. Meta issue: https://github.com/apache/airflow/issues/63036 Contributors are also welcome to join the discussion in #sig-ui-e2e-tests on Slack. Thanks! Yeonguk -- 추영욱 Yeonguk Choo Mobile +82-10-8815-8118 Email [email protected] <[email protected]> FB23 00B5 EAA3 EBF0 FDD6 C2B9 BE7A 512C BC72 067A
