Skip to content

Conversation

@bahmutov
Copy link
Contributor

using cy.route2 in file examples/stubbing-spying__route2/cypress/integration/stub-fetch-spec.js
to add CSS to styles.css used by the app

Sometimes it works

Screen Shot 2020-09-29 at 3 28 27 PM

but other times it does not

Screen Shot 2020-09-29 at 3 38 53 PM

seems the response body is empty? Maybe caching in the browser?

@bahmutov bahmutov requested a review from flotwig September 29, 2020 19:51
@bahmutov
Copy link
Contributor Author

Also cypress-io/cypress#8694

@bahmutov
Copy link
Contributor Author

made it work by removing caching headers when forwarding the request to the server

@bahmutov bahmutov marked this pull request as ready for review September 29, 2020 20:14
@bahmutov bahmutov merged commit 47deaff into master Sep 29, 2020
@emilyrohrbough emilyrohrbough deleted the intercept-css-using-route2 branch November 22, 2022 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants