Creating Assertions

Pragati Sharma: That's about the assertion since I talked about we have inbuilt assertions here so we can actually check that the URL that we visited is correct or not. So here it is a should operator, and we can use a keyword called equals, and then we can just compare it with the URL, right? This is what we have done. Let's try and test if this works for a minute we use package runner Cypress open again. Now we have todo spec here and let's try and run it. And the assertion has got past awesome. 

Comments are closed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}