Today we are going to build real test case for the youtube website using Cypress!
##Preps
- execute
npm install
- execute
npm run cypress:open
- in the opened cypress window run the example test '1-getting-started' which is provided by Cypress
- Open "cypress/integration/2-youtube-exercise" folder, here is our empty test cases are
- Implement these test cases and see how youtube app is getting tested by you!
- page was loaded and can see youtube logo and at least one video in the list
- search for "Harry Potter vs star wars" movie with 33M views
- open video and check that it has author block and views are more than 33M
- BONUS: click share button and check that share url is https://youtu.be/9N5KyjM5v0c
- BONUS: Come up with at least 3 problems that you see in the tests you wrote and how would you solve them