|
27 | 27 | <seeInCurrentUrl url="{{AdminOrderDetailsPage.url}}" stepKey="seeViewOrderPageShipping"/>
|
28 | 28 | <see selector="{{AdminOrderDetailsMessagesSection.successMessage}}" userInput="The shipment has been created." stepKey="seeShipmentCreateSuccess"/>
|
29 | 29 | </actionGroup>
|
| 30 | + <actionGroup name="seeProductInShipmentItems"> |
| 31 | + <annotations> |
| 32 | + <description>Validates that the provided Product is present and correct on the view Admin Order Shipment page under the 'Items Shipped' section.</description> |
| 33 | + </annotations> |
| 34 | + <arguments> |
| 35 | + <argument name="product"/> |
| 36 | + </arguments> |
| 37 | + |
| 38 | + <see selector="{{AdminShipmentItemsSection.skuColumn}}" userInput="{{product.sku}}" stepKey="seeProductSkuInGrid"/> |
| 39 | + </actionGroup> |
| 40 | + <actionGroup name="verifyBasicShipmentInformation"> |
| 41 | + <annotations> |
| 42 | + <description>Validates that the provided Customer, Shipping Address, Billing Address and Customer Group are present and correct on the view Admin Order page.</description> |
| 43 | + </annotations> |
| 44 | + <arguments> |
| 45 | + <argument name="customer" defaultValue=""/> |
| 46 | + <argument name="shippingAddress" defaultValue=""/> |
| 47 | + <argument name="billingAddress" defaultValue=""/> |
| 48 | + <argument name="customerGroup" defaultValue="GeneralCustomerGroup"/> |
| 49 | + </arguments> |
| 50 | + |
| 51 | + <see selector="{{AdminShipmentOrderInformationSection.customerName}}" userInput="{{customer.firstname}}" stepKey="seeCustomerName"/> |
| 52 | + <see selector="{{AdminShipmentOrderInformationSection.customerEmail}}" userInput="{{customer.email}}" stepKey="seeCustomerEmail"/> |
| 53 | + <see selector="{{AdminShipmentOrderInformationSection.customerGroup}}" userInput="{{customerGroup.code}}" stepKey="seeCustomerGroup"/> |
| 54 | + <see selector="{{AdminShipmentAddressInformationSection.billingAddress}}" userInput="{{billingAddress.street[0]}}" stepKey="seeBillingAddressStreet"/> |
| 55 | + <see selector="{{AdminShipmentAddressInformationSection.billingAddress}}" userInput="{{billingAddress.city}}" stepKey="seeBillingAddressCity"/> |
| 56 | + <see selector="{{AdminShipmentAddressInformationSection.billingAddress}}" userInput="{{billingAddress.country_id}}" stepKey="seeBillingAddressCountry"/> |
| 57 | + <see selector="{{AdminShipmentAddressInformationSection.billingAddress}}" userInput="{{billingAddress.postcode}}" stepKey="seeBillingAddressPostcode"/> |
| 58 | + <see selector="{{AdminShipmentAddressInformationSection.shippingAddress}}" userInput="{{shippingAddress.street[0]}}" stepKey="seeShippingAddressStreet"/> |
| 59 | + <see selector="{{AdminShipmentAddressInformationSection.shippingAddress}}" userInput="{{shippingAddress.city}}" stepKey="seeShippingAddressCity"/> |
| 60 | + <see selector="{{AdminShipmentAddressInformationSection.shippingAddress}}" userInput="{{shippingAddress.country_id}}" stepKey="seeShippingAddressCountry"/> |
| 61 | + <see selector="{{AdminShipmentAddressInformationSection.shippingAddress}}" userInput="{{shippingAddress.postcode}}" stepKey="seeShippingAddressPostcode"/> |
| 62 | + </actionGroup> |
30 | 63 | </actionGroups>
|
0 commit comments