Not making useless assertions

When we utilize Cypress’s automatic assertions feature, we can avoid redundant assertions and make our tests easier to understand. Cypress takes care of verifying positive responses to requests and the existence of specific text on a page.

Get hands-on with 1200+ tech skills courses.