Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

RuntimeCaching is not working with Protractor & Selenium automated test. #381

Open
Jodge opened this issue Feb 28, 2019 · 0 comments
Open

Comments

@Jodge
Copy link

Jodge commented Feb 28, 2019

runtimeCaching: [{
    urlPattern: /^\/$/,
    handler: 'networkFirst'
}]

Runtime caching seems to worker as expected in this case handling network first, but when running automated end to end tests, service worker returns the cached content instead of making a request to the network first, the same issue occurs when using ignoreUrlParametersMatching [Array⟨Regex⟩]

Environment: Mac OS
Browser: chrome Version: 72

What could the problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant