Esempio n. 1
0
 /**
  * @When /^I complete addressing step with email "([^"]+)" and ("([^"]+)" as shipping country)$/
  */
 public function iCompleteAddressingStepWithEmail($email, AddressInterface $address)
 {
     $this->addressingPage->open();
     $this->iSpecifyTheEmail($email);
     $this->iSpecifyTheShippingAddressAs($address);
     $this->iCompleteTheAddressingStep();
 }
Esempio n. 2
0
 /**
  * @When /^I specified the shipping (address as "([^"]+)", "([^"]+)", "([^"]+)", "([^"]+)" for "([^"]+)")$/
  */
 public function iSpecifiedTheShippingAddress(AddressInterface $address)
 {
     $this->addressingPage->open();
     $this->iSpecifyTheShippingAddressAs($address);
     $key = sprintf('billing_address_%s_%s', strtolower($address->getFirstName()), strtolower($address->getLastName()));
     $this->sharedStorage->set($key, $address);
     $this->iCompleteTheAddressingStep();
 }
Esempio n. 3
0
 /**
  * @When /^I specified the shipping (address as "([^"]+)", "([^"]+)", "([^"]+)", "([^"]+)" for "([^"]+)")$/
  */
 public function iSpecifiedTheShippingAddress(AddressInterface $address)
 {
     $this->addressingPage->open();
     $this->addressingPage->specifyShippingAddress($address);
     $this->iCompleteTheAddressingStep();
 }