Fix problems of testcases

WTC-2254: use unique selector
WTC-2259/2262: click tab before checking view
logintest: wait until loading screen disappear
Merge pull request #5 from wcho/master

Fix problems of testcases