Best Practices for Writing and Debugging Cypress Tests
watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/best-practices-for-writing-and-debugging-cypress-testssummary
Practical guidance on writing and debugging Cypress tests, covering common mistakes, how to target the correct elements (including using cy.contains for stability), and strategies to avoid flaky tests such as waiting for API calls. The session command for optimizing logins and tools like Cypress Plugin Steps and Replay for improving readability and debugging are shown, and differences between Cypress and Playwright are explored.
AI-written summary · about
related talks
46mCypress in practice — overview of the most important capabilities
13mDon't Get Lost in the Trees: An Intro to Cypress
35mCypress Tales: Effective E2E Testing
57mGaining Confidence with Cypress Tests
32mDo Not Fight Your Testing Tools
23mGaining Confidence with Cypress Tests
31mWriting (Really) Good Tests
51mCypress, Playwright or Selenium: choosing the right testing tool