Fixing dashboard related error in UI tests. [ci skip]