@ Conditioned @ Lorsque ( "Je patiente '(.*)' secondes[\\.|\\?]" ) @ Then ( "I wait '(.*)' seconds[\\.|\\?]" ) public void wait ( int time , List < GherkinStepCondition > conditions ) throws InterruptedException { Thread . sleep ( ( long ) time * 1000 ) ; }
Waits a time in second .