Тёмный

Add Type Checking and Linting to your Playwright Project 

Подписаться
Просмотров 2,3 тыс.
% 99

In today's video, we're exploring the fact that Playwright doesn't type check your code when using TypeScript. We'll explore what this means and discuss why this could be an issue, especially for larger projects.
Then we set up type checking and add "typescript-eslint" to strengthen and improve your Playwright code.
Join us for this deep dive and leave any questions or comments below. Stay tuned for more Playwright tips!
Blog post: www.checklyhq.com/blog/playwright-type-checking-and-linting/
Example code: github.com/checkly/playwright-examples/
TypeScript ESlint: typescript-eslint.io/
Checkly Synthetic Monitoring: www.checklyhq.com/product/synthetic-monitoring/
0:00 Intro
0:24 Playwright Test doesn't check types
2:03 Why is type checking important?
2:45 How to add type checking to your Playwright project
5:34 Common Playwright mistakes
6:20 How to detect common Playwright mistakes with linting
10:15 What is Checkly
#playwright #checkly #typescript

Наука

Опубликовано:

 

25 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@RafaelSouza99
@RafaelSouza99 2 месяца назад
This is gonna help me a lot, one time I lost almost a hour to figure out this problem Thank you bro!!!
@ChecklyHQ
@ChecklyHQ 2 месяца назад
Yay! That's great to hear. 💪
@AKHILDABRAL
@AKHILDABRAL 14 дней назад
This will save me a lot of time, thanks for this tutorial.
@ChecklyHQ
@ChecklyHQ 14 дней назад
Happy it's been valuable. :) 🦝
@sergeygaidamaka8979
@sergeygaidamaka8979 2 месяца назад
Thanks for the few more amazing tips!
@dwane84
@dwane84 2 месяца назад
Always very useful tips! Thank you!
@ChecklyHQ
@ChecklyHQ 2 месяца назад
Glad it was helpful!
@og4789
@og4789 Месяц назад
Great again, can you make also a video about formatting (eslint sylistic or prettier) ? Thank you
@ChecklyHQ
@ChecklyHQ Месяц назад
I'm not sure about it. Is there a Playwright-specific angle to automattic code formatting? 🤔
@alleluiaizimpamvu9971
@alleluiaizimpamvu9971 2 месяца назад
Thanks for the amazing tips
@tymczasowy_nick
@tymczasowy_nick 2 месяца назад
Thank you! Great content :)
@ChecklyHQ
@ChecklyHQ 2 месяца назад
Thank you!
@Sarath-v8e
@Sarath-v8e 2 месяца назад
Thanks for the tip
@tomasgomez1480
@tomasgomez1480 2 месяца назад
Very helpfull video! In real big project, it is necessary to add more eslint configuration? thanks
@ChecklyHQ
@ChecklyHQ 2 месяца назад
More linting and safety is always better. I haven't looked into more rules that a specificely helpful for PWT development though. If you find any, please let me know. :)
@tomasgomez1480
@tomasgomez1480 2 месяца назад
@@ChecklyHQ thanks for the quick answer. Im gonna investigate
@zzanghayeon
@zzanghayeon 2 месяца назад
잘보고있어요 thank you!