Today I Learned - Rocky Kev

Tagged “cypress”

  1. TIL Scoping with Cypress

    So you wanted to find a specific element called `heading`. But you have a BUNCH of elements called `heading`. By using `within()` helper, you can force it to only look inside `main` elements.

  2. TIL about Cypress Custom Commands

    Today I learned adding custom commands to Cypress to abstract common patterns, using the Cypress.Commands.add()

See all tags.