Skip to content

chore(playwright): add click method to promise assertion lint checks #29740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 31, 2024

Conversation

sean-perkins
Copy link
Contributor

Issue number: N/A


What is the current behavior?

Ionic Framework has a set of custom lint assertions to avoid creating flaky Playwright tests by forgetting to await a promise. However the click method was not included in the original list of methods to check.

What is the new behavior?

  • Developers will receive a lint error when forgetting to await click methods from Playwright
  • Resolves existing tests where this lint issue was present

Does this introduce a breaking change?

  • Yes
  • No

Other information

Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 6:25pm

@github-actions github-actions bot added the package: core @ionic/core package label Jul 30, 2024
@sean-perkins sean-perkins marked this pull request as ready for review July 30, 2024 18:53
@sean-perkins sean-perkins requested a review from a team as a code owner July 30, 2024 18:53
@sean-perkins sean-perkins requested a review from thetaPC July 30, 2024 18:53
Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

@sean-perkins sean-perkins added this pull request to the merge queue Jul 31, 2024
Merged via the queue into main with commit bf60712 Jul 31, 2024
48 checks passed
@sean-perkins sean-perkins deleted the sp/playwright-lint branch July 31, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants