modify waitUntil in order to have deterministic test
Merge branch 'CoreProduct' of https://github.com/bonitasoft/bonita-studio.git into CoreProduct