|
92 | 92 | <annotations>
|
93 | 93 | <description>Clears the Email, First Name, Last Name, Street Line 1, City, Postal Code and Phone fields when adding an Order and then verifies that they are required after attempting to Save.</description>
|
94 | 94 | </annotations>
|
95 |
| - |
| 95 | + |
96 | 96 | <seeElement selector="{{AdminOrderFormAccountSection.requiredGroup}}" stepKey="seeCustomerGroupRequired"/>
|
97 |
| - <checkOption selector="{{AdminOrderFormItemsSection.emailRequiredToCreateOrder('1')}}" stepKey="selectEmailRequiredOption"/> |
98 | 97 | <seeElement selector="{{AdminOrderFormAccountSection.requiredEmail}}" stepKey="seeEmailRequired"/>
|
99 |
| - <checkOption selector="{{AdminOrderFormItemsSection.emailRequiredToCreateOrder('0')}}" stepKey="unselectEmailRequiredOption"/> |
100 |
| - <seeElement selector="{{AdminOrderFormAccountSection.noRequiredEmail}}" stepKey="seeNoEmailRequired"/> |
101 | 98 | <clearField selector="{{AdminOrderFormAccountSection.email}}" stepKey="clearEmailField"/>
|
102 | 99 | <clearField selector="{{AdminOrderFormBillingAddressSection.FirstName}}" stepKey="clearFirstNameField"/>
|
103 | 100 | <clearField selector="{{AdminOrderFormBillingAddressSection.LastName}}" stepKey="clearLastNameField"/>
|
|
184 | 181 | <annotations>
|
185 | 182 | <description>EXTENDS: addConfigurableProductToOrder. Selects the provided Option to the Configurable Product.</description>
|
186 | 183 | </annotations>
|
187 |
| - |
| 184 | + |
188 | 185 | <waitForElementVisible selector="{{AdminOrderFormConfigureProductSection.optionSelect(attribute.default_frontend_label)}}" stepKey="waitForConfigurablePopover"/>
|
189 | 186 | <selectOption selector="{{AdminOrderFormConfigureProductSection.optionSelect(attribute.default_frontend_label)}}" userInput="{{option.label}}" stepKey="selectionConfigurableOption"/>
|
190 | 187 | </actionGroup>
|
|
198 | 195 | <argument name="option"/>
|
199 | 196 | <argument name="quantity" type="string"/>
|
200 | 197 | </arguments>
|
201 |
| - |
| 198 | + |
202 | 199 | <click selector="{{AdminOrderFormItemsSection.configure}}" stepKey="clickConfigure"/>
|
203 | 200 | <waitForElementVisible selector="{{AdminOrderFormConfigureProductSection.optionSelect(attribute.default_frontend_label)}}" stepKey="waitForConfigurablePopover"/>
|
204 | 201 | <wait time="2" stepKey="waitForOptionsToLoad"/>
|
|
216 | 213 | <argument name="product"/>
|
217 | 214 | <argument name="quantity" type="string" defaultValue="1"/>
|
218 | 215 | </arguments>
|
219 |
| - |
| 216 | + |
220 | 217 | <click selector="{{AdminOrderFormItemsSection.addProducts}}" stepKey="clickAddProducts"/>
|
221 | 218 | <fillField selector="{{AdminOrderFormItemsSection.skuFilter}}" userInput="{{product.sku}}" stepKey="fillSkuFilterBundle"/>
|
222 | 219 | <click selector="{{AdminOrderFormItemsSection.search}}" stepKey="clickSearchBundle"/>
|
|
238 | 235 | <arguments>
|
239 | 236 | <argument name="price" type="string"/>
|
240 | 237 | </arguments>
|
241 |
| - |
| 238 | + |
242 | 239 | <grabTextFrom selector="{{AdminOrderFormItemsSection.rowPrice('1')}}" stepKey="grabProductPriceFromGrid" after="clickOk"/>
|
243 | 240 | <assertEquals stepKey="assertProductPriceInGrid" message="Bundle product price in grid should be equal {{price}}" after="grabProductPriceFromGrid">
|
244 | 241 | <expectedResult type="string">{{price}}</expectedResult>
|
|
519 | 516 | <argument name="product"/>
|
520 | 517 | <argument name="customer"/>
|
521 | 518 | </arguments>
|
522 |
| - |
| 519 | + |
523 | 520 | <amOnPage stepKey="navigateToNewOrderPage" url="{{AdminOrderCreatePage.url}}"/>
|
524 | 521 | <waitForPageLoad stepKey="waitForNewOrderPageOpened"/>
|
525 | 522 | <click stepKey="chooseCustomer" selector="{{AdminOrdersGridSection.customerInOrdersSection(customer.firstname)}}"/>
|
|
0 commit comments