fix selenium tests and category page