Cypress - Assertions
Find the mistake in this assertion:
expect(response.status).to.equal 200;
expect(response.status).to.equal 200;
equal requires parentheses: equal(200).response.status is a common property, and semicolon is optional in JS.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions