QAART-391: Fix for the insert link test to wait for the input to finish

Yup, the changes is to format the way that it is described.