/** * @Then I should be subscribed to the newsletter */ public function iShouldBeSubscribedToTheNewsletter() { Assert::true($this->profileUpdatePage->isSubscribedToTheNewsletter(), 'I should be subscribed to the newsletter, but I am not.'); }
/** * @When I save my changes * @When I try to save my changes */ public function iSaveMyChanges() { $this->profileUpdatePage->saveChanges(); }