This step definition is used to be sure that the current page is the homepage.
Then (I |we )*should be on( the)* (homepage|frontpage)
Define a step to verify that the current page is the homepage. A static sentence has no probabilities.
Examples:
Then I should be on homepage
Then I should be on the homepage
Then I should be on frontpage
Then should be on the homepage
Then should be on homepage
Then we should be on homepage
Then should be on frontpage
Then we should be on the homepage