|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <!-- |
3 | 3 | /** |
4 | | - * Copyright © Magento, Inc. All rights reserved. |
| 4 | + * Copyright 2025 Adobe |
| 5 | + * All rights reserved. |
5 | 6 | * See COPYING.txt for license details. |
6 | 7 | */ |
7 | 8 | --> |
|
48 | 49 | <comment userInput="BIC workaround" stepKey="saveCustomStock"/> |
49 | 50 | <comment userInput="BIC workaround" stepKey="reindexCacheFlushAfterAssignDefaultStockToMainWebsite"/> |
50 | 51 |
|
51 | | - <actionGroup ref="CliIndexerReindexActionGroup" stepKey="performReindex"> |
52 | | - <argument name="indices" value=""/> |
53 | | - </actionGroup> |
54 | | - <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache"> |
55 | | - <argument name="tags" value="full_page"/> |
56 | | - </actionGroup> |
57 | | - |
58 | 52 | <createData entity="VirtualProduct" stepKey="virtualProduct"> |
59 | 53 | <requiredEntity createDataKey="category"/> |
60 | 54 | </createData> |
|
69 | 63 | </actionGroup> |
70 | 64 | <fillField selector="{{AdminProductSourcesGrid.rowQty('2')}}" userInput="100" stepKey="setCustomSourceQuantity2"/> |
71 | 65 | <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveEditedVirtualProduct"/> |
| 66 | + <actionGroup ref="CliIndexerReindexActionGroup" stepKey="performReindex"> |
| 67 | + <argument name="indices" value=""/> |
| 68 | + </actionGroup> |
| 69 | + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache"> |
| 70 | + <argument name="tags" value="full_page"/> |
| 71 | + </actionGroup> |
72 | 72 | </before> |
73 | 73 |
|
74 | 74 | <after> |
|
146 | 146 | <argument name="selector" value="AdminProductGridFilterSection.skuFilter"/> |
147 | 147 | <argument name="value" value="$$virtualProduct.sku$$"/> |
148 | 148 | </actionGroup> |
149 | | - <see selector="{{AdminProductGridSection.productQtyPerSource('1',$$customSource.source[name]$$)}}" userInput="99" stepKey="checkProductSourceQtyAfterInvoiceCreated"/> |
150 | | - <see selector="{{AdminProductGridSection.productQtyPerSource('1',$$customSource2.source[name]$$)}}" userInput="100" stepKey="checkProductSource2QtyAfterInvoiceCreated"/> |
151 | | - <see selector="{{AdminProductGridSection.productSalableQty('1',$$customStock.stock[name]$$)}}" userInput="197" stepKey="checkSalableQtyAfterInvoiceCreated"/> |
| 149 | + <waitForText selector="{{AdminProductGridSection.productQtyPerSource('1',$$customSource.source[name]$$)}}" userInput="99" stepKey="checkProductSourceQtyAfterInvoiceCreated"/> |
| 150 | + <waitForText selector="{{AdminProductGridSection.productQtyPerSource('1',$$customSource2.source[name]$$)}}" userInput="100" stepKey="checkProductSource2QtyAfterInvoiceCreated"/> |
| 151 | + <waitForText selector="{{AdminProductGridSection.productSalableQty('1',$$customStock.stock[name]$$)}}" userInput="197" stepKey="checkSalableQtyAfterInvoiceCreated"/> |
152 | 152 | </test> |
153 | 153 | </tests> |
0 commit comments