Skip to content

Commit f67ebdc

Browse files
committed
MAGETWO-88178: Create Functional Test to verify OOS Configuration product Option not showing in Layered Navigation
1 parent abe5e91 commit f67ebdc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/TestCase/VerifyConfigurableProductLayeredNavigationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
/**
1212
* Preconditions:
13-
1. Choose an attribute for configurable options or create it and set attribute properties to
14-
2. is_filterable = Filterable (with results)
15-
3. is_filterable_in_search = Yes
13+
* 1. Choose an attribute for configurable options or create it and set attribute properties to
14+
* 2. is_filterable = Filterable (with results)
15+
* 3. is_filterable_in_search = Yes
1616
*
1717
* Steps:
1818
* 1. Log in to Admin.

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/TestCase/VerifyConfigurableProductLayeredNavigationTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\ConfigurableProduct\Test\TestCase\VerifyConfigurableProductLayeredNavigationTest" summary="Verify OOS option configurable product in Layered Navigation on storefront">
10-
<variation name="VerifyConfigurableProductEntityPriceTestVariation2" summary="Verify the out of stock configurable attribute option doesn't show in Layered navigation" ticketId="MAGETWO-89745">
10+
<variation name="VerifyConfigurableProductLayeredNavigationTestVariation1" summary="Verify the out of stock configurable attribute option doesn't show in Layered navigation" ticketId="MAGETWO-89745">
1111
<data name="product" xsi:type="string">configurableProduct::product_with_3_sizes</data>
1212
<data name="productUpdate/childProductUpdate" xsi:type="array">
1313
<item name="data" xsi:type="array">
@@ -18,7 +18,7 @@
1818
</data>
1919
<data name="productUpdate/optionNumber" xsi:type="string">1</data>
2020
<data name="outOfStockOption" xsi:type="string">SIZE_S</data>
21-
<constraint name="Magento\ConfigurableProduct\Test\Constraint\AssertConfigurableProductAttributeOptionInLayeredNavigation" />
21+
<constraint name="Magento\ConfigurableProduct\Test\Constraint\AssertConfigurableProductAttributeOptionNotInLayeredNavigation" />
2222
</variation>
2323
</testCase>
2424
</config>

0 commit comments

Comments
 (0)