Skip to content

Commit c3f69b4

Browse files
committed
add minor fix
1 parent c0550ee commit c3f69b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Mftf/Section/StorefrontProductPageSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
<element name="customOptionDropDown" type="select" selector="//*[@id='product-options-wrapper']//select[contains(@class, 'product-custom-option admin__control-select')]"/>
2626
<element name="qtyInputWithProduct" type="input" selector="//tr//strong[contains(.,'{{productName}}')]/../../td[@class='col qty']//input" parameterized="true"/>
2727
<element name="customOptionRadio" type="input" selector="//span[contains(text(),'{{customOption}}')]/../../input" parameterized="true"/>
28-
<element name="onlyProductsLeft" type="block" selector="//div[@class='availability only']"/>
28+
<element name="onlyProductsLeft" type="block" selector="//div[@class='product-info-price']//div[@class='product-info-stock-sku']//div[@class='availability only']"/>
2929
</section>
3030
</sections>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<requiredEntity createDataKey="createCategory"/>
2323
</createData>
2424
<magentoCLI command="config:set {{CatalogInventoryOptionsOnlyXleftThreshold.path}} 10000" stepKey="setStockThresholdQty"/>
25-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
25+
<magentoCLI command="cache:flush config" stepKey="flushCache"/>
2626
</before>
2727
<after>
2828
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>

0 commit comments

Comments
 (0)