Write Playwright Tests in Seconds with ChatGPT!?

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

КОМЕНТАРІ • 20

  • @alexanderkomanov4151
    @alexanderkomanov4151 День тому

    Thanks for your video.
    What about searchgpt, that can access the web. Or maybe perplexity, that also can go to the web sources.

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

    Nice video Stefan!
    you should try using the new claude computer use API, it will opens up a lot more possibilities, for example I think we can omit the html/css/js context to the prompt

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

      Great idea! I'll put it on the list because I'm planning a series and this video is only part 1. 🫣 Thank you!

  • @alejandrosejas
    @alejandrosejas 2 дні тому +1

    great content, perhaps you could showcase how, codegen generated code can then be updated to use POM and omit clicks() etc using CursorAI

    • @ChecklyHQ
      @ChecklyHQ  2 дні тому +1

      Yes! This is only part one of a planned series. Cursor and Copilot are next. And I'm very grateful for every suggestion. Thank you! 🦝

    • @alejandrosejas
      @alejandrosejas 21 годину тому

      @@ChecklyHQ@ChecklyHQ, we are very grateful that you and your team keep releasing this quality of content! It is really useful, and I've learned a lot from your videos. Please keep them coming! 🎭

  • @ppp.1334
    @ppp.1334 День тому

    Cool,
    But what happend when you have more complex issue
    With more files
    Like passing context etc
    -
    I have problem too keep browser connections
    When one test finishes and another should be run the same session,
    Any suggestions?

  • @sen86sen
    @sen86sen День тому +2

    have you tried with snapshots feature which is released today ??

    • @ChecklyHQ
      @ChecklyHQ  19 годин тому +1

      I haven't checked the new feature yet, but I might play around with it next week. :)

    • @sen86sen
      @sen86sen 13 годин тому

      @ thanks for your reply

  • @og4789
    @og4789 День тому

    Very impressive, Thank you for your efforts!

    • @ChecklyHQ
      @ChecklyHQ  День тому

      My pleasure! 🦝

    • @og4789
      @og4789 День тому

      Do you know the command for codegen in case of using .env files?

    • @ChecklyHQ
      @ChecklyHQ  19 годин тому

      @@og4789 I'm not sure I understand. How do .env files relate to codegen?

    • @og4789
      @og4789 18 годин тому

      So baseURL from env variables I have to type always manually into npx playwright codegen command right?

  • @Muhammad55597
    @Muhammad55597 День тому

    the best content for playwright 👌

  • @Kabbinj
    @Kabbinj День тому +1

    First mistake was to use gpt4, instead of o1. It would probably have been able to do more with less.
    Anyways, you do not use chatgpt for this, and you mention, you need custom built in tools that can on their own, in an iterative fashion, fetch the data they need to keep writing the test.

    • @ChecklyHQ
      @ChecklyHQ  19 годин тому

      Thanks for the tip. I just played with o1 a little bit and I couldn't find a real improvement. Without enough context, they both fail to generate good code, and with enough context, roles and rules, they both succeed.
      > you do not use chatgpt for this
      I 100% agree with you; I took this example as the kick-off, because I've literally seen these instructions in some docs: "To get started with Playwright, head over to ChatGPT and tell it what it should do"... And I'm not kidding. 🫣

  • @kapilkapoor7191
    @kapilkapoor7191 День тому

    Honestly I loved the content.

    • @ChecklyHQ
      @ChecklyHQ  День тому

      Thank you! Glad it was valuable! 🦝