SK
начиная с
Application actions
Imagine that instead of always entering new items via the UI we could set the state of the application directly from our test. Because Cypress architecture allows interacting with the application under test, this is simple. All we need to do is to expose a reference to the application’s model object by attaching it to the window object for example.
и дальше всю дорогу об этом. А в конце
In the above implementation, the application code cannot do the login using the same method as cy.request. Thus the end-to-end tests should call cy.request() and not invoke an application action
and not invoke an application action
- звучит как будто call cy.request() - это не апп экшэнс.может, конечно, я и не правильно все понял 🤷♂