Метод | Описание | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Order\ShowPageInterface $showPage, Sylius\Behat\Page\Admin\Order\UpdatePageInterface $updatePage, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker, Sylius\Behat\Service\SharedSecurityServiceInterface $sharedSecurityService ) | ||
iBrowseOrders ( ) | ||
iCancelThisOrder ( ) | ||
iCheckData ( $itemName ) | ||
iDoNotSpecifyNewInformation ( ) | ||
iMarkThisOrderAsAPaid ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
iMarkThisOrderSPaymentAsRefunded ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
iSaveMyChanges ( ) | ||
iSeeTheOrder ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
iShipThisOrder ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
iShouldBeNotifiedAboutItHasBeenSuccessfullyCanceled ( ) | ||
iShouldBeNotifiedThatTheAndTheInShippingDetailsAreRequired ( $firstElement, $secondElement, $thirdElement, $fourthElement, $type ) | ||
iShouldBeNotifiedThatTheOrderHasBeenSuccessfullyShipped ( ) | ||
iShouldBeNotifiedThatTheOrderSPaymentHasBeenSuccessfullyCompleted ( ) | ||
iShouldBeNotifiedThatTheOrderSPaymentHasBeenSuccessfullyRefunded ( ) | ||
iShouldNotBeAbleToCancelThisOrder ( ) | ||
iShouldNotBeAbleToFinalizeItsPayment ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
iShouldNotBeAbleToShipThisOrder ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
iShouldSeeASingleOrderFromCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer ) | ||
iShouldSeeAdProvinceInTheBillingAddress ( $provinceName ) | ||
iShouldSeeAsProvinceInTheShippingAddress ( $provinceName ) | ||
iShouldSeeOrderWithNumber ( $orderNumber ) | ||
iShouldSeeTheOrderWithTotal ( $orderNumber, $total ) | ||
iSpecifyTheBillingAddressAs ( Sylius\Component\Addressing\Model\AddressInterface $address ) | ||
iSpecifyTheShippingAddressAs ( Sylius\Component\Addressing\Model\AddressInterface $address ) | ||
iSpecifyTheirBillingAddressAsFor ( Sylius\Component\Addressing\Model\AddressInterface $address ) | ||
iSpecifyTheirShippingAddressAsFor ( Sylius\Component\Addressing\Model\AddressInterface $address ) | ||
iSwitchSortingBy ( $fieldName ) | ||
iWantToModifyACustomerSShippingAddress ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
itShouldBeBilledTo ( Sylius\Component\Core\Model\OrderInterface $order = null, $customerName, $street, $postcode, $city, $countryName ) | ||
itShouldBePaidWith ( $paymentMethodName ) | ||
itShouldBePlacedByCustomer ( $customerEmail ) | ||
itShouldBeShippedTo ( Sylius\Component\Core\Model\OrderInterface $order = null, $customerName, $street, $postcode, $city, $countryName ) | ||
itShouldBeShippedViaShippingMethod ( $shippingMethodName ) | ||
itShouldHaveAmountOfItems ( $amount ) | ||
itShouldHavePaymentState ( $paymentState ) | ||
itShouldHaveShipmentState ( $shipmentState ) | ||
itShouldHaveState ( $state ) | ||
itemCodeShouldBe ( $itemName, $code ) | ||
itemDiscountedUnitPriceShouldBe ( $itemName, $discountedUnitPrice ) | ||
itemQuantityShouldBe ( $itemName, $quantity ) | ||
itemSubtotalShouldBe ( $itemName, $subtotal ) | ||
itemTaxShouldBe ( $itemName, $tax ) | ||
itemTotalShouldBe ( $itemName, $total ) | ||
itemUnitPriceShouldBe ( $itemName, $unitPrice ) | ||
itsStateShouldBe ( $state ) | ||
orderPaymentStateShouldBeRefunded ( ) | ||
specifyItsTrackingCodeAs ( $trackingCode ) | ||
theAdministratorShouldKnowAboutIPAddressOfThisOrderMadeBy ( Sylius\Component\Core\Model\AdminUserInterface $user, Sylius\Component\Core\Model\OrderInterface $order ) | ||
theAdministratorShouldSeeThatThisOrderHasBeenPlacedIn ( Sylius\Component\Core\Model\AdminUserInterface $user, Sylius\Component\Core\Model\OrderInterface $order, $currency ) | ||
theAdministratorShouldSeeTheOrderWithTotalInOrderList ( Sylius\Component\Core\Model\AdminUserInterface $user, $total ) | ||
theCustomerServiceShouldKnowAboutThisAdditionalNotes ( Sylius\Component\Core\Model\AdminUserInterface $user, $note, Sylius\Component\Core\Model\OrderInterface $order ) | ||
theFirstOrderShouldHaveNumber ( $number ) | ||
theItemShouldHaveDiscount ( $itemName, $discount ) | ||
theOrderShouldHaveNumberOfPayments ( $number ) | ||
theOrderShouldHavePaymentState ( Sylius\Component\Core\Model\OrderInterface $order, $orderPaymentState ) | ||
theOrderShouldHaveShipmentState ( Sylius\Component\Core\Model\OrderInterface $order, $orderShipmentState ) | ||
theOrderShouldHaveTax ( $tax ) | ||
theOrdersItemsTotalShouldBe ( $itemsTotal ) | ||
theOrdersPaymentShouldBe ( $paymentAmount ) | ||
theOrdersPromotionDiscountShouldBe ( $promotionDiscount ) | ||
theOrdersPromotionTotalShouldBe ( $promotionTotal ) | ||
theOrdersShippingChargesShouldBe ( $shippingCharge ) | ||
theOrdersShippingTotalShouldBe ( $shippingTotal ) | ||
theOrdersTaxTotalShouldBe ( $taxTotal ) | ||
theOrdersTotalShouldBe ( $total ) | ||
theProductShouldBeInTheItemsList ( $productName ) | ||
thisOrderShipmentStateShouldBe ( $shippingState ) |
Метод | Описание | |
---|---|---|
assertElementValidationMessage ( string $type, string $element, string $expectedMessage ) |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Order\ShowPageInterface $showPage, Sylius\Behat\Page\Admin\Order\UpdatePageInterface $updatePage, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker, Sylius\Behat\Service\SharedSecurityServiceInterface $sharedSecurityService ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$indexPage | Sylius\Behat\Page\Admin\Crud\IndexPageInterface | |
$showPage | Sylius\Behat\Page\Admin\Order\ShowPageInterface | |
$updatePage | Sylius\Behat\Page\Admin\Order\UpdatePageInterface | |
$notificationChecker | Sylius\Behat\Service\NotificationCheckerInterface | |
$sharedSecurityService | Sylius\Behat\Service\SharedSecurityServiceInterface |
public iMarkThisOrderAsAPaid ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public iMarkThisOrderSPaymentAsRefunded ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public iSeeTheOrder ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public iShipThisOrder ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public iShouldBeNotifiedThatTheAndTheInShippingDetailsAreRequired ( $firstElement, $secondElement, $thirdElement, $fourthElement, $type ) |
public iShouldNotBeAbleToFinalizeItsPayment ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public iShouldNotBeAbleToShipThisOrder ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public iShouldSeeASingleOrderFromCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer ) | ||
$customer | Sylius\Component\Core\Model\CustomerInterface |
public iShouldSeeAdProvinceInTheBillingAddress ( $provinceName ) |
public iShouldSeeAsProvinceInTheShippingAddress ( $provinceName ) |
public iShouldSeeTheOrderWithTotal ( $orderNumber, $total ) |
public iSpecifyTheBillingAddressAs ( Sylius\Component\Addressing\Model\AddressInterface $address ) | ||
$address | Sylius\Component\Addressing\Model\AddressInterface |
public iSpecifyTheShippingAddressAs ( Sylius\Component\Addressing\Model\AddressInterface $address ) | ||
$address | Sylius\Component\Addressing\Model\AddressInterface |
public iSpecifyTheirBillingAddressAsFor ( Sylius\Component\Addressing\Model\AddressInterface $address ) | ||
$address | Sylius\Component\Addressing\Model\AddressInterface |
public iSpecifyTheirShippingAddressAsFor ( Sylius\Component\Addressing\Model\AddressInterface $address ) | ||
$address | Sylius\Component\Addressing\Model\AddressInterface |
public iWantToModifyACustomerSShippingAddress ( Sylius\Component\Core\Model\OrderInterface $order ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public itShouldBeBilledTo ( Sylius\Component\Core\Model\OrderInterface $order = null, $customerName, $street, $postcode, $city, $countryName ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public itShouldBeShippedTo ( Sylius\Component\Core\Model\OrderInterface $order = null, $customerName, $street, $postcode, $city, $countryName ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public itShouldBeShippedViaShippingMethod ( $shippingMethodName ) |
public itemDiscountedUnitPriceShouldBe ( $itemName, $discountedUnitPrice ) |
public theAdministratorShouldKnowAboutIPAddressOfThisOrderMadeBy ( Sylius\Component\Core\Model\AdminUserInterface $user, Sylius\Component\Core\Model\OrderInterface $order ) | ||
$user | Sylius\Component\Core\Model\AdminUserInterface | |
$order | Sylius\Component\Core\Model\OrderInterface |
public theAdministratorShouldSeeThatThisOrderHasBeenPlacedIn ( Sylius\Component\Core\Model\AdminUserInterface $user, Sylius\Component\Core\Model\OrderInterface $order, $currency ) | ||
$user | Sylius\Component\Core\Model\AdminUserInterface | |
$order | Sylius\Component\Core\Model\OrderInterface |
public theAdministratorShouldSeeTheOrderWithTotalInOrderList ( Sylius\Component\Core\Model\AdminUserInterface $user, $total ) | ||
$user | Sylius\Component\Core\Model\AdminUserInterface |
public theCustomerServiceShouldKnowAboutThisAdditionalNotes ( Sylius\Component\Core\Model\AdminUserInterface $user, $note, Sylius\Component\Core\Model\OrderInterface $order ) | ||
$user | Sylius\Component\Core\Model\AdminUserInterface | |
$order | Sylius\Component\Core\Model\OrderInterface |
public theItemShouldHaveDiscount ( $itemName, $discount ) |
public theOrderShouldHaveNumberOfPayments ( $number ) |
public theOrderShouldHavePaymentState ( Sylius\Component\Core\Model\OrderInterface $order, $orderPaymentState ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public theOrderShouldHaveShipmentState ( Sylius\Component\Core\Model\OrderInterface $order, $orderShipmentState ) | ||
$order | Sylius\Component\Core\Model\OrderInterface |
public theOrdersPromotionDiscountShouldBe ( $promotionDiscount ) |
public theOrdersPromotionTotalShouldBe ( $promotionTotal ) |
public theOrdersShippingChargesShouldBe ( $shippingCharge ) |
public theOrdersShippingTotalShouldBe ( $shippingTotal ) |
public theProductShouldBeInTheItemsList ( $productName ) |
public thisOrderShipmentStateShouldBe ( $shippingState ) |