Cypress: Feature: System notification on failure of test(s)

Created on 13 Jul 2018  路  2Comments  路  Source: cypress-io/cypress

Current behavior:

Test failure shows up in the Cypress app.

Desired behavior:

In much the same way that you can do a Gulp notification using gulp-notify to show a system notification for, perhaps, an ESLint failure, it would be great to also be able to do this with Cypress when a test fails. The use case is running the Cypress app in the background running your tests against your local development environment while you develop. I have Cypress running and every time I save my JS files Cypress silently runs the tests. Unless I click over to the app and see I've broken something, I won't know that a test is failing.

This type of real-time feedback would be huge on every save to catch if you've just caused a regression to happen with your latest changes. I would love it if I didn't have to go back to the app to check if something is failing every time and be notified of this.

Versions

All.

3锔忊儯 pkdesktop-gui ready for work feature

Most helpful comment

Thanks for opening this issue. We actually did discuss this before and felt this was a great idea. 馃憤

We would likely implement this through Electron's Notifications

All 2 comments

Thanks for opening this issue. We actually did discuss this before and felt this was a great idea. 馃憤

We would likely implement this through Electron's Notifications

We can implement this with node-notifier. But it might mean to bundle some exe files into our electron bundle. While the file sizes are small (<1MB combined), but I cannot be sure if it's OK to add them or not.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stormherz picture stormherz  路  3Comments

zbigniewkalinowski picture zbigniewkalinowski  路  3Comments

scottcrowe picture scottcrowe  路  3Comments

jennifer-shehane picture jennifer-shehane  路  3Comments

rbung picture rbung  路  3Comments