Why "page.goto()" is slowing down your tests

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 30

  • @alleluiaizimpamvu9971
    @alleluiaizimpamvu9971 4 หลายเดือนก่อน +2

    I am starting falling in love with your concise content on Playwright

    • @ChecklyHQ
      @ChecklyHQ  4 หลายเดือนก่อน

      Thanks! 💙 Happy it's been valuable!

  • @Muhammad55597
    @Muhammad55597 4 หลายเดือนก่อน +4

    that's a wonderful explanation, the best channel to deliver Playwright content

    • @ChecklyHQ
      @ChecklyHQ  4 หลายเดือนก่อน

      Thank you! 💙

  • @MarkDuivesteijn
    @MarkDuivesteijn 11 วันที่ผ่านมา +1

    Very clear explanation, thanks for that. I just tried various options and tests started to fail and the tests that didn't, were not really much faster. I have to admit that they also spend time here in making sure the website is fast. So if this saves a lot of time on your project, go for it. But for me it was not enough of a time save to even look into why some failed. I just left it to the default and all 85 tests work in under a minute anyway.

    • @ChecklyHQ
      @ChecklyHQ  9 วันที่ผ่านมา

      Thanks Mark. :) Thanks for sharing your experience and happy to hear that you're firing 85 tests running in under a minute. 💪
      The primary focus of this video was to explain what `page.goto` waits for while pointing out that many applications have hydration issues.
      Of course, if things work for you (and are fast enough), go for it, too! 💙🦝

  • @Matkotech
    @Matkotech 4 หลายเดือนก่อน +11

    Great content, you should make complete advanced Playwright course! 💪☺️

    • @tehsu4u
      @tehsu4u 4 หลายเดือนก่อน

      Absolutely, he is playwright expert and it would be handy.

    • @ChecklyHQ
      @ChecklyHQ  2 หลายเดือนก่อน

      Maybe one day. 😊 But for now you can expect all the Playwright content to show up here on the Checkly YT channel. :)

  • @seekerofsense
    @seekerofsense 3 หลายเดือนก่อน +1

    Superb explanation as always, glad you've become a Playwright ambassador

    • @ChecklyHQ
      @ChecklyHQ  3 หลายเดือนก่อน

      Thanks. Yeah, I've been an ambassador for quite a while but missed showing it in the videos. 🫣

  • @NelsonAkujiobi
    @NelsonAkujiobi 4 ชั่วโมงที่ผ่านมา

    Thank you so much for your content so far. Can you do a series where you use Playwright to automate a real-life production app? This would be greatly appreciated.

  • @glebmirosnikovs6722
    @glebmirosnikovs6722 หลายเดือนก่อน

    Great staff, thank you for your effort!

  • @berhell.videos
    @berhell.videos 4 หลายเดือนก่อน

    Stefan, you're content is always cool!!! Thanks for this one!

    • @ChecklyHQ
      @ChecklyHQ  4 หลายเดือนก่อน

      Thanks for the kind words! 💙

  • @feralgoose7157
    @feralgoose7157 4 หลายเดือนก่อน

    Thanks, this was implemented so long ago, so now you saved me time in my runs. Interested in other tips, hard to keep up with all these tweaks.

  • @HossamEldinMohamed3
    @HossamEldinMohamed3 4 หลายเดือนก่อน +1

    Excellent explanation. Thanks so much.👏

    • @ChecklyHQ
      @ChecklyHQ  4 หลายเดือนก่อน

      Happy it's been valuable. 💙

  • @serdarfesli2433
    @serdarfesli2433 4 หลายเดือนก่อน

    great videos as always.

    • @ChecklyHQ
      @ChecklyHQ  4 หลายเดือนก่อน

      Glad you like them! 😊

  • @DavidHill1980
    @DavidHill1980 4 หลายเดือนก่อน +3

    better then Microsoft

  • @claudsammy
    @claudsammy 4 หลายเดือนก่อน

    Great tip as always!! Love your work! How do you write tests if you MUST handle situations where the developers use bad-form lazy loading which allows users to interact when they shouldn't be able to? As you mentioned, this is a common problem. It would be good to get some tips/tricks on that!

    • @ChecklyHQ
      @ChecklyHQ  2 หลายเดือนก่อน +1

      It's a tricky problem to solve for sure. When I really MUST work around I tend to rely on `toPass` -> th-cam.com/video/8g7FvoRToGo/w-d-xo.html

  • @andreaskarz
    @andreaskarz 4 หลายเดือนก่อน

    Ganz geil, merci 🙂

  • @_firearmy
    @_firearmy 4 หลายเดือนก่อน +1

    Thank you for wonderful explaination video about page.goto. 👏👏 Could you please share your test report tool shown in 07:44 minutes. Pls consider a video about your tool. 😇

    • @ChecklyHQ
      @ChecklyHQ  4 หลายเดือนก่อน

      That is Checkly - our tool. 🫣 You can find more info about it on checklyhq.com.
      In a nutshell and very brief: Checkly enables you to run and schedule your Playwright scripts to receive timely alerts when something's off with your prod site. :)
      And we have more videos about it here on the channel. :) 👇
      th-cam.com/play/PLMZDRUOi3a8M95AwN8fWKL8VA5OJ73kJc.html

  • @lemontec
    @lemontec 28 วันที่ผ่านมา

    7:02 also prefer progressive enhancement. Your login form doesn’t need to wait for JavaScript to be ready to work (unless you use some spam protection which you could also do server side). In Next use a server action to submit the form via the action attribute.

    • @ChecklyHQ
      @ChecklyHQ  28 วันที่ผ่านมา

      That's right. 💯 If you're building with progressive enhancement you're not running into these problems in the first place. :) This section explicitly calls out ways to deal with poor hydration patterns when you rely on JS.

  • @note-dhan
    @note-dhan 4 หลายเดือนก่อน +1

    I love your tutorial please create course playwright with TS on udemy 😁

    • @ChecklyHQ
      @ChecklyHQ  2 หลายเดือนก่อน

      Thank you! Mayb i'll do that one day, but for now the Playwright content will stay here on the Checkly YT channel. :)