refactoring cucumber tests for profile page