From 0e60eac1103a4551379fc3548c09a6461834bb7e Mon Sep 17 00:00:00 2001 From: Leonid Poluyanov Date: Wed, 9 Aug 2017 15:57:29 +0300 Subject: [PATCH 1/6] MAGETWO-71431: ImportProductsTest random failures --- .../Test/TestCase/ImportProductsTest.xml | 12 +++++ .../CatalogImportExport/Test/etc/testcase.xml | 3 +- .../Indexer/Test/TestStep/ReindexStep.php | 50 +++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 dev/tests/functional/tests/app/Magento/Indexer/Test/TestStep/ReindexStep.php diff --git a/dev/tests/functional/tests/app/Magento/CatalogImportExport/Test/TestCase/ImportProductsTest.xml b/dev/tests/functional/tests/app/Magento/CatalogImportExport/Test/TestCase/ImportProductsTest.xml index cb29537c8dea0..2c7f6665df0aa 100644 --- a/dev/tests/functional/tests/app/Magento/CatalogImportExport/Test/TestCase/ImportProductsTest.xml +++ b/dev/tests/functional/tests/app/Magento/CatalogImportExport/Test/TestCase/ImportProductsTest.xml @@ -29,6 +29,10 @@ + + catalog_category_product + catalog_product_category + @@ -45,6 +49,10 @@ 4 catalogProductSimple::default_in_custom_website catalogProductSimple::default + + catalog_category_product + catalog_product_category + @@ -60,6 +68,10 @@ 7 7 catalogProductSimple::default_in_custom_website + + catalog_category_product + catalog_product_category + diff --git a/dev/tests/functional/tests/app/Magento/CatalogImportExport/Test/etc/testcase.xml b/dev/tests/functional/tests/app/Magento/CatalogImportExport/Test/etc/testcase.xml index 3438787d668f7..be8bf8b89dd16 100644 --- a/dev/tests/functional/tests/app/Magento/CatalogImportExport/Test/etc/testcase.xml +++ b/dev/tests/functional/tests/app/Magento/CatalogImportExport/Test/etc/testcase.xml @@ -11,6 +11,7 @@ - + + diff --git a/dev/tests/functional/tests/app/Magento/Indexer/Test/TestStep/ReindexStep.php b/dev/tests/functional/tests/app/Magento/Indexer/Test/TestStep/ReindexStep.php new file mode 100644 index 0000000000000..1a3cb4a034765 --- /dev/null +++ b/dev/tests/functional/tests/app/Magento/Indexer/Test/TestStep/ReindexStep.php @@ -0,0 +1,50 @@ +indexer = $indexer; + $this->indexerType = $indexerType; + } + + /** + * Run reindex process. + * All indexers will be refreshed in a case of empty $indexerType array. + * + * @return void + */ + public function run() + { + $this->indexer->reindex($this->indexerType); + } +} From 30081f9e7f410c956b3016df25258e4872a9ec97 Mon Sep 17 00:00:00 2001 From: Oleksandr Miroshnichenko Date: Tue, 1 Aug 2017 11:49:55 +0300 Subject: [PATCH 2/6] MAGETWO-71030: Sound from video from parent configurable product plays when start play video of child --- .../view/frontend/web/js/fotorama-add-video-events.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/Magento/ProductVideo/view/frontend/web/js/fotorama-add-video-events.js b/app/code/Magento/ProductVideo/view/frontend/web/js/fotorama-add-video-events.js index f78e424d741eb..03ce42bf25c4a 100644 --- a/app/code/Magento/ProductVideo/view/frontend/web/js/fotorama-add-video-events.js +++ b/app/code/Magento/ProductVideo/view/frontend/web/js/fotorama-add-video-events.js @@ -617,6 +617,7 @@ define([ var videoSettings; videoSettings = this.options.videoSettings[0]; + $image.find('.' + this.PV).remove(); $image.append( '