Cypress Installation & Setup | Cypress Testing

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 11

  • @hamletgordillo2560
    @hamletgordillo2560 2 года назад

    Just started your course and just wanted to come in and say that this is absolutely excellent so far! Thank you for what you've done and I've signed up as a member to your channel to help support and hopefully get more great Cypress tutorials.

    • @sdetunicorns
      @sdetunicorns  2 года назад

      Thank you for becoming a member! And, really appreciate your comment :)

  • @NeverCodeAlone
    @NeverCodeAlone 2 года назад +1

    Thx a lot I love to write tests with it

    • @sdetunicorns
      @sdetunicorns  Год назад

      Glad you enjoyed the content. We have created multiple courses that takes our students from ground level. If you want to become a full stack Automation engineer, Please check out the academy at: sdetunicorns.com/courses/

  • @kairunbee1914
    @kairunbee1914 2 года назад

    Hi,
    Is it possible in cypress
    to create dependent it block
    If first it block fails then second third block etc should not get executed
    If first block passed and second block failed then execute third block

    • @sdetunicorns
      @sdetunicorns  2 года назад

      This is usually not a good practice as your tests shouldn't be dependant on each other. However, if you still need to do it you can refer to this post - rajneesh-m49.medium.com/skipping-cypress-tests-on-first-failure-and-saving-resources-2c63e3bb0705

  • @hayathbasha4519
    @hayathbasha4519 3 года назад

    In cypress on each cy.visit
    How to wait until networkidle
    Pls advise

    • @sdetunicorns
      @sdetunicorns  3 года назад

      cypress would wait automatically for the page to load. To wait for a particular element you can do this -
      cy.get('[data-test=submitIsVisible]', { timeout: 10000 }).should('be.visible');

  • @ankur3334
    @ankur3334 3 года назад

    it shows me error on doing "npx Cypress Open"
    This command failed with the following output: Cypress.exe --smoke-test --ping=906
    Could you help in understanding the root cause?

    • @sdetunicorns
      @sdetunicorns  3 года назад +1

      Seems to be related to opening the Cypress application. You can look into this stack overflow answer to see if it can help you out - stackoverflow.com/questions/56554552/nrwl-nx-and-cypress-verification-timing-out-with-failed-smoke-test-in-windows

    • @NeverCodeAlone
      @NeverCodeAlone 2 года назад

      @@sdetunicorns Thx for answer and link