* fix flaky test by waiting for chat panel before counting messages * improve test stability by waiting for visibility before elements count()
* fix flaky test by waiting for chat panel before counting messages * improve test stability by waiting for visibility before elements count()