https://cypress.io logo
im having issues with cy.intercept. Any time I try...
# e2e-testing
b
im having issues with cy.intercept. Any time I try to work with any part of the request, cypress hangs
Copy code
cy.intercept("POST", "**/PostAskServiceForGridData", (req) => {
      req.body =
        "SelectStoredProcedureName=SPx_IMSEL_TransactionHeaderAttributeList&CurrentDataEntityCompanySK=2&CurrentUserSK=1&QueryString=%3FTransactionHeaderSK%3D3896&ControlParameterName=TransactionHeaderSK&ControlParameter=3896&columnsToReturn=%5B%22TransactionHeaderSK%22%2C%22AttributeSK%22%2C%22TransactionAttributeSK%22%2C%22DataType%22%2C%22ControlType%22%2C%22LookupQuery%22%2C%22LookupBoundColumn%22%2C%22LookupDisplayColumn%22%2C%22IsReadOnly%22%2C%22AttributeValue%22%2C%22AttributeValueDisplay%22%2C%22AttributeDescription%22%2C%22AvailableOption%22%5D&test=false"
    })
4 Views