Is there anyway to generate cypress reports in slack #9240
Replies: 4 comments 1 reply
-
While this doesn't address the specifics of your question, I just wanted to mention that the Cypress Dashboard offers Slack Integration, which will post Cypress test results to any slack channel you set up. https://on.cypress.io/slack-integration If you have ideas for improving this feature, you can submit them in our Dashboard product board here: https://portal.productboard.com/cypress-io/1-cypress-dashboard |
Beta Was this translation helpful? Give feedback.
-
@jennifer-shehane is it possible to have this run inside /support/index.js and then do a Post ?
|
Beta Was this translation helpful? Give feedback.
-
The simplest way to get all test results so you can post them to Slack, or send anywhere really is to use our https://on.cypress.io/module-api. Here is a blog post that shows how to wrap Cypress NPM module API and post-process results https://glebbahmutov.com/blog/wrap-cypress-using-npm/ |
Beta Was this translation helpful? Give feedback.
-
@bezba Perhaps a bit late to the party, but you can use this script which I have developed a while ago, to simply send test results back to Slack, without wrapping Cypress NPM module API. |
Beta Was this translation helpful? Give feedback.
-
I wanna know if its possible to use slack webhook, to post a generated report by cypress.
if I run cypress:run that generates a report at the end is there anyway of posting that into slack channel using a webhook?I have seen people doing it in Java, but havent seen any example using javascript.
Beta Was this translation helpful? Give feedback.
All reactions