Cucumber out of the box provides a method to set a default timeout per step, or a \'global\' timeout that all steps will use through the use of setDefaultTimeout(value)
setDefaultTimeout(value)