Skip to content

Commit

Permalink
MC-4758: Convert MassOrdersUpdateTest to MFTF
Browse files Browse the repository at this point in the history
- Remove action group annotations for now until we can discuss
  • Loading branch information
tomreece committed May 23, 2019
1 parent 90f6a73 commit ac3f1f9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,17 @@
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminCreateInvoiceActionGroup">
<annotations>
<description>Admin create invoice on order page by click on button Invoice</description>
<page>AdminOrderDetailsPage</page>
</annotations>
<click selector="{{AdminOrderDetailsMainActionsSection.invoice}}" stepKey="clickInvoice"/>
<waitForPageLoad stepKey="waitForInvoicePage"/>
<click selector="{{AdminInvoiceMainActionsSection.submitInvoice}}" stepKey="submitInvoice"/>
<waitForPageLoad stepKey="waitForLoadPage"/>
<see userInput="The invoice has been created." stepKey="seeMessage"/>
</actionGroup>
<actionGroup name="AdminCreateInvoiceAndShipmentActionGroup" extends="AdminCreateInvoiceActionGroup">
<annotations>
<description>Admin create invoice and shipment</description>
<page>AdminOrderDetailsPage</page>
</annotations>
<checkOption selector="{{AdminInvoicePaymentShippingSection.CreateShipment}}" stepKey="checkCreateShipment" after="waitForInvoicePage"/>
<see userInput="You created the invoice and shipment." stepKey="seeMessage"/>
</actionGroup>
<actionGroup name="AdminCreateInvoiceAndCreditMemoActionGroup" extends="AdminCreateInvoiceActionGroup">
<annotations>
<description>Admin create invoice and credit memo</description>
<page>AdminOrderDetailsPage</page>
</annotations>
<click selector="{{AdminOrderDetailsMainActionsSection.creditMemo}}" stepKey="pushButtonCreditMemo" after="seeMessage"/>
<waitForPageLoad stepKey="waitForLoadingCreditMemoPage" after="pushButtonCreditMemo"/>
<scrollTo selector="{{AdminCreditMemoTotalSection.submitRefundOffline}}" stepKey="scrollToBottom" after="waitForLoadingCreditMemoPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminOrderActionOnGridActionGroup">
<annotations>
<description>Admin check order by OrderId in orders grid and select action by name</description>
<page>AdminOrdersPage</page>
</annotations>
<arguments>
<argument name="action" type="string"/>
<argument name="orderId" type="string"/>
Expand All @@ -24,10 +20,6 @@
<waitForPageLoad stepKey="waitForResults"/>
</actionGroup>
<actionGroup name="AdminTwoOrderActionOnGridActionGroup" extends="AdminOrderActionOnGridActionGroup">
<annotations>
<description>Admin check 2 orders by OrderId in orders grid and select action by name</description>
<page>AdminOrdersPage</page>
</annotations>
<arguments>
<argument name="secondOrderId" type="string"/>
</arguments>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminOrderFilterByOrderIdAndStatusActionGroup">
<annotations>
<description>Admin filter order by OrderID and order status in Orders Grid</description>
<page>AdminOrdersPage</page>
</annotations>
<arguments>
<argument name="orderId" type="string"/>
<argument name="orderStatus" type="string"/>
Expand Down

0 comments on commit ac3f1f9

Please sign in to comment.