haseebmalik18 opened a new pull request, #63415:
URL: https://github.com/apache/airflow/pull/63415
Improve Playwright test patterns in `dag-grid-view.spec.ts` and
`GridPage.ts` to align with Playwright best practices.
- Replace `page.evaluate()` with `toHaveCSS()` web-first assertion
- Replace `page.waitForURL()` with `expect(page).toHaveURL()`
- Replace CSS `a[href*="/tasks/"]` selector with `[data-node-id]` data
attribute
- Replace manual role selector with `getByRole("tooltip")`
- Replace imperative count checks with `not.toHaveCount(0)` web-first
assertions
- Move per-test `setTimeout` to describe-level
closes: #63411
--
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]