Given I am on the login page

Go to one of the site's built-in pages by name, without hard-coding its path in the feature file: login (/user/login), registration (/user/register), password reset (/user/password), search (/search/node), contact (/contact), the administration pages (/admin, /admin/content, /admin/people, /admin/modules, /admin/appearance, /admin/reports/status, /admin/config/system/site-information), content creation (/node/add) or the current user's profile (/user).

Examples

Given I am on the login page
Given we are on the sign-in page
Given on the sign up page
Given I am on the password reset page
Given we are on the content search page
Given I am on the administration page
Given we are on the content overview page
Given I am on the status report page
Given I am on the my account page

Pattern

Given(/^(I am |we are )*on the (login|sign-?in|registration|register|sign[ -]?up|password reset|reset password|forgot password|content search|search|contact[ -]?us|contact|administration|admin|content overview|people|user administration|modules?|appearance|status report|add content|content creation|user profile|my account|site information) page$/, …)

Part of @webship-js/drupal-core-steps (github.com/webship/drupal-core-steps), a step pack for Webship-js 2.0.x.