Design Patterns for sustainable automatic E2E Tests with cypress - Christian Dangl

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2022
  • Welcome to the fifth event of the Cypress DE Community Group! 🎉
    Design Patterns for sustainable automatic E2E Tests - Christian Dangl
    If your automated E2E tests easily fail, or if it’s just hard to maintain them, then this talk is perfect for you! Christian will tell you everything you need to know about test stabilization and code quality improvements using OOP and design patterns in your E2E tests.
    Learn advanced development techniques with real-world examples, build scenarios, handle different versions of your host platform (for plugin developers) and run your tests automatically in pipelines.
    Christians Twitter: / boxblinkracer
    Chrstians Linkedin: / cdangl
    Join our meetup community: www.meetup.com/de-DE/cypress-...
    Discord: / discord
    Twitter: / decypressusers
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @mahdikhashan
    @mahdikhashan ปีที่แล้ว +5

    It was a rich content and well-implemented pattern for scalability and stability of E2E tests. Thank you and hats off!

  • @nson22
    @nson22 ปีที่แล้ว +4

    00:01 Introduction
    2:42 Test Stability
    4:05 Goals
    5:36 Basics
    10:39 POM - Page Objects Pattern
    16:06 Cypress Commands
    17:39 Keyword Driven (Actions) + Object Repository
    26:00 Scenarios
    29:26 Advanced "Godies" - Host Platforms Versions
    33:11 Advanced "Godies" - Local/Remote Testing
    34:18 Pipelines
    42:25 Eding

  • @bubinasuit
    @bubinasuit ปีที่แล้ว +2

    This is a really good talk thank you

  • @cephasdike8429
    @cephasdike8429 ปีที่แล้ว +1

    This is insightful..nice video

  • @snwdn
    @snwdn ปีที่แล้ว +1

    I learned a lot, thank you

  • @NeverCodeAlone
    @NeverCodeAlone 2 ปีที่แล้ว +4

    Hallo Freunde, sehr schön und vielen Dank. Wollt ihr mal was mit uns live auf YT machen?

  • @Doctor_Frog_9000
    @Doctor_Frog_9000 ปีที่แล้ว +1

    Looks great!, sadly I'm too low level to understand some things by the moment. Thanks.

  • @greywandster9759
    @greywandster9759 2 ปีที่แล้ว +3

    First of all, Thanks you for explaining the various Design Patterns. This opens up endless possibilities as per the application under test.
    One question I had is. If we are writing actions, how do we assert something in between the steps performed in the action.
    For example. The action contains a list of steps to fill a form.
    I want to assert whether my application has a green check box besides the postal code field, after it validates whether its in proper format. There are few other fields to be completed , before the action is complete.
    Please, this would help me clear a lot of confusion and utilize the power of abstraction.

    • @arthurfedotiew3609
      @arthurfedotiew3609 ปีที่แล้ว

      Probably you would need do add so called hooks, which would be empty methods called by your action class between steps.
      But then you'd have to inherit the Action class and implement those methods.
      Alternatively you could of course use any other technique with composition, but from my perspective it is already too much for testing :)

  • @manee427
    @manee427 ปีที่แล้ว +1

    Thanks, I have learned a lot. Do you recommend to use cucumber with cypress for real projects, or you prefer standard normal syntax?

  • @nilanganayanajith2273
    @nilanganayanajith2273 ปีที่แล้ว

    How do we do the assertion or verification in page object or action base pattern

  • @onelortega4467
    @onelortega4467 11 หลายเดือนก่อน +1

    I do not understand in detail why it is a better option to create pages with the actions than to create multiple commands files. I would think that creating actions would be a waste of the opportunity to use the commands, could you give me a more detailed explanation please, I would appreciate it very much

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

      I have also the same question so did you get the answer for it, please let me know as well

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

    Great stuff