/** * Run create existing customer account on frontend test. * * @param Customer $customer * @return void */ public function test(Customer $customer) { //Steps $this->cmsIndex->open(); $this->cmsIndex->getTopLinksBlock()->openAccount(); $this->cmsIndex->getLinksBlock()->openLink('Register'); $this->customerAccountCreate->getRegisterForm()->registerCustomer($customer); }