|
36 | 36 | <createData entity="Simple_US_Customer" stepKey="customer"/>
|
37 | 37 | <!--Login as admin-->
|
38 | 38 | <actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/>
|
| 39 | + <createData entity="CustomerAccountSharingGlobal" stepKey="setConfigCustomerAccountToGlobal"/> |
39 | 40 | </before>
|
40 | 41 |
|
41 | 42 | <!--Create website, Sore adn Store View-->
|
42 | 43 | <actionGroup ref="AdminCreateWebsiteActionGroup" stepKey="AdminCreateWebsite">
|
43 |
| - <argument name="newWebsiteName" value="{{customWebsite.name}}"/> |
44 |
| - <argument name="websiteCode" value="{{customWebsite.code}}"/> |
| 44 | + <argument name="newWebsiteName" value="secondWebsite"/> |
| 45 | + <argument name="websiteCode" value="second_website"/> |
45 | 46 | </actionGroup>
|
46 | 47 | <actionGroup ref="AdminCreateNewStoreGroupActionGroup" stepKey="AdminCreateStore">
|
47 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
48 |
| - <argument name="storeGroupName" value="{{customStoreGroup.name}}"/> |
49 |
| - <argument name="storeGroupCode" value="{{customStoreGroup.code}}"/> |
| 48 | + <argument name="website" value="secondWebsite"/> |
| 49 | + <argument name="storeGroupName" value="secondStore"/> |
| 50 | + <argument name="storeGroupCode" value="second_store"/> |
50 | 51 | </actionGroup>
|
51 | 52 | <actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="AdminCreateStoreView">
|
52 |
| - <argument name="StoreGroup" value="customStoreGroup"/> |
| 53 | + <argument name="StoreGroup" value="customStoreTierPrice"/> |
53 | 54 | <argument name="customStore" value="customStoreView"/>
|
54 | 55 | </actionGroup>
|
55 | 56 | <!--Set Configuration-->
|
|
62 | 63 | <argument name="product" value="$$product1$$"/>
|
63 | 64 | </actionGroup>
|
64 | 65 | <actionGroup ref="ProductSetWebsite" stepKey="ProductSetWebsite">
|
65 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
| 66 | + <argument name="website" value="secondWebsite"/> |
66 | 67 | </actionGroup>
|
67 | 68 | <actionGroup ref="ProductSetAdvancedPricing" stepKey="ProductSetAdvancedPricing1">
|
68 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
| 69 | + <argument name="website" value="secondWebsite"/> |
69 | 70 | </actionGroup>
|
70 | 71 |
|
71 | 72 | <actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchForSimpleProduct2">
|
|
75 | 76 | <argument name="product" value="$$product2$$"/>
|
76 | 77 | </actionGroup>
|
77 | 78 | <actionGroup ref="ProductSetWebsite" stepKey="ProductSetWebsite2">
|
78 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
| 79 | + <argument name="website" value="secondWebsite"/> |
79 | 80 | </actionGroup>
|
80 | 81 | <actionGroup ref="ProductSetAdvancedPricing" stepKey="ProductSetAdvancedPricing2">
|
81 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
| 82 | + <argument name="website" value="secondWebsite"/> |
82 | 83 | </actionGroup>
|
83 | 84 |
|
84 | 85 | <actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchForSimpleProduct3">
|
|
88 | 89 | <argument name="product" value="$$product3$$"/>
|
89 | 90 | </actionGroup>
|
90 | 91 | <actionGroup ref="ProductSetWebsite" stepKey="ProductSetWebsite3">
|
91 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
| 92 | + <argument name="website" value="secondWebsite"/> |
92 | 93 | </actionGroup>
|
93 | 94 | <actionGroup ref="ProductSetAdvancedPricing" stepKey="ProductSetAdvancedPricing3">
|
94 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
| 95 | + <argument name="website" value="secondWebsite"/> |
95 | 96 | </actionGroup>
|
96 | 97 |
|
97 | 98 | <actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchForSimpleProduct4">
|
|
101 | 102 | <argument name="product" value="$$product4$$"/>
|
102 | 103 | </actionGroup>
|
103 | 104 | <actionGroup ref="ProductSetWebsite" stepKey="ProductSetWebsite4">
|
104 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
| 105 | + <argument name="website" value="secondWebsite"/> |
105 | 106 | </actionGroup>
|
106 | 107 | <actionGroup ref="ProductSetAdvancedPricing" stepKey="ProductSetAdvancedPricing4">
|
107 |
| - <argument name="website" value="{{customWebsite.name}}"/> |
| 108 | + <argument name="website" value="secondWebsite"/> |
108 | 109 | </actionGroup>
|
109 | 110 | <actionGroup ref="ClearProductsFilterActionGroup" stepKey="ClearProductsFilterActionGroup"/>
|
110 | 111 |
|
|
135 | 136 | <click selector="{{AdminCartPriceRulesSection.addNewRuleButton}}" stepKey="clickAddNewRule"/>
|
136 | 137 | <waitForPageLoad stepKey="waitForPageDiscountPageIsLoaded"/>
|
137 | 138 | <fillField selector="{{AdminCartPriceRulesFormSection.ruleName}}" userInput="ship" stepKey="fillRuleName"/>
|
138 |
| - <selectOption selector="{{AdminCartPriceRulesFormSection.websites}}" userInput="{{customWebsite.name}}" stepKey="selectWebsites"/> |
| 139 | + <selectOption selector="{{AdminCartPriceRulesFormSection.websites}}" userInput="secondWebsite" stepKey="selectWebsites"/> |
139 | 140 | <selectOption selector="{{AdminCartPriceRulesFormSection.customerGroups}}" userInput="Retailer" stepKey="selectCustomerGroup"/>
|
140 | 141 | <selectOption selector="{{AdminCartPriceRulesFormSection.coupon}}" userInput="Specific Coupon" stepKey="selectCouponType"/>
|
141 | 142 | <fillField selector="{{AdminCartPriceRulesFormSection.couponCode}}" userInput="ship" stepKey="setCode"/>
|
|
326 | 327 | <argument name="ruleName" value="ship"/>
|
327 | 328 | </actionGroup>
|
328 | 329 | <actionGroup ref="AdminDeleteWebsiteActionGroup" stepKey="DeleteWebsite">
|
329 |
| - <argument name="websiteName" value="{{customWebsite.name}}"/> |
| 330 | + <argument name="websiteName" value="secondWebsite"/> |
330 | 331 | </actionGroup>
|
| 332 | + <createData entity="CustomerAccountSharingDefault" stepKey="setConfigCustomerAccountDefault"/> |
331 | 333 | <actionGroup ref="logout" stepKey="logout"/>
|
332 | 334 |
|
333 | 335 | <!--Do reindex and flush cache-->
|
|
0 commit comments