0👍
✅
For checking the title you have to use cy.title()
. So in your case it would be:
cy.title().should('eq', 'User Registration')
0👍
it has been like this for most ide that are online the title appears when you just don’t use third party tools like cypress and use a normal ide and save it on the file running without running and saving using other sites online….
even if you open and take a look at the code using CTRL + SHIFT + I it will show you the code and there you can clearly see that the title haven’t been changed
Source:stackexchange.com