Fix ui tests

* Add helper methods and use them to simplify tests
* Eliminate annoying "Broken Pipe" messages
* Update "Add Tree" helpers to navigate through steps
* Wait for elements to appear (or be enabled) instead of using DATABASE_DELAY