Fix the view test of navbar component.
Fix the view test of navbar component.

- Pass the urls into navbar component.

depcheck/depcheck-www,lijunle/depcheck-web,lijunle/depcheck-web,depcheck/depcheck-www