Skip to content

Delay checking window.localStorage

Summary of Changes

Adds a small wait to the localStorage test to avoid a race condition between window.localStorage being updated and read by Selenium.

The test was failing intermittently (roughly 20-30% of the time). I've run it 11 times now with this change and have yet to see the failure, so I believe this should be sufficient.

Checklist

  • The MR has a clear and concise title
  • Code is self-documented and follows style guidelines.
  • Automated tests are written and pass successfully.
  • Regression tests (e.g. manually triggered system tests, manual GUI/tool tests, ...) are performed to make sure the MR does not break anything (when applicable)
  • Readme file is present and up-to-date.

Documentation Updates

Additional Notes

Closes #26 (closed)

Merge request reports