e2e tests were inappropriately specific for specifying where to find the view buttons and the refactor broke the css selector