Document TS for common methods better #1117
Labels
topic: typescript
type: enhancement
Requested enhancement of existing feature
type: user experience
Improvements needed for UX
Milestone
Cypress 1.4.0
I looked at the IntelliSense popups in the project https://github.com/cypress-io/cypress-example-todomvc and the results are not very useful. While they could be useful (there is some formatting that I had to adjust on
cy.type
example to get this to work) like forcy.type
Many other code popups were useless.
For example,
cy
itself needs to be documentedcy.visit
is ok, but the example needs to be tweaked to be displayed properly. Here is what worksThe example is indented without any other text
cy.get
is scarycy.should('have.class'...)
and other assertions need documentationThe text was updated successfully, but these errors were encountered: