-
Notifications
You must be signed in to change notification settings - Fork 154
Description
I've just discovered an issue with interactions between site_prism and timecop. It looks like this is a known issue (#88), which was closed (completely reasonably).
To describe the issue again here: If you are using timecop with Timecop.freeze
somewhere in your code (either in the feature/system test, or in another test with leakage), Waiter.wait_until_true
will hang because Time.now
does not change.
This actually isn't a bug with Site Prism, but I just spent a few hours tracking this down, so I wanted to create an issue, to hopefully avoid this issue for others in the future. At the very least, I'm hoping this issue will come up in a Google search, but I'm also wondering if there's some documentation or messaging we could add that might help as well.
My two thoughts:
- We could put a bit of code in somewhere that checks for the presence of
Timecop
and if it's there, just output some logging that says something like "fyi, you're using timecop" - We could add a "known issues" section to the readme listing this, so people can find it.