https://cypress.io logo
Hi there, just want to ask if there is a way I can...
# best-practices
b
Hi there, just want to ask if there is a way I can pass set aliases to separate
it()
Copy code
js
it('navigate to order', function() {
    // ...

    cy.intercept('POST', '/api/product/search')
        .as('postProdSearch')
})

it('check order', function() {
    // ...

    cy.wait('@postProdSearch')
})
I would like to use the
@postProdSearch
, not sure if that is possible?