I am using Angular as the front-end for an electron application.
Scenario: There are two input fields and a button on the Angular side. When the fields are filled and the button is clicked, an OS Notification is send.
How can we unit test the notifications on electron and also test behaviour using Cucumber?
Is there any way to mock the ipc communication from renderer to the main page?
I am using Spectron for Unit tests and Cucumber-Electron for BDD.
Aucun commentaire:
Enregistrer un commentaire