Can this 2 second wait be removed? 
The definition of `And "y Investigation" should appear before "z Investigation"`, can be changed to first verify make sure the 2 strings are on the page before it checks their order. This way capybara should automatically wait long enough.