refactoring navigation through pages in feature tests