replacing 'ui click :test-connecton' with hasstate :test-connection SENSITIVE as it used to throw invalid state error