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
In it's a common practice to stub the Time class in Ruby in tests.
AePageObjects::Waiter.wait_untiluses Time to retry the provided block until some condition is met. If Time is stubbed, the retry will continue indefinitely.Update
AePageObjects::Waiter.wait_untilto detect when time is frozen and raise an exception. Similar to: https://github.com/jnicklas/capybara/blob/06c4955e56f7db4ac32105c94e9d844f53aac3f2/lib/capybara/node/base.rb#L91