Listen To The Application Events From Cypress Tests

1 · Gleb Bahmutov · Aug. 8, 2021, 1:50 p.m.
Often the web application uses events that flow from one part of the application to another. You might need to observe these events from the end-to-end tests to confirm the application sends them. This blog post shows how to receive the custom DOM events and jQuery events. In every case, it is important to set up the listener before the application sends the event.Observe the DOM event sent to the documentIf you prefer watching the explanation, check out the video Listen To The Application Dispa...