spec/button_spec.rb in rautomation-0.6.3 vs spec/button_spec.rb in rautomation-0.7.0
- old
+ new
@@ -30,9 +30,10 @@
RAutomation::Window.wait_timeout = 0.1
expect {window.button(:value => "non-existent-button").click}.
to raise_exception(RAutomation::UnknownButtonException)
end
+ #This spec will randomly fail. Why?
it "#click" do
window = RAutomation::Window.new(:title => SpecHelper::DATA[:window1_title])
button = window.button(:value => "Close")
button.should exist