CBQE-0: Fixes for UI tests

Change-Id: Ieeac24f48c8d92d2cff780cbb9a6092d429a7f96
Reviewed-on: http://review.couchbase.org/41417
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Meenakshi Goel <meenakshi.goel@globallogic.com>
Tested-by: Meenakshi Goel <meenakshi.goel@globallogic.com>