The warm welcome afforded to Donald Trump by Yvette Cooper was a far cry from her past comments about the Republican politician.