/** * @When I want to modify my profile */ public function iWantToModifyMyProfile() { $this->profileUpdatePage->open(); }
/** * @Then I should be subscribed to the newsletter */ public function iShouldBeSubscribedToTheNewsletter() { $this->profileUpdatePage->open(); Assert::true($this->profileUpdatePage->isSubscribedToTheNewsletter(), 'I should be subscribed to the newsletter, but I am not'); }