BS-8415: wait that the wizard closed at the end of the test and we get
back to the main Window