File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
app/code/Magento/Catalog/Test/Mftf Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1212 <data key =" remove_image_notice" >The image cannot be removed as it has been assigned to the other image role</data >
1313 <data key =" save_success" >You saved the product.</data >
1414 </entity >
15+ <entity name =" ProductWarningMessage" type =" message" >
16+ <data key =" require_Message" >This is a required field.</data >
17+ </entity >
1518</entities >
Original file line number Diff line number Diff line change 3030 <after >
3131 <!-- Customer logout -->
3232 <actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" customerLogout" />
33+ <deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
3334 <deleteData createDataKey =" createSimpleProduct" stepKey =" deleteSimpleProduct" />
3435 </after >
3536 <!-- Step4: Login as a customer -->
4344 <!-- Add Product to Cart from product detail page -->
4445 <click selector =" {{StorefrontProductActionSection.addToCart}}" stepKey =" addToCart" />
4546 <!-- see custom option validation message -->
46- <waitForText userInput =" This is a required field. " stepKey =" seeRequiredField" />
47+ <waitForText userInput =" {{ProductWarningMessage.require_Message}} " stepKey =" seeRequiredField" />
4748 <!-- Choose checkbox value1 -->
4849 <actionGroup ref =" StorefrontAddSimpleProductCustomOptionCheckBoxActionGroup" stepKey =" selectCustomOptionCheckBoxForValue1" />
4950 <!-- Step6: place order -->
6162 <!-- Clicking View Order from My Orders Grid -->
6263 <actionGroup ref =" StorefrontClickViewOrderLinkOnMyOrdersPageActionGroup" stepKey =" clickViewOrder" />
6364 <!-- Clicking on Reorder link from Order Details Tab -->
65+ <waitForElementClickable selector =" {{StorefrontCustomerOrderViewSection.reorder}}" stepKey =" waitForReorderButtonToBeClickable" />
6466 <click selector =" {{StorefrontCustomerOrderViewSection.reorder}}" stepKey =" clickReorder" />
6567 <actionGroup ref =" StorefrontCheckoutCheckProductActionGroup" stepKey =" checkProduct" >
66- <argument name =" product" value =" $$createSimpleProduct$$" />
68+ <argument name =" product" value =" $$createSimpleProduct$$" />
6769 <argument name =" cartItem" value =" SimpleCartItem" />
6870 </actionGroup >
6971 </test >
You can’t perform that action at this time.
0 commit comments