use a waitUntil in order to wait UI operation to finish before doing
check on the model