projecthydra/sufia — pull request #426 by bmaddy (2014-05-12 23:23:20+00:00)
Title: Dashboard Tabs

I ended up leaving the list of files on the ```/dashboard``` page. I fixed most of the tests to use the ```/dashboard/files``` page, but there was one I couldn’t figure out. Here’s the error:

```
1) Browse Dashboard files should allow you to browse facets
Failure/Error: within("#document_#{@fixtures[1].noid}") do
Capybara::ElementNotFound:
Unable to find css "#document_fixture-mp3"
# ./spec/features/browse_dashboard_files_spec.rb:26:in `block (2 levels) in '
```

The test passes right now because it is still using the ```/dashboard``` page. Someone will be forced to change it when the new dashboard is dropped in.

The problem is something to do with the "more" link when there's more than 5 items in a facet. The strange thing is that when I look at it in the browser, clicking on that link seems to be broken on both pages. I think it's turbolinks messing things up.