-
Notifications
You must be signed in to change notification settings - Fork 672
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
Clear out the localStorage after test #1546
Comments
This issue is really annoying. As a temporary workaround, I divided my tests into small pieces. Anyway, looking forward to the fix. |
It shouldn't take too much time to fix it and provide you with the new version |
Hi @ww8912188, fixture `Tests`
.page `http://localhost:8787/`
.afterEach(async t => {
await t.eval(() => localStorage.clear());
}); |
…evExpress#1590) * fix `Clear out the localStorage after test` (close DevExpress#1546) * fix review's issues
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
…evExpress#1590) * fix `Clear out the localStorage after test` (close DevExpress#1546) * fix review's issues
Are you requesting a feature or reporting a bug?
bug
What is the current behavior?
Each test is run with the new session id. The test writes some large data into the localStorage with key generated by page url and session id. After some tests, the error occurs:
What is the expected behavior?
The localStorage must be cleaned after each test.
How would you reproduce the current behavior (if this is a bug)?
Tested server:
Test code
Specify your
The text was updated successfully, but these errors were encountered: