Intorduciton - To - Testrunner - Skip - Only - Selectors
Intorduciton - To - Testrunner - Skip - Only - Selectors
Recap!
locate the UI component by using spy icon with in the web page and copy the
respective cypress command from the playground
paste it in the console => F12 >> console tab in the developer option
1. if mouseover on the describe block in the test runner then you can able to see
a torch icon to add a new test => new it block
enter the web url and record the customer actions
right click and add assertions => add verifications
2. if mouseover on the it block in the test runner then you can able to see a torch
icon to add a test step to the existing it block
record actions like customer
right click and add assertions
======================================================
More assertions for your easy understanding the verifications in the cypress.
We want to understand what are the css selectors we would like to use in cypress to
locate the element.
=> browser developer options
=> selectorshub /chropath ....etc
=======================================================
1. npx cypress open in the project terminal of the VScode
JavaScript => JS
provides actions or functionality