Skip to content
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

AePageObjects::Waiter.wait_until should detect when time is frozen #96

Closed
dtognazzini opened this issue Oct 15, 2014 · 0 comments
Closed
Milestone

Comments

@dtognazzini
Copy link
Contributor

In it's a common practice to stub the Time class in Ruby in tests. AePageObjects::Waiter.wait_until uses Time to retry the provided block until some condition is met. If Time is stubbed, the retry will continue indefinitely.

Update AePageObjects::Waiter.wait_until to detect when time is frozen and raise an exception. Similar to: https://github.com/jnicklas/capybara/blob/06c4955e56f7db4ac32105c94e9d844f53aac3f2/lib/capybara/node/base.rb#L91

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

No branches or pull requests

2 participants