File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
ConfigurableProduct/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 156
156
<see userInput =" This product is out of stock." stepKey =" seeTheErrorMessageDisplayed" />
157
157
<!-- Select shipping method -->
158
158
<comment userInput =" Select shipping method" stepKey =" selectShippingMethod" />
159
- <!-- Shipping is not available because we couldn't add the product -->
160
159
<click selector =" {{AdminInvoicePaymentShippingSection.getShippingMethodAndRates}}" stepKey =" openShippingMethod" />
161
160
<waitForPageLoad stepKey =" waitForShippingMethods" />
162
- <waitForElementVisible selector =" {{AdminInvoicePaymentShippingSection.shippingNotAvailable}}" stepKey =" checkThatShippingIsUnavailable" />
161
+ <click selector =" {{AdminInvoicePaymentShippingSection.shippingMethod}}" stepKey =" chooseShippingMethod" />
162
+ <waitForPageLoad stepKey =" waitForShippingMethodLoad" />
163
163
<click selector =" {{AdminOrderFormActionSection.SubmitOrder}}" stepKey =" clickSubmitOrder" />
164
164
<waitForPageLoad stepKey =" waitForError" />
165
- <!-- Check order could not be created without products -->
165
+ <!-- Check that error remains -->
166
166
<actionGroup ref =" AssertAdminItemOrderedErrorActionGroup" stepKey =" assertProductErrorRemains" >
167
167
<argument name =" productName" value =" $createConfigChildProduct2.name$" />
168
168
<argument name =" messageType" value =" error" />
169
- <argument name =" message" value =" Validation is failed " />
169
+ <argument name =" message" value =" This product is out of stock. " />
170
170
</actionGroup >
171
171
</test >
172
172
</tests >
Original file line number Diff line number Diff line change 19
19
<element name =" shippingMethod" type =" button" selector =" //label[contains(text(), 'Fixed')]" timeout =" 60" />
20
20
<element name =" fixedPriceShippingMethod" type =" button" selector =" #s_method_{{methodName}}_{{methodTitle}}" parameterized =" true" />
21
21
<element name =" getShippingMethod" type =" button" selector =" #order-shipping-method-summary a" />
22
- <element name =" shippingNotAvailable" type =" button" selector =" .order-shipping-method-summary .order-shipping-method-not-available" />
23
22
</section >
24
23
</sections >
You can’t perform that action at this time.
0 commit comments