e2e: resolve TablePage.closeLine when finished
e2e: resolve TablePage.closeLine when finished

TablePage.closeLine was resolving even if not
really finished. It now makes sure the line is
closed before resolving the promise.

veo-labs/openveo-test