File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
app/code/Magento/Shipping/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
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
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments