You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "choo121600 (via GitHub)" <gi...@apache.org> on 2026/05/04 04:02:42 UTC
Re: [PR] Improve Playwright test patterns in connections e2e tests [airflow]
choo121600 commented on code in PR #66058:
URL: https://github.com/apache/airflow/pull/66058#discussion_r3179331521
##########
airflow-core/src/airflow/ui/tests/e2e/pages/ConnectionsPage.ts:
##########
@@ -224,7 +225,10 @@ export class ConnectionsPage extends BasePage {
if (details.extra !== undefined && details.extra !== "") {
const extraAccordion = this.page.getByRole("button", { name: /extra fields json/i });
- const accordionVisible = await extraAccordion.isVisible({ timeout: 5000 }).catch(() => false);
+ const accordionVisible = await extraAccordion
Review Comment:
Is there a specific reason for choosing `waitFor({ state: "visible", timeout: 5000 })` over `isVisible({ timeout: 5000 })`?
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org