I have an input field that pipes to an Angular pip...
# help
f
I have an input field that pipes to an Angular pipe that then calls a service to accomplish runtime lookahead based on server output. When I type I can see the network call being made, but then when I wait for the response it times out saying it was never called. This is what I tried:
Copy code
typescript
cy.intercept('get', '/employee/*', {fixture: 'employees'})
    .as('employees')

cy.get('igx-drop-down-item').should('not.exist')
cy.get('input').type('bob')

cy.wait('@employees')
    .its('response.body')
    .then(....)
I feel like I have a chicken and egg problem here.
3 Views