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 homepageThen I should be on the homepageThen I should be on frontpageThen should be on the homepageThen should be on homepageThen we should be on homepageThen should be on frontpageThen we should be on the homepage