-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Cypress option to clear browser cache before each test #1124
Comments
Relevant stack overflow question: https://stackoverflow.com/questions/46950668/does-cypress-clear-the-browser-cache-before-each-test |
This comment has been minimized.
This comment has been minimized.
1 similar comment
+1 |
I can work around this but when I use .only to pick and choose a context(for example) I run into trouble because I refresh the database but I cant refresh the cache. |
For everyone commenting on this - by It would be helpful to have specifics including the use case for why this is necessary. |
This is going in soon - we discovered this as the root cause of another issue. At first we will hard code Cypress to clear the cache once before each time the browser is launched, but later we'll add a new |
Released in |
Hey @brian-mann ,any recent development on manual |
Weird that his has been closed however it is not yet added as a feature...? |
Cypress clears the cache once before each time the browser is launched which is what was delivered in this feature. Cypress respects the cache headers of your server. So if they are set, the browser will cache those files. Refer to #686 for the larger |
Is this a Feature or Bug?
This is a Feature
Current behavior:
I can't manage to force Cypress clear browser cache before each run
Desired behavior:
I would like some option like:
so force browser to clean cache from previous run
The text was updated successfully, but these errors were encountered: