PHP 클래스 Sylius\Behat\Context\Ui\Admin\ManagingOrdersContext

저자: Paweł Jędrzejewski ([email protected])
저자: Grzegorz Sadowski ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

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

iBrowseOrders() 공개 메소드

public iBrowseOrders ( )

iCancelThisOrder() 공개 메소드

public iCancelThisOrder ( )

iCheckData() 공개 메소드

public iCheckData ( $itemName )

iDoNotSpecifyNewInformation() 공개 메소드

iMarkThisOrderAsAPaid() 공개 메소드

public iMarkThisOrderAsAPaid ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

iMarkThisOrderSPaymentAsRefunded() 공개 메소드

public iMarkThisOrderSPaymentAsRefunded ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

iSaveMyChanges() 공개 메소드

public iSaveMyChanges ( )

iSeeTheOrder() 공개 메소드

public iSeeTheOrder ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

iShipThisOrder() 공개 메소드

public iShipThisOrder ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

iShouldBeNotifiedAboutItHasBeenSuccessfullyCanceled() 공개 메소드

iShouldBeNotifiedThatTheAndTheInShippingDetailsAreRequired() 공개 메소드

public iShouldBeNotifiedThatTheAndTheInShippingDetailsAreRequired ( $firstElement, $secondElement, $thirdElement, $fourthElement, $type )

iShouldBeNotifiedThatTheOrderHasBeenSuccessfullyShipped() 공개 메소드

iShouldBeNotifiedThatTheOrderSPaymentHasBeenSuccessfullyCompleted() 공개 메소드

iShouldBeNotifiedThatTheOrderSPaymentHasBeenSuccessfullyRefunded() 공개 메소드

iShouldNotBeAbleToCancelThisOrder() 공개 메소드

iShouldNotBeAbleToFinalizeItsPayment() 공개 메소드

public iShouldNotBeAbleToFinalizeItsPayment ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

iShouldNotBeAbleToShipThisOrder() 공개 메소드

public iShouldNotBeAbleToShipThisOrder ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

iShouldSeeASingleOrderFromCustomer() 공개 메소드

public iShouldSeeASingleOrderFromCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

iShouldSeeAdProvinceInTheBillingAddress() 공개 메소드

public iShouldSeeAdProvinceInTheBillingAddress ( $provinceName )

iShouldSeeAsProvinceInTheShippingAddress() 공개 메소드

public iShouldSeeAsProvinceInTheShippingAddress ( $provinceName )

iShouldSeeOrderWithNumber() 공개 메소드

public iShouldSeeOrderWithNumber ( $orderNumber )

iShouldSeeTheOrderWithTotal() 공개 메소드

public iShouldSeeTheOrderWithTotal ( $orderNumber, $total )

iSpecifyTheBillingAddressAs() 공개 메소드

public iSpecifyTheBillingAddressAs ( Sylius\Component\Addressing\Model\AddressInterface $address )
$address Sylius\Component\Addressing\Model\AddressInterface

iSpecifyTheShippingAddressAs() 공개 메소드

public iSpecifyTheShippingAddressAs ( Sylius\Component\Addressing\Model\AddressInterface $address )
$address Sylius\Component\Addressing\Model\AddressInterface

iSpecifyTheirBillingAddressAsFor() 공개 메소드

public iSpecifyTheirBillingAddressAsFor ( Sylius\Component\Addressing\Model\AddressInterface $address )
$address Sylius\Component\Addressing\Model\AddressInterface

iSpecifyTheirShippingAddressAsFor() 공개 메소드

public iSpecifyTheirShippingAddressAsFor ( Sylius\Component\Addressing\Model\AddressInterface $address )
$address Sylius\Component\Addressing\Model\AddressInterface

iSwitchSortingBy() 공개 메소드

public iSwitchSortingBy ( $fieldName )

iWantToModifyACustomerSShippingAddress() 공개 메소드

public iWantToModifyACustomerSShippingAddress ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

itShouldBeBilledTo() 공개 메소드

public itShouldBeBilledTo ( Sylius\Component\Core\Model\OrderInterface $order = null, $customerName, $street, $postcode, $city, $countryName )
$order Sylius\Component\Core\Model\OrderInterface

itShouldBePaidWith() 공개 메소드

public itShouldBePaidWith ( $paymentMethodName )

itShouldBePlacedByCustomer() 공개 메소드

public itShouldBePlacedByCustomer ( $customerEmail )

itShouldBeShippedTo() 공개 메소드

public itShouldBeShippedTo ( Sylius\Component\Core\Model\OrderInterface $order = null, $customerName, $street, $postcode, $city, $countryName )
$order Sylius\Component\Core\Model\OrderInterface

itShouldBeShippedViaShippingMethod() 공개 메소드

public itShouldBeShippedViaShippingMethod ( $shippingMethodName )

itShouldHaveAmountOfItems() 공개 메소드

public itShouldHaveAmountOfItems ( $amount )

itShouldHavePaymentState() 공개 메소드

public itShouldHavePaymentState ( $paymentState )

itShouldHaveShipmentState() 공개 메소드

public itShouldHaveShipmentState ( $shipmentState )

itShouldHaveState() 공개 메소드

public itShouldHaveState ( $state )

itemCodeShouldBe() 공개 메소드

public itemCodeShouldBe ( $itemName, $code )

itemDiscountedUnitPriceShouldBe() 공개 메소드

public itemDiscountedUnitPriceShouldBe ( $itemName, $discountedUnitPrice )

itemQuantityShouldBe() 공개 메소드

public itemQuantityShouldBe ( $itemName, $quantity )

itemSubtotalShouldBe() 공개 메소드

public itemSubtotalShouldBe ( $itemName, $subtotal )

itemTaxShouldBe() 공개 메소드

public itemTaxShouldBe ( $itemName, $tax )

itemTotalShouldBe() 공개 메소드

public itemTotalShouldBe ( $itemName, $total )

itemUnitPriceShouldBe() 공개 메소드

public itemUnitPriceShouldBe ( $itemName, $unitPrice )

itsStateShouldBe() 공개 메소드

public itsStateShouldBe ( $state )

orderPaymentStateShouldBeRefunded() 공개 메소드

specifyItsTrackingCodeAs() 공개 메소드

public specifyItsTrackingCodeAs ( $trackingCode )

theAdministratorShouldKnowAboutIPAddressOfThisOrderMadeBy() 공개 메소드

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

theAdministratorShouldSeeThatThisOrderHasBeenPlacedIn() 공개 메소드

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

theAdministratorShouldSeeTheOrderWithTotalInOrderList() 공개 메소드

public theAdministratorShouldSeeTheOrderWithTotalInOrderList ( Sylius\Component\Core\Model\AdminUserInterface $user, $total )
$user Sylius\Component\Core\Model\AdminUserInterface

theCustomerServiceShouldKnowAboutThisAdditionalNotes() 공개 메소드

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

theFirstOrderShouldHaveNumber() 공개 메소드

public theFirstOrderShouldHaveNumber ( $number )

theItemShouldHaveDiscount() 공개 메소드

public theItemShouldHaveDiscount ( $itemName, $discount )

theOrderShouldHaveNumberOfPayments() 공개 메소드

theOrderShouldHavePaymentState() 공개 메소드

public theOrderShouldHavePaymentState ( Sylius\Component\Core\Model\OrderInterface $order, $orderPaymentState )
$order Sylius\Component\Core\Model\OrderInterface

theOrderShouldHaveShipmentState() 공개 메소드

public theOrderShouldHaveShipmentState ( Sylius\Component\Core\Model\OrderInterface $order, $orderShipmentState )
$order Sylius\Component\Core\Model\OrderInterface

theOrderShouldHaveTax() 공개 메소드

public theOrderShouldHaveTax ( $tax )

theOrdersItemsTotalShouldBe() 공개 메소드

public theOrdersItemsTotalShouldBe ( $itemsTotal )

theOrdersPaymentShouldBe() 공개 메소드

public theOrdersPaymentShouldBe ( $paymentAmount )

theOrdersPromotionDiscountShouldBe() 공개 메소드

public theOrdersPromotionDiscountShouldBe ( $promotionDiscount )

theOrdersPromotionTotalShouldBe() 공개 메소드

public theOrdersPromotionTotalShouldBe ( $promotionTotal )

theOrdersShippingChargesShouldBe() 공개 메소드

public theOrdersShippingChargesShouldBe ( $shippingCharge )

theOrdersShippingTotalShouldBe() 공개 메소드

public theOrdersShippingTotalShouldBe ( $shippingTotal )

theOrdersTaxTotalShouldBe() 공개 메소드

public theOrdersTaxTotalShouldBe ( $taxTotal )

theOrdersTotalShouldBe() 공개 메소드

public theOrdersTotalShouldBe ( $total )

theProductShouldBeInTheItemsList() 공개 메소드

public theProductShouldBeInTheItemsList ( $productName )

thisOrderShipmentStateShouldBe() 공개 메소드

public thisOrderShipmentStateShouldBe ( $shippingState )