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

Sdílet
Vložit
  • čas přidán 19. 01. 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
  • Věda a technologie

Komentáře • 14

  • @mahdikhashan
    @mahdikhashan Před rokem +5

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

  • @nson22
    @nson22 Před rokem +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 Před rokem +2

    This is a really good talk thank you

  • @NeverCodeAlone
    @NeverCodeAlone Před 2 lety +4

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

  • @cephasdike8429
    @cephasdike8429 Před rokem +1

    This is insightful..nice video

  • @snwdn
    @snwdn Před rokem +1

    I learned a lot, thank you

  • @Doctor_Frog_9000
    @Doctor_Frog_9000 Před rokem +1

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

  • @manee427
    @manee427 Před rokem +1

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

  • @greywandster9759
    @greywandster9759 Před 2 lety +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 Před rokem

      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 :)

  • @nilanganayanajith2273

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

  • @onelortega4467
    @onelortega4467 Před 10 měsíci +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 Před 7 měsíci

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

  • @Libturd
    @Libturd Před 8 měsíci

    Great stuff