Skip to content

Commit 03d3596

Browse files
committed
MC-4767: Convert PrintOrderFrontendGuestTest to MFTF
1 parent ce2118d commit 03d3596

7 files changed

+28
-0
lines changed

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminAddToOrderBundleProductActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminAddToOrderBundleProductActionGroup">
12+
<annotations>
13+
<description>Configuration added Bundle Product during creation order by Admin: select bundle option and product with quantity</description>
14+
<page>AdminOrderCreatePage</page>
15+
</annotations>
1216
<arguments>
1317
<argument name="option" type="string"/>
1418
<argument name="selectedProduct" type="entity"/>

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminAddToOrderConfigurableProductActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminAddToOrderConfigurableProductActionGroup">
12+
<annotations>
13+
<description>Configuration added Configurable Product during creation order by Admin: select option by attribute and quantity</description>
14+
<page>AdminOrderCreatePage</page>
15+
</annotations>
1216
<arguments>
1317
<argument name="attribute" type="string"/>
1418
<argument name="option" type="string"/>

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminAddToOrderCouponCodeActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminAddToOrderCouponCodeActionGroup">
12+
<annotations>
13+
<description>Add and apply Coupon Code to order during creating order by Admin</description>
14+
<page>AdminOrderCreatePage</page>
15+
</annotations>
1216
<arguments>
1317
<argument name="coupon" type="entity"/>
1418
</arguments>

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminAddToOrderDownloadableProductActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminAddToOrderDownloadableProductActionGroup">
12+
<annotations>
13+
<description>Configuration added Downloadable Product during creation order by Admin: select link and quantity</description>
14+
<page>AdminOrderCreatePage</page>
15+
</annotations>
1216
<arguments>
1317
<argument name="link" type="string"/>
1418
<argument name="quantity" type="string" defaultValue="1"/>

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminFilterProductInCreateOrderActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminFilterProductInCreateOrderActionGroup">
12+
<annotations>
13+
<description>Search product in product grid on create order by admin page</description>
14+
<page>AdminOrderCreatePage</page>
15+
</annotations>
1216
<arguments>
1317
<argument name="productSKU" type="string"/>
1418
</arguments>

app/code/Magento/Sales/Test/Mftf/ActionGroup/StorefrontAssertSalesPrintOrderBillingAddressActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AssertSalesPrintOrderBillingAddress">
12+
<annotations>
13+
<description>Assert billing address data on printed order</description>
14+
<page>StorefrontPrintOrderPage</page>
15+
</annotations>
1216
<arguments>
1317
<argument name="address" type="entity"/>
1418
</arguments>

app/code/Magento/Sales/Test/Mftf/ActionGroup/StorefrontFillOrdersAndReturnsFormActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="StorefrontFillOrdersAndReturnsFormActionGroup">
12+
<annotations>
13+
<description>Fill order information in form "Orders and Returns"</description>
14+
<page>StorefrontGuestOrderSearchPage</page>
15+
</annotations>
1216
<arguments>
1317
<argument name="orderNumber" type="string"/>
1418
<argument name="customer" type="entity" defaultValue="$$createCustomer$$"/>

0 commit comments

Comments
 (0)