You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I originally posted under this issue where someone had detailed the problem I was having in a different Cypress repository - I was advised to move the post to here by @nagash77.
The code given in cypress/e2e/practice/network-request.cy.js is:
describe("Network Requests",()=>{beforeEach(()=>{cy.intercept("GET","http://localhost:3000/api/posts",(req)=>{// this is to disable browser caching// https://glebbahmutov.com/blog/cypress-intercept-problems/deletereq.headers["if-none-match"];}).as("posts");cy.visit("http://localhost:3000");});
The error is:
Can someone please explain why this is happening and how to fix it? I'm new to Cypress and trying to learn. Thanks :)
The text was updated successfully, but these errors were encountered:
I originally posted under this issue where someone had detailed the problem I was having in a different Cypress repository - I was advised to move the post to here by @nagash77.
The issue is NOT in this repository - it's in an archived repository https://github.com/cypress-io/cypress-realworld-testing-blog
The code given in cypress/e2e/practice/network-request.cy.js is:
The error is:
Can someone please explain why this is happening and how to fix it? I'm new to Cypress and trying to learn. Thanks :)
The text was updated successfully, but these errors were encountered: