haseebmalik18 opened a new pull request, #63416:
URL: https://github.com/apache/airflow/pull/63416
Improve Playwright test patterns in `DagCodePage.ts` to align with
Playwright best practices.
- Replace `.waitFor()` with `expect().toBeVisible()` web-first assertions
- Replace manual count assertions with `expect().not.toHaveCount(0)`
- Replace `textContent()` and manual assert with `expect().toHaveText()`
- Replace `getAttribute()` and manual regex with
`expect().toHaveAttribute()`
- Replace one-shot `evaluate()` and manual assert with `expect.poll()`
retrying assertion
- Move inline `viewLines` locator to class property
closes: #63410
--
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]