it was a tricky test - we should wait for the content of the element, not for the element itself