|
9 | 9 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
|
11 | 11 | <!--Fill order information fields and click continue-->
|
12 |
| - <actionGroup name="fillOrderInformationActionGroup"> |
| 12 | + <actionGroup name="StorefrontFillOrderInformationActionGroup"> |
13 | 13 | <arguments>
|
14 | 14 | <argument name="orderId" type="string"/>
|
15 | 15 | <argument name="orderLastName"/>
|
16 | 16 | <argument name="orderEmail"/>
|
17 | 17 | </arguments>
|
18 | 18 | <amOnPage url="{{StorefrontOrdersAndReturnsPage.url}}" stepKey="navigateToOrderAndReturnPage"/>
|
19 | 19 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
20 |
| - <fillField selector="{{OrderAndReturnInformationSection.orderId}}" userInput="{{orderId}}" stepKey="fillOrderId"/> |
21 |
| - <fillField selector="{{OrderAndReturnInformationSection.bilingLastName}}" userInput="{{orderLastName}}" stepKey="fillBillingLastName"/> |
22 |
| - <fillField selector="{{OrderAndReturnInformationSection.email}}" userInput="{{orderEmail}}" stepKey="fillEmail"/> |
23 |
| - <click selector="{{OrderAndReturnInformationSection.continueButton}}" stepKey="clickContinue"/> |
| 20 | + <fillField selector="{{StorefrontOrderAndReturnInformationSection.orderId}}" userInput="{{orderId}}" stepKey="fillOrderId"/> |
| 21 | + <fillField selector="{{StorefrontOrderAndReturnInformationSection.bilingLastName}}" userInput="{{orderLastName}}" stepKey="fillBillingLastName"/> |
| 22 | + <fillField selector="{{StorefrontOrderAndReturnInformationSection.email}}" userInput="{{orderEmail}}" stepKey="fillEmail"/> |
| 23 | + <click selector="{{StorefrontOrderAndReturnInformationSection.continueButton}}" stepKey="clickContinue"/> |
24 | 24 | <waitForPageLoad stepKey="waitForOrderInformationPageLoad"/>
|
25 | 25 | <seeInCurrentUrl url="{{StorefrontOrderInformationPage.url}}" stepKey="seeOrderInformationUrl"/>
|
26 | 26 | </actionGroup>
|
27 | 27 |
|
28 | 28 | <!--Enter quantity to return and submit-->
|
29 |
| - <actionGroup name="fillQuantityToReturnActionGroup"> |
30 |
| - <click selector="{{OrderInformationMainSection.return}}" stepKey="gotToCreateNewReturnPage"/> |
| 29 | + <actionGroup name="StorefrontFillQuantityToReturnActionGroup"> |
| 30 | + <click selector="{{StorefrontOrderInformationMainSection.return}}" stepKey="gotToCreateNewReturnPage"/> |
31 | 31 | <waitForPageLoad stepKey="waitForReturnPageLoad"/>
|
32 |
| - <fillField selector="{{CreateNewReturnMainSection.quantityToReturn}}" userInput="1" stepKey="fillQuantityToReturn"/> |
33 |
| - <click selector="{{CreateNewReturnMainSection.submit}}" stepKey="clickSubmit"/> |
| 32 | + <fillField selector="{{StorefrontCreateNewReturnMainSection.quantityToReturn}}" userInput="1" stepKey="fillQuantityToReturn"/> |
| 33 | + <click selector="{{StorefrontCreateNewReturnMainSection.submit}}" stepKey="clickSubmit"/> |
34 | 34 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
35 | 35 | </actionGroup>
|
36 | 36 | </actionGroups>
|
0 commit comments