-
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
There is no way to avoid clearing indexedDB between specs with cacheAcrossSpecs=true #27155
Comments
@asier-perez Officially |
Hi @mike-plummer, the workaround gives me an error, but I'm not sure why. When I call
I have to mention that, in my code, I have
|
@asier-perez Interesting - the example code is Typescript, maybe the file you were trying to paste it into is just Javascript? Might be some browser-specific behavior there as well re: the differently-shaped I think the best approach might be to close this issue in favor of #18350 since that issue discusses a more comprehensive solution for IndexedDB with |
What would you like?
I would like to be allowed to keep the indexedDB data between specs when
cacheAcrossSpecs
is set to true incy.session()
.Why is this needed?
I suppose that the indexedDB should be cleared by default, but I'd like to ask for a parameter similar to
cacheAcrossSpecs
, likeindexeddbAcrossSpecs
or so. Or another way to keep it between specs, at least whencacheAcrossSpecs
is set to true. I know that there is a workaround, but it does not work for me.Other
No response
The text was updated successfully, but these errors were encountered: