Skip to content

Commit 06aea05

Browse files
authored
Merge pull request #2212 from magento-pangolin/2.2-develop-pangolin
[Pangolin] Deliver changes related to MFTF 2.1.1 release
2 parents 975b90b + 7a042c8 commit 06aea05

File tree

7 files changed

+23
-18
lines changed

7 files changed

+23
-18
lines changed

dev/tests/acceptance/RoboFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function buildProject()
4343
* @param array $opts
4444
* @return void
4545
*/
46-
function generateTests($opts = ['config' => null, 'force' => false])
46+
function generateTests($opts = ['config' => null, 'force' => false, 'nodes' => null])
4747
{
4848
$GLOBALS['GENERATE_TESTS'] = true;
4949

@@ -53,7 +53,7 @@ function generateTests($opts = ['config' => null, 'force' => false])
5353
}
5454

5555
require 'tests'. DIRECTORY_SEPARATOR . 'functional' . DIRECTORY_SEPARATOR . '_bootstrap.php';
56-
\Magento\FunctionalTestingFramework\Util\TestGenerator::getInstance()->createAllTestFiles($opts['config']);
56+
\Magento\FunctionalTestingFramework\Util\TestGenerator::getInstance()->createAllTestFiles($opts['config'], $opts['nodes']);
5757
$this->say("Generate Tests Command Run");
5858
}
5959

dev/tests/acceptance/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
}
1818
],
1919
"require": {
20-
"allure-framework/allure-codeception": "dev-master#af40af5ae2b717618a42fe3e137d75878508c75d",
20+
"allure-framework/allure-codeception": "~1.2.6",
2121
"codeception/codeception": "~2.3.4",
2222
"consolidation/robo": "^1.0.0",
2323
"symfony/process": ">=2.7 <3.4",
2424
"henrikbjorn/lurker": "^1.2",
25-
"magento/magento2-functional-testing-framework": "~2.1.0",
25+
"magento/magento2-functional-testing-framework": "~2.1.1",
2626
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0",
2727
"vlucas/phpdotenv": "~2.4"
2828
},

dev/tests/acceptance/composer.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Wishlist/Test/StorefrontAddMultipleStoreProductsToWishlistTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="openEditProduct1">
4141
<argument name="product" value="$$product$$"/>
4242
</actionGroup>
43+
<scrollToTopOfPage stepKey="scrollToTop1"/>
4344
<click stepKey="clickSwitchStoreMenuForProduct1" selector="{{AdminProductFormActionSection.changeStoreButton}}"/>
4445
<click stepKey="clickOnStoreNameItemForProduct1" selector="{{AdminProductFormChangeStoreSection.storeSelector(customStore.name)}}"/>
4546
<click stepKey="acceptStoreSwitchingForProduct1" selector="{{AdminProductFormChangeStoreSection.acceptButton}}"/>
@@ -52,6 +53,7 @@
5253
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="openEditProduct2">
5354
<argument name="product" value="$$secondProduct$$"/>
5455
</actionGroup>
56+
<scrollToTopOfPage stepKey="scrollToTop2"/>
5557
<click stepKey="clickSwitchStoreMenuForProduct2" selector="{{AdminProductFormActionSection.changeStoreButton}}"/>
5658
<click stepKey="clickOnStoreNameItemForProduct2" selector="{{AdminProductFormChangeStoreSection.storeSelector('Default Store View')}}"/>
5759
<click stepKey="acceptStoreSwitchingForProduct2" selector="{{AdminProductFormChangeStoreSection.acceptButton}}"/>

dev/tests/functional/tests/app/Magento/Bundle/Test/TestCase/UpdateBundleProductEntityTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
<constraint name="Magento\Bundle\Test\Constraint\AssertBundleProductPage" />
8585
</variation>
8686
<variation name="UpdateBundleProductEntityTestVariation6" summary="Verify data overrirding on Store View level" ticketId="MAGETWO-50642">
87+
<data name="tag" xsi:type="string">stable:no</data>
8788
<data name="originalProduct/dataset" xsi:type="string">bundle_fixed_product</data>
8889
<data name="store/dataset" xsi:type="string">custom</data>
8990
<data name="product/data/bundle_selections/dataset" xsi:type="string">fixed_with_custom_title</data>

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/UpdateSimpleProductEntityTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,15 @@
161161
</variation>
162162
<variation name="UpdateSimpleProductEntityTestVariation12" summary="Verify data overriding on Store View level" ticketId="MAGETWO-50640">
163163
<data name="initialProduct/dataset" xsi:type="string">product_with_category</data>
164+
<data name="tag" xsi:type="string">stable:no</data>
164165
<data name="store/dataset" xsi:type="string">custom</data>
165166
<data name="product/data/use_default_name" xsi:type="string">No</data>
166167
<data name="product/data/name" xsi:type="string">Test simple product %isolation%</data>
167168
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />
168169
<constraint name="Magento\Catalog\Test\Constraint\AssertProductNameOnDifferentStoreViews" />
169170
</variation>
170171
<variation name="UpdateSimpleProductEntityTestVariation13" summary="Price overriding on Store View level" ticketId="MAGETWO-58861">
171-
<data name="tag" xsi:type="string">test_type:acceptance_test, test_type:extended_acceptance_test</data>
172+
<data name="tag" xsi:type="string">stable:no, test_type:acceptance_test, test_type:extended_acceptance_test</data>
172173
<data name="configData" xsi:type="string">price_scope_website</data>
173174
<data name="initialProduct/dataset" xsi:type="string">product_with_category</data>
174175
<data name="store/dataset" xsi:type="string">custom</data>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
</variation>
7272
<variation name="VerifyConfigurableProductEntityPriceTestVariation6" summary="Change price on scope level for child product" ticketId="MAGETWO-60325">
7373
<data name="product" xsi:type="string">configurableProduct::product_with_color</data>
74+
<data name="tag" xsi:type="string">stable:no</data>
7475
<data name="productUpdate/childProductUpdate" xsi:type="array">
7576
<item name="data" xsi:type="array">
7677
<item name="price" xsi:type="string">0.07</item>

0 commit comments

Comments
 (0)