https://cypress.io logo
<@281033214745640960> thx for the response. I am ...
# e2e-testing
g
@chilly-magician-64042 thx for the response. I am trying a different implementation with cy.wait() but still receiving errors. Here is the code I have with the CommandLog.
Copy code
describe('visit and interact with home page', () => {
    beforeEach(() => {
        cy.intercept('GET', 'http://localhost:3001/api/*').as('getApi')
    })

    it('visit and interact with home page', () => {
        cy.visit('/')
        cy.wait('@getApi')
    })
})