Skip to content

Commit 29dc252

Browse files
committed
ACQE-8182: Customer should be able to reorder product with a selected custom checkbox option
- Moved creation of product to before section
1 parent 075a2b9 commit 29dc252

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontVerifyProductReorderWithCustomOptionTest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
<before>
2222
<!-- Precondition: Create customer -->
2323
<createData entity="Simple_US_Customer_NY" stepKey="createCustomer"/>
24+
<!-- Step1&2&3: Create product with checkbox two custom options -->
25+
<createData entity="SimpleProduct2" stepKey="createSimpleProduct"/>
26+
<updateData entity="productWithCheckboxCustomOptions" createDataKey="createSimpleProduct" stepKey="addCustomOptions">
27+
<requiredEntity createDataKey="createSimpleProduct"/>
28+
</updateData>
2429
</before>
2530
<after>
2631
<!-- Customer logout -->
2732
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
2833
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
2934
</after>
30-
<!-- Step1&2&3: Create product with checkbox two custom options -->
31-
<createData entity="SimpleProduct2" stepKey="createSimpleProduct"/>
32-
<updateData entity="productWithCheckboxCustomOptions" createDataKey="createSimpleProduct" stepKey="addCustomOptions">
33-
<requiredEntity createDataKey="createSimpleProduct"/>
34-
</updateData>
3535
<!-- Step4: Login as a customer -->
3636
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginToStorefrontAccount">
3737
<argument name="Customer" value="$createCustomer$"/>

0 commit comments

Comments
 (0)