choo121600 opened a new issue, #63041:
URL: https://github.com/apache/airflow/issues/63041
### Description
Improve Playwright test patterns in `backfill.spec.ts` and related page
object to align with
Playwright Best Practices.
This PR focuses on improving test patterns only.
It does not change test coverage or behavior.
### Checklist
- [ ] page.waitForFunction() with DOM queries → locator-based waiting
- [ ] page.waitForTimeout() → state-based waiting
- [ ] waitForLoadState("networkidle") → wait for specific UI state
- [ ] Manual assertions → web-first assertions
- [ ] page.evaluate() for DOM manipulation → observe UI state instead
- [ ] CSS :has-text() → user-facing locators
### Scope
This issue covers improvements in:
* specs/backfill.spec.ts
* pages/BackfillPage.ts
### Use case/motivation
_No response_
### Related issues
Part of #63036
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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]