Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 5bbcc9c

Browse files
committed
MAGETWO-80093: Create Functional Test to verify OOS Configuration product option not showing in Layered Navigation
- Fixed CR comments
1 parent 6c530aa commit 5bbcc9c

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Constraint/AssertConfigurableProductAttributeOptionInLayeredNavigation.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
use Magento\ConfigurableProduct\Test\Fixture\ConfigurableProduct;
1616

1717
/**
18-
* Check whether the attribute filter is displayed on the frontend in Layered navigation.
18+
* Check whether OOS product attribute options for configurable product are displayed on frontend in Layered navigation.
1919
*/
2020
class AssertConfigurableProductAttributeOptionInLayeredNavigation extends AbstractConstraint
2121
{
2222
/**
23-
* Check whether the attribute filter is displayed on the frontend in Layered navigation.
23+
* Check whether the OOS attribute options are displayed on the frontend in Layered navigation.
2424
*
2525
* @param CatalogCategoryView $catalogCategoryView
2626
* @param InjectableFixture $product
2727
* @param CmsIndex $cmsIndex
2828
* @param FixtureFactory $fixtureFactory
29-
* @param $outOfStockOption
29+
* @param string $outOfStockOption
3030
* @return void
3131
*/
3232
public function processAssert(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
class VerifyConfigurableProductLayeredNavigationTest extends Scenario
3030
{
3131
/**
32-
* Verify configurable product price.
32+
* Verify configurable product options in layered navigation.
3333
*
3434
* @return array
3535
*/

dev/tests/functional/tests/app/Magento/LayeredNavigation/Test/Block/Navigation.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ class Navigation extends Block
4141
*
4242
* @var string
4343
*/
44-
4544
protected $optionContent = './/div[@class="filter-options-title" and contains(text(),"")]/following-sibling::div//a[contains(text(), \'SIZE\')]';
4645

47-
4846
/**
4947
* Locator value for correspondent "Filter" link.
5048
*

0 commit comments

Comments
 (0)