https://angular.love/modern-e2e-testing-for-angular-apps-with-playwright #445
Replies: 3 comments 2 replies
-
| 
         Hello, this is a great article — kudos! I have one question. You're creating an Element class with action methods like fillInput and clearInput. This way, the test contains only high-level abstractions, allowing 100% focus on user behavior and keeping the tests framework-agnostic. What’s your take on this approach?  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         In the footer, X social media icon is not visible.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         I have been undertaking a large project to convert our cypress tests over to playwright. One thing I keep bumping into is opening a form and adding a value to a form control. It seems to really be affected when I open a modal that has an ngForm. I will call .pressSequentially and while the input control is available and visible the typing does not happen. I am assuming it is angular still getting the control ready so I added a check to make sure ng-pending was not on any element. The only thing that ended up working is waitForTimeout calls. I was wondering if you have run into this issue. Oddly enough, when I run this against an ng serve app I don't have a problem but when running against my prod build it is a very large problem.  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
https://angular.love/modern-e2e-testing-for-angular-apps-with-playwright
Angular.love - a place for all Angular enthusiasts created to inspire and educate.
https://angular.love/modern-e2e-testing-for-angular-apps-with-playwright
Beta Was this translation helpful? Give feedback.
All reactions