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.
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/
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
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
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');
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?
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
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.
Thank you for becoming a member! And, really appreciate your comment :)
Thx a lot I love to write tests with it
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/
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
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
In cypress on each cy.visit
How to wait until networkidle
Pls advise
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');
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?
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
@@sdetunicorns Thx for answer and link