This year I am producing "Cypress vs Playwright Advent Calendar" on my Cypress Tips newsletter.
- Day 1: global vs local variables
- Day 2: The difference in test command syntax
- Day 3: DOM Snapshots vs live application
- Day 4: Where do the end-to-end tests run?
- Day 5: Locators and selectors
- Day 6: Composite locators vs query chains
- Day 7: Comparing the test runner release frequencies
- Day 8: Completing todo items and checking CSS classes
- Day 9: Waiting for page elements
- Day 10: Make a network call before each test to rest the backend data
- Day 11: Using API calls rather than UI to set up the initial test state
- Day 12: Use data from a JSON fixture file in your test
- Day 13: Hovering over an item before deleting it
- Day 14: Checking the text of multiple elements
- Day 15: Waiting for a network call to happen
- Day 16: Check the data sent by the server to the browser
- Day 17: Stub the GET /todos network call
- Day 18: Stub GET and POST /todos network calls
- Day 19: Check the sent Todo object
This advent calendar is based on my online course “Cypress vs Playwright“ and open-source workshop bahmutov/cypress-workshop-cy-vs-pw