/** * @Then /^I should be notified that the password must be at least (\d+) characters long$/ */ public function iShouldBeNotifiedThatThePasswordMustBeAtLeastCharactersLong($amountOfCharacters) { Assert::same($this->createPage->getValidationMessage('password'), sprintf('Password must be at least %d characters long.', $amountOfCharacters)); }
/** * @When I choose create account option */ public function iChooseCreateAccountOption() { $this->createPage->selectCreateAccount(); }