Skip to content

Improve Playwright test patterns in BasePage.ts #63038#63079

Merged
choo121600 merged 2 commits intoapache:mainfrom
haseebmalik18:e2e/improve-basepage-patterns
Mar 8, 2026
Merged

Improve Playwright test patterns in BasePage.ts #63038#63079
choo121600 merged 2 commits intoapache:mainfrom
haseebmalik18:e2e/improve-basepage-patterns

Conversation

@haseebmalik18
Copy link
Copy Markdown
Contributor

Refactor BasePage.ts to align with Playwright best practices.

  • Replace CSS :has-text() with getByRole() locator
  • Remove unnecessary currentUrl variable in isLoggedIn()

closes: #63038

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Mar 7, 2026
@haseebmalik18 haseebmalik18 reopened this Mar 8, 2026
Copy link
Copy Markdown
Member

@choo121600 choo121600 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ;)
Thanks, @haseebmalik18

@choo121600 choo121600 merged commit 70d45f0 into apache:main Mar 8, 2026
78 checks passed
wjddn279 pushed a commit to wjddn279/airflow that referenced this pull request Mar 9, 2026
…63079)

Co-authored-by: Yeonguk Choo <choo121600@gmail.com>
dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
…63079)

Co-authored-by: Yeonguk Choo <choo121600@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E: Improve Playwright test patterns in BasePage.ts

2 participants