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

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 30

  • @MarkDuivesteijn
    @MarkDuivesteijn 14 днів тому +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  11 днів тому

      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! 💙🦝

  • @NelsonAkujiobi
    @NelsonAkujiobi 2 дні тому

    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.

  • @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!

  • @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. :)

  • @Muhammad55597
    @Muhammad55597 4 місяці тому +4

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

  • @seekerofsense
    @seekerofsense 4 місяці тому +1

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

    • @ChecklyHQ
      @ChecklyHQ  4 місяці тому

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

  • @glebmirosnikovs6722
    @glebmirosnikovs6722 Місяць тому

    Great staff, thank you for your effort!

  • @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.

  • @berhell.videos
    @berhell.videos 4 місяці тому

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

    • @ChecklyHQ
      @ChecklyHQ  4 місяці тому

      Thanks for the kind words! 💙

  • @HossamEldinMohamed3
    @HossamEldinMohamed3 4 місяці тому +1

    Excellent explanation. Thanks so much.👏

    • @ChecklyHQ
      @ChecklyHQ  4 місяці тому

      Happy it's been valuable. 💙

  • @lemontec
    @lemontec Місяць тому

    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  Місяць тому

      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.

  • @serdarfesli2433
    @serdarfesli2433 4 місяці тому

    great videos as always.

    • @ChecklyHQ
      @ChecklyHQ  4 місяці тому

      Glad you like them! 😊

  • @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` -> ua-cam.com/video/8g7FvoRToGo/v-deo.html

  • @DavidHill1980
    @DavidHill1980 4 місяці тому +3

    better then Microsoft

  • @_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. :) 👇
      ua-cam.com/play/PLMZDRUOi3a8M95AwN8fWKL8VA5OJ73kJc.html

  • @andreaskarz
    @andreaskarz 4 місяці тому

    Ganz geil, merci 🙂

  • @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. :)