You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Yeonguk Choo <ch...@ubuntu.com> on 2026/03/12 11:04:40 UTC

[CONTRIBUTION OPPORTUNITY] Improve Playwright E2E test patterns in Airflow UI

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  choo121600@ubuntu.com <ch...@ubuntu-kr.org>
FB23 00B5 EAA3 EBF0 FDD6 C2B9 BE7A 512C BC72 067A

Re: [CONTRIBUTION OPPORTUNITY] Improve Playwright E2E test patterns in Airflow UI

Posted by Yeonguk Choo <ch...@apache.org>.
@ShubhamGondane @haseebmalik18 @statsops @Pyasma @Desel72 @korex-f @sjyangkevin @MFWhen @bittoby @hussain-s @tysoncung @kimimgo
Thanks everyone for all the help on this effort 🙌

We were able to clean up and align a large portion of the Playwright E2E test suite, and I really appreciate everyone who contributed across the many sub-issues and PRs.

There are still a few flaky cases we may continue addressing separately, but I think we can consider the main goal of this meta issue completed. Thanks again 🎉🎉🎉

On 2026/03/12 11:04:40 Yeonguk Choo wrote:
> 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  choo121600@ubuntu.com <ch...@ubuntu-kr.org>
> FB23 00B5 EAA3 EBF0 FDD6 C2B9 BE7A 512C BC72 067A
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@airflow.apache.org
For additional commands, e-mail: dev-help@airflow.apache.org


Re: [CONTRIBUTION OPPORTUNITY] Improve Playwright E2E test patterns in Airflow UI

Posted by Rahul Vats <ra...@gmail.com>.
This is great! Thanks for leading the optimization work, Yeonguk.

Regards,
Rahul Vats



On Thu, 12 Mar 2026 at 22:23, Pierre Jeambrun <pi...@gmail.com> wrote:

> Sounds good! Thank you for leading this initiative Yeonguk.
>
> On Thu, Mar 12, 2026 at 12:05 PM Yeonguk Choo <ch...@ubuntu.com>
> wrote:
>
> > 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  choo121600@ubuntu.com <ch...@ubuntu-kr.org>
> > FB23 00B5 EAA3 EBF0 FDD6 C2B9 BE7A 512C BC72 067A
> >
>

Re: [CONTRIBUTION OPPORTUNITY] Improve Playwright E2E test patterns in Airflow UI

Posted by Pierre Jeambrun <pi...@gmail.com>.
Sounds good! Thank you for leading this initiative Yeonguk.

On Thu, Mar 12, 2026 at 12:05 PM Yeonguk Choo <ch...@ubuntu.com> wrote:

> 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  choo121600@ubuntu.com <ch...@ubuntu-kr.org>
> FB23 00B5 EAA3 EBF0 FDD6 C2B9 BE7A 512C BC72 067A
>