How to write end-to-end test using app and api actions

1 · Gleb Bahmutov · Aug. 2, 2019, 12:19 p.m.
Note: the source code for this blog post is in repo cypress-io/cypress-example-realworld in the pull request #55.First testSecond testApp actionApi actionEnd-to-end browser tests do not have to go every time through the DOM interface to exercise the web application. In fact, doing so would make the end-to-end tests terribly slow and inefficient. In this post I will show a concrete example that bypasses the HTML interface for all the but the first test, yet keeps covering the same amount of code ...