CBQE-0: UI tests fixes

Change-Id: If404dd6572d26cfe23923139f1c4b3b7518d9660
Reviewed-on: http://review.couchbase.org/41562
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Reviewed-by: Meenakshi Goel <meenakshi.goel@globallogic.com>
Tested-by: Meenakshi Goel <meenakshi.goel@globallogic.com>