Skip to content

Commit ad511d6

Browse files
committed
refactored stepKeys
1 parent 9bffc08 commit ad511d6

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCheckProductQtyAfterOrderCancelling.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,36 +54,36 @@
5454
<argument name="orderId" value="$createGuestCart.return$"/>
5555
</actionGroup>
5656

57-
<actionGroup ref="AdminOrderGridClickFirstRowActionGroup" stepKey="clickOrderRow"/>
57+
<actionGroup ref="AdminOrderGridClickFirstRowActionGroup" stepKey="openOrder"/>
5858

59-
<actionGroup ref="AdminInvoiceWIthUpdatedProductQtyActionGroup" stepKey="ChangeQtyToInvoice">
59+
<actionGroup ref="AdminInvoiceWIthUpdatedProductQtyActionGroup" stepKey="createPartialInvoice">
6060
<argument name="qty" value="1"/>
6161
</actionGroup>
6262

63-
<actionGroup ref="AdminCreateShipmentFromOrderPage" stepKey="clickSubmitShipment">
63+
<actionGroup ref="AdminCreateShipmentFromOrderPage" stepKey="createShipment">
6464
<argument name="Qty" value="1"/>
6565
<argument name="Number" value="111"/>
6666
</actionGroup>
6767

68-
<actionGroup ref="CancelPendingOrderActionGroup" stepKey="cancelPendingOption">
68+
<actionGroup ref="CancelPendingOrderActionGroup" stepKey="cancelOrder">
6969
<argument name="orderStatus" value="Complete"/>
7070
</actionGroup>
7171

72-
<see selector="{{AdminOrderItemsOrderedSection.itemQty('1')}}" userInput="Canceled 3" stepKey="seeCanceledQuantity"/>
72+
<see selector="{{AdminOrderItemsOrderedSection.itemQty('1')}}" userInput="Canceled 3" stepKey="seeCanceledQty"/>
7373

7474
<actionGroup ref="AdminOpenCatalogProductPageActionGroup" stepKey="goToCatalogProductPage"/>
7575

7676
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGridBySku">
7777
<argument name="sku" value="$$createConfigProduct.sku$$"/>
7878
</actionGroup>
7979

80-
<actionGroup ref="AssertAdminProductGridCellActionGroup" stepKey="seeProductSkuInGrid">
80+
<actionGroup ref="AssertAdminProductGridCellActionGroup" stepKey="assertProductDataInGrid">
8181
<argument name="row" value="1"/>
8282
<argument name="column" value="Quantity"/>
8383
<argument name="value" value="99"/>
8484
</actionGroup>
8585

86-
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="clearProductFilters"/>
86+
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="clearFilters"/>
8787

8888
</test>
8989
</tests>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<argument name="qty" type="string"/>
2020
</arguments>
2121

22-
<fillField selector="{{AdminInvoiceItemsSection.qtyToInvoiceColumn}}" userInput="{{qty}}" stepKey="changeQtyToInvoice" after="waitForInvoicePage"/>
23-
<click selector="{{AdminInvoiceItemsSection.updateQty}}" stepKey="updateQuantity" after="changeQtyToInvoice"/>
24-
<waitForPageLoad stepKey="waitPageToBeLoaded" after="updateQuantity"/>
22+
<fillField selector="{{AdminInvoiceItemsSection.qtyToInvoiceColumn}}" userInput="{{qty}}" stepKey="fillQtyField" after="waitForInvoicePage"/>
23+
<click selector="{{AdminInvoiceItemsSection.updateQty}}" stepKey="clickUpdateQuantityButton" after="changeQtyToInvoice"/>
24+
<waitForPageLoad stepKey="waitForPageRefreshed" after="updateQuantity"/>
2525
</actionGroup>
2626
</actionGroups>

0 commit comments

Comments
 (0)