Missing parts of documentation for Cypress.log - end, finish, get, st, snapshot
See original GitHub issueI’m submitting a…
[ ] Bug report
[X] Content update
[ ] Process update (build, deployment, ... )
Type of bug / changes
https://docs.cypress.io/api/cypress-api/cypress-log.html#Syntax
There is no information what are these methods for and how to use them. In case you don’t wan to update documentation, could you explain here what are these for?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Introduction | Cypress Documentation
What you'll learn An overview of Continuous Integration How to run Cypress tests in Continuous Integration How to configure Cypress in various CI....
Read more >screenshot - Cypress Documentation
Screenshots in CI You can see screenshots taken during a CI run in Cypress Cloud without any extra work. Alternatively, to see screenshots...
Read more >Screenshots and Videos - Cypress Documentation
Cypress comes with the ability to take screenshots, whether you are running via cypress open or cypress run , even in CI. To...
Read more >End-to-End Snapshot Testing - Cypress
This blog post shows how the Cypress Test Runner can bring the same power to your end-to-end tests. Experimental feature. This document shows...
Read more >Cypress Tips and Tricks - Gleb Bahmutov
A few tips on getting the most out of E2E testing tool Cypress ... Find good Cypress examples; Use cy.log to print to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The best documentation currently for Cypress.log can be found in this great blog post: https://filiphric.com/improve-your-custom-command-logs-in-cypress Everything in there is accurate.
@fzyzcjy from experiments we have made it looks like this
snapshot
function is responsible for taking DOM snapshots for the Cypress runner, but I don’t know yet how to use it 😉Edit: from the example above I can guess that you can take 2 snapshots “before” and “after” and they will be displayed for your custom log when you click on it, just like you would click on a cy.click() command