hashar added a comment.

From http://stackoverflow.com/questions/12787032/handling-exceptions-on-cucumber-scenarios?rq=1

Around('@handle_alert_boxes') do |scenario, block| do
  begin
    block.call
  rescue Selenium::WebDriver::Error::UnhandledAlertError
    puts "It's OK!"
  end
end

So maybe just rescue the few timeout exceptions and block.call again? :}


TASK DETAIL
https://phabricator.wikimedia.org/T152963

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: zeljkofilipin, hashar
Cc: gerritbot, hashar, zeljkofilipin, thiemowmde, Aklapper, Tobi_WMDE_SW, Th3d3v1ls, Ramalepe, Liugev6, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331, greg
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to