|
7 | 7 | -->
|
8 | 8 |
|
9 | 9 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 |
| - xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> |
| 10 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> |
| 11 | + <!-- Temporary file to pass CI verification --> |
| 12 | + <actionGroup name="goToShipmentIntoOrder"> |
| 13 | + <annotations> |
| 14 | + <description>Clicks on the 'Ship' button on the view Admin Order page. Validates that the URL and Page Title are present and correct.</description> |
| 15 | + </annotations> |
| 16 | + |
| 17 | + <click selector="{{AdminOrderDetailsMainActionsSection.ship}}" stepKey="clickShipAction"/> |
| 18 | + <seeInCurrentUrl url="{{AdminShipmentNewPage.url}}" stepKey="seeOrderShipmentUrl"/> |
| 19 | + <see selector="{{AdminHeaderSection.pageTitle}}" userInput="New Shipment" stepKey="seePageNameNewInvoicePage"/> |
| 20 | + </actionGroup> |
| 21 | + <actionGroup name="submitShipmentIntoOrder"> |
| 22 | + <annotations> |
| 23 | + <description>Clicks on the 'Submit Shipment' button on the view Admin Order Shipment page. Validates that the URL and Page Title are present and correct.</description> |
| 24 | + </annotations> |
| 25 | + |
| 26 | + <click selector="{{AdminShipmentMainActionsSection.submitShipment}}" stepKey="clickSubmitShipment"/> |
| 27 | + <seeInCurrentUrl url="{{AdminOrderDetailsPage.url}}" stepKey="seeViewOrderPageShipping"/> |
| 28 | + <see selector="{{AdminOrderDetailsMessagesSection.successMessage}}" userInput="The shipment has been created." stepKey="seeShipmentCreateSuccess"/> |
| 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> |
11 | 40 | <actionGroup name="verifyBasicShipmentInformation">
|
12 | 41 | <annotations>
|
13 | 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>
|
|
18 | 47 | <argument name="billingAddress" defaultValue=""/>
|
19 | 48 | <argument name="customerGroup" defaultValue="GeneralCustomerGroup"/>
|
20 | 49 | </arguments>
|
21 |
| - |
| 50 | + |
22 | 51 | <see selector="{{AdminShipmentOrderInformationSection.customerName}}" userInput="{{customer.firstname}}" stepKey="seeCustomerName"/>
|
23 | 52 | <see selector="{{AdminShipmentOrderInformationSection.customerEmail}}" userInput="{{customer.email}}" stepKey="seeCustomerEmail"/>
|
24 | 53 | <see selector="{{AdminShipmentOrderInformationSection.customerGroup}}" userInput="{{customerGroup.code}}" stepKey="seeCustomerGroup"/>
|
|
31 | 60 | <see selector="{{AdminShipmentAddressInformationSection.shippingAddress}}" userInput="{{shippingAddress.country_id}}" stepKey="seeShippingAddressCountry"/>
|
32 | 61 | <see selector="{{AdminShipmentAddressInformationSection.shippingAddress}}" userInput="{{shippingAddress.postcode}}" stepKey="seeShippingAddressPostcode"/>
|
33 | 62 | </actionGroup>
|
34 |
| - |
35 |
| - <actionGroup name="seeProductInShipmentItems"> |
36 |
| - <annotations> |
37 |
| - <description>Validates that the provided Product is present and correct on the view Admin Order Shipment page under the 'Items Shipped' section.</description> |
38 |
| - </annotations> |
39 |
| - <arguments> |
40 |
| - <argument name="product"/> |
41 |
| - </arguments> |
42 |
| - |
43 |
| - <see selector="{{AdminShipmentItemsSection.skuColumn}}" userInput="{{product.sku}}" stepKey="seeProductSkuInGrid"/> |
44 |
| - </actionGroup> |
45 |
| - |
46 |
| - <actionGroup name="goToShipmentIntoOrder"> |
47 |
| - <annotations> |
48 |
| - <description>Clicks on the 'Ship' button on the view Admin Order page. Validates that the URL and Page Title are present and correct.</description> |
49 |
| - </annotations> |
50 |
| - |
51 |
| - <click selector="{{AdminOrderDetailsMainActionsSection.ship}}" stepKey="clickShipAction"/> |
52 |
| - <seeInCurrentUrl url="{{AdminShipmentNewPage.url}}" stepKey="seeOrderShipmentUrl"/> |
53 |
| - <see selector="{{AdminHeaderSection.pageTitle}}" userInput="New Shipment" stepKey="seePageNameNewInvoicePage"/> |
54 |
| - </actionGroup> |
55 |
| - |
56 |
| - <actionGroup name="submitShipmentIntoOrder"> |
57 |
| - <annotations> |
58 |
| - <description>Clicks on the 'Submit Shipment' button on the view Admin Order Shipment page. Validates that the URL and Page Title are present and correct.</description> |
59 |
| - </annotations> |
60 |
| - |
61 |
| - <click selector="{{AdminShipmentMainActionsSection.submitShipment}}" stepKey="clickSubmitShipment"/> |
62 |
| - <seeInCurrentUrl url="{{AdminOrderDetailsPage.url}}" stepKey="seeViewOrderPageShipping"/> |
63 |
| - <see selector="{{AdminOrderDetailsMessagesSection.successMessage}}" userInput="The shipment has been created." stepKey="seeShipmentCreateSuccess"/> |
64 |
| - </actionGroup> |
65 |
| - <actionGroup name="AdminShipmentCreateShippingLabelActionGroup"> |
66 |
| - <arguments> |
67 |
| - <argument name="productName" type="string" defaultValue="{{SimpleProduct.name}}"/> |
68 |
| - </arguments> |
69 |
| - <waitForElementVisible selector="{{AdminShipmentCreatePackageMainSection.addProductsToPackage}}" stepKey="waitForAddProductElement"/> |
70 |
| - <click selector="{{AdminShipmentCreatePackageMainSection.addProductsToPackage}}" stepKey="clickAddProducts"/> |
71 |
| - <waitForElementVisible selector="{{AdminShipmentCreatePackageProductGridSection.concreteProductCheckbox('productName')}}" stepKey="waitForProductBeVisible"/> |
72 |
| - <checkOption selector="{{AdminShipmentCreatePackageProductGridSection.concreteProductCheckbox('productName')}}" stepKey="checkProductCheckbox"/> |
73 |
| - <waitForElementVisible selector="{{AdminShipmentCreatePackageMainSection.addSelectedProductToPackage}}" stepKey="waitForAddSelectedProductElement"/> |
74 |
| - <click selector="{{AdminShipmentCreatePackageMainSection.addSelectedProductToPackage}}" stepKey="clickAddSelectedProduct"/> |
75 |
| - <waitForElementNotVisible selector="{{AdminShipmentCreatePackageMainSection.saveButtonDisabled}}" stepKey="waitForBeEnabled"/> |
76 |
| - <click selector="{{AdminShipmentCreatePackageMainSection.save}}" stepKey="clickSave"/> |
77 |
| - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskDisappear"/> |
78 |
| - <waitForPageLoad stepKey="waitForSaving"/> |
79 |
| - <see selector="{{AdminOrderDetailsMessagesSection.successMessage}}" userInput="The shipment has been created. You created the shipping label." stepKey="seeShipmentCreateSuccess"/> |
80 |
| - </actionGroup> |
81 |
| - <actionGroup name="AdminGoToShipmentTabActionGroup"> |
82 |
| - <click selector="{{AdminOrderDetailsOrderViewSection.shipments}}" stepKey="clickOrderShipmentsTab"/> |
83 |
| - <waitForLoadingMaskToDisappear stepKey="waitForShipmentTabLoad" after="clickOrderShipmentsTab"/> |
84 |
| - </actionGroup> |
85 | 63 | </actionGroups>
|
0 commit comments