You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tests use js which makes it hard to know what each parameter type is.
We are an Angular project that uses TypeScript so it only makes sense to use it for tests too.
Going to Playwright would entail a significant rewrite of existing tests.
Moving to TypeScript is the easier option here. However, for me, the added complexity in the setup is not worth the trouble. I don't care about the missing types in the tests.
But that is a weakly held opinion. When someone is willing to do the footwork to move to playwright (while keeping the same coverage) or to move the current tests to TS, I will happily accept the PR. The reason is that while I personally don't care about types in tests, I think many developers would be happy to have them.
Activity
Harpush commentedon May 30, 2025
@SanderElias another option is moving to playwright - your thoughts?
SanderElias commentedon May 31, 2025
Going to Playwright would entail a significant rewrite of existing tests.
Moving to TypeScript is the easier option here. However, for me, the added complexity in the setup is not worth the trouble. I don't care about the missing types in the tests.
But that is a weakly held opinion. When someone is willing to do the footwork to move to playwright (while keeping the same coverage) or to move the current tests to TS, I will happily accept the PR. The reason is that while I personally don't care about types in tests, I think many developers would be happy to have them.