title: Cypress - programmatically manipulating Angular/NGRX app
body: <p>How do you programmatically interact with Angular/NGRX from Cypress? The cypress docs seem to refer only to React: <a href="https://www.cypress.io/blog/2018/11/14/testing-redux-store/" rel="noreferrer">https://www.cypress.io/blog/2018/11/14/testing-redux-store/</a></p>
  
  <pre><code>// expose store when run in Cypress
  if (window.Cypress) {
    window.store = store
  }
  cy
   .window()
   .its('store')
   .invoke('dispatch', { type: 'ADD_TODO', text: 'Test dispatch' })
  // check if the app has updated its UI
  </code></pre>
  
  <p>This would be the React approach; so what about Angular?</p>