{"repo":"archfz/cypress-terminal-report","free":true,"listed":false,"github":"https://github.com/archfz/cypress-terminal-report","clone":"git clone https://github.com/archfz/cypress-terminal-report.git","description":"Plugin for cypress. Logs to terminal and files, mimicking cypress UI.","language":"TypeScript","stars":537,"topics":["cypress","output","print","console","ci","pretty","cli","hacktoberfest","log","terminal"],"license":"MIT","category":"cli-tools","readme_excerpt":"Cypress terminal report This documentation is for cypress = 12.0.0. For older versions see 4.x.x or 3.x.x branch. Limitations • Install • Options • Integrations • After/before all • Logging to files • Development • Release Notes Plugin for cypress that adds better terminal output for easier debugging. Prints cy commands, browser console logs, cy.request and cy.intercept data. Great for your pipelines. - looks pretty in console - logs all commands, requests and browser console logs - supports logging to files - option between logging only on failure (default) or always - options for trimming and compacting logs - support for multiple and nested mocha contexts - log commands from before all and after all hooks (with a catch\\ ) Try it out by cloning cypress-terminal-report-demo. Limitations and notes - By default logs are not printed for successful tests. Please see option to change this. - console.log usage was never meant to be used in the cypress test code. Using it will not log anything with this plugin. Using it also goes against the queue nature of cypress. Use cy.log instead. See here for more details. Install Requirements - =4.0.0 requires cypress =10.0.0 and node =12 - =3.0.0 requires cypress =4.10.0 - =3.8.0 1. Install npm package. 2. If using typescript and es6 imports ensure esModuleInterop is enabled. 3. Register the output plugin in cypress.config.{js ts} 4. Register the log collector support in cypress/support/e2e.{js ts} Options Options for the plugin install req","default_branch":null,"files":null,"tree":[],"storefront":"/r/archfz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/archfz/cypress-terminal-report/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}