Skip to content

Commit 18c8f6c

Browse files
author
Oleksii Korshenko
authored
Merge pull request #570 from magento-qmt/MTA-3603-pr
[Mavericks] Create 'green' functional test suite
2 parents 9130f67 + 19c7574 commit 18c8f6c

File tree

136 files changed

+356
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+356
-47
lines changed

dev/tests/functional/tests/app/Magento/Backend/Test/TestCase/GlobalSearchEntityTest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,31 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Backend\Test\TestCase\GlobalSearchEntityTest" summary="Global Search Backend " ticketId="MAGETWO-28457">
1010
<variation name="GlobalSearchEntityTestVariation1">
11+
<data name="tag" xsi:type="string">stable:no</data>
1112
<data name="description" xsi:type="string">search shows admin preview</data>
1213
<data name="search/data/query" xsi:type="string">Some search term</data>
1314
<constraint name="Magento\Backend\Test\Constraint\AssertGlobalSearchPreview" />
1415
</variation>
1516
<variation name="GlobalSearchEntityTestVariation2">
17+
<data name="tag" xsi:type="string">stable:no</data>
1618
<data name="description" xsi:type="string">search with 2 sign return no results</data>
1719
<data name="search/data/query" xsi:type="string">:)</data>
1820
<constraint name="Magento\Backend\Test\Constraint\AssertGlobalSearchNoRecordsFound" />
1921
</variation>
2022
<variation name="GlobalSearchEntityTestVariation3">
23+
<data name="tag" xsi:type="string">stable:no</data>
2124
<data name="description" xsi:type="string">search product by sku</data>
2225
<data name="search/data/query" xsi:type="string">orderInjectable::default::product::sku</data>
2326
<constraint name="Magento\Backend\Test\Constraint\AssertGlobalSearchProductName" />
2427
</variation>
2528
<variation name="GlobalSearchEntityTestVariation4">
29+
<data name="tag" xsi:type="string">stable:no</data>
2630
<data name="description" xsi:type="string">search existed customer</data>
2731
<data name="search/data/query" xsi:type="string">customer::johndoe_unique::lastname</data>
2832
<constraint name="Magento\Backend\Test\Constraint\AssertGlobalSearchCustomerName" />
2933
</variation>
3034
<variation name="GlobalSearchEntityTestVariation5">
35+
<data name="tag" xsi:type="string">stable:no</data>
3136
<data name="description" xsi:type="string">search order (by order id)</data>
3237
<data name="search/data/query" xsi:type="string">orderInjectable::default::id</data>
3338
<constraint name="Magento\Backend\Test\Constraint\AssertGlobalSearchOrderId" />

dev/tests/functional/tests/app/Magento/Braintree/Test/TestCase/CreateOrderWithPayPalBraintreeVaultBackendTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Braintree\Test\TestCase\CreateOrderWithPayPalBraintreeVaultBackendTest" summary="Checkout with PayPal Braintree Vault token from Admin">
1010
<variation name="CreateOrderWithPayPalBraintreeVaultBackendTestVariation1" summary="Checkout with PayPal Braintree Vault token from Admin" ticketId="MAGETWO-59259">
11-
<data name="tag" xsi:type="string">est_type:3rd_party_test, severity:S0</data>
11+
<data name="tag" xsi:type="string">test_type:3rd_party_test, severity:S0</data>
1212
<data name="products/0" xsi:type="string">catalogProductSimple::product_10_dollar</data>
1313
<data name="customer/dataset" xsi:type="string">default</data>
1414
<data name="shippingAddress/dataset" xsi:type="string">US_address_1_without_email</data>

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Bundle\Test\TestCase\CreateBundleProductEntityTest" summary="Create Bundle Product" ticketId="MAGETWO-24118">
1010
<variation name="CreateBundleProductEntityTestVariation1">
11+
<data name="tag" xsi:type="string">stable:no</data>
1112
<data name="description" xsi:type="string">Create default bundle with dynamic options</data>
1213
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
1314
<data name="product/data/name" xsi:type="string">BundleProduct %isolation%</data>
@@ -44,7 +45,7 @@
4445
<constraint name="Magento\Catalog\Test\Constraint\AssertProductNotSearchableBySku" />
4546
</variation>
4647
<variation name="CreateBundleProductEntityTestVariation3">
47-
<data name="tag" xsi:type="string">test_type:extended_acceptance_test</data>
48+
<data name="tag" xsi:type="string">test_type:extended_acceptance_test, to_maintain:yes</data>
4849
<data name="description" xsi:type="string">Create dynamic bundle with price randle and all types options</data>
4950
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
5051
<data name="product/data/name" xsi:type="string">BundleProduct %isolation%</data>
@@ -74,6 +75,7 @@
7475
<constraint name="Magento\Bundle\Test\Constraint\AssertBundlePriceType" />
7576
</variation>
7677
<variation name="CreateBundleProductEntityTestVariation4">
78+
<data name="tag" xsi:type="string">stable:no</data>
7779
<data name="description" xsi:type="string">Create fixed bundle</data>
7880
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
7981
<data name="product/data/name" xsi:type="string">BundleProduct %isolation%</data>
@@ -97,6 +99,7 @@
9799
<constraint name="Magento\Bundle\Test\Constraint\AssertBundleItemsOnProductPage" />
98100
</variation>
99101
<variation name="CreateBundleProductEntityTestVariation5">
102+
<data name="tag" xsi:type="string">stable:no</data>
100103
<data name="description" xsi:type="string">Create fixed bundle with all types options</data>
101104
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
102105
<data name="product/data/name" xsi:type="string">BundleProduct %isolation%</data>
@@ -161,6 +164,7 @@
161164
<constraint name="Magento\Bundle\Test\Constraint\AssertBundlePriceView" />
162165
</variation>
163166
<variation name="CreateBundleProductEntityTestVariation7" summary="Check bundle dynamic product with tier price">
167+
<data name="tag" xsi:type="string">to_maintain:yes</data>
164168
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
165169
<data name="product/data/name" xsi:type="string">BundleProduct %isolation%</data>
166170
<data name="product/data/sku_type" xsi:type="string">Yes</data>
@@ -187,6 +191,7 @@
187191
<constraint name="Magento\Bundle\Test\Constraint\AssertTierPriceOnBundleProductPage" />
188192
</variation>
189193
<variation name="CreateBundleProductEntityTestVariation8">
194+
<data name="tag" xsi:type="string">to_maintain:yes</data>
190195
<data name="description" xsi:type="string">Create dynamic bundle with special price</data>
191196
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
192197
<data name="product/data/name" xsi:type="string">Bundle Dynamic %isolation%</data>
@@ -236,6 +241,7 @@
236241
<constraint name="Magento\Bundle\Test\Constraint\AssertBundlePriceType" />
237242
</variation>
238243
<variation name="CreateBundleProductEntityTestVariation11">
244+
<data name="issue" xsi:type="string">MAGETWO-52788: Dynamic Rows: support status being changed</data>
239245
<data name="description" xsi:type="string">Create fixed product with checkout first option</data>
240246
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
241247
<data name="product/data/name" xsi:type="string">Bundle Fixed %isolation%</data>
@@ -334,6 +340,7 @@
334340
<constraint name="Magento\Bundle\Test\Constraint\AssertBundleProductPage" />
335341
</variation>
336342
<variation name="CreateBundleProductEntityTestVariation17" summary="Create fixed bundle product with tier price and custom options with fixed and percent price">
343+
<data name="tag" xsi:type="string">stable:no</data>
337344
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
338345
<data name="product/data/name" xsi:type="string">Bundle Fixed %isolation%</data>
339346
<data name="product/data/sku_type" xsi:type="string">No</data>
@@ -359,6 +366,7 @@
359366
<constraint name="Magento\Bundle\Test\Constraint\AssertBundleProductInCart" />
360367
</variation>
361368
<variation name="CreateBundleProductEntityTestVariation18" summary="Create dynamic bundle product with tier price for sub-item">
369+
<data name="tag" xsi:type="string">stable:no</data>
362370
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
363371
<data name="product/data/name" xsi:type="string">BundleProduct %isolation%</data>
364372
<data name="product/data/sku_type" xsi:type="string">Yes</data>
@@ -394,6 +402,7 @@
394402
<constraint name="Magento\Catalog\Test\Constraint\AssertProductOutOfStock" />
395403
</variation>
396404
<variation name="CreateBundleProductEntityTestVariation21" summary="Create default fixed bundle with custom Website">
405+
<data name="tag" xsi:type="string">to_maintain:yes</data>
397406
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
398407
<data name="product/data/name" xsi:type="string">Bundle Fixed %isolation%</data>
399408
<data name="product/data/sku_type" xsi:type="string">No</data>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public function __inject(
7373
*/
7474
public function test(BundleProduct $product, BundleProduct $originalProduct)
7575
{
76+
$this->markTestIncomplete('MAGETWO-56584: [FT] Custom options are not created for product in test');
7677
// Preconditions
7778
$originalProduct->persist();
7879
$originalCategory = $originalProduct->hasData('category_ids')

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Category/CreateCategoryEntityTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryForm" />
1717
</variation>
1818
<variation name="CreateCategoryEntityTestVariation2_RootCategory_AllFields">
19+
<data name="tag" xsi:type="string">to_maintain:yes</data>
1920
<data name="description" xsi:type="string">Create root category with all fields</data>
2021
<data name="addCategory" xsi:type="string">addRootCategory</data>
2122
<data name="category/data/is_active" xsi:type="string">Yes</data>
@@ -56,6 +57,7 @@
5657
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryPage" />
5758
</variation>
5859
<variation name="CreateCategoryEntityTestVariation4_Subcategory_AllFields">
60+
<data name="tag" xsi:type="string">to_maintain:yes</data>
5961
<data name="description" xsi:type="string">Create not anchor subcategory specifying all fields</data>
6062
<data name="addCategory" xsi:type="string">addSubcategory</data>
6163
<data name="category/data/parent_id/dataset" xsi:type="string">default_category</data>
@@ -90,6 +92,7 @@
9092
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryForAssignedProducts" />
9193
</variation>
9294
<variation name="CreateCategoryEntityTestVariation5_Anchor_MostOfFields">
95+
<data name="tag" xsi:type="string">to_maintain:yes</data>
9396
<data name="description" xsi:type="string">Create anchor subcategory with all fields</data>
9497
<data name="addCategory" xsi:type="string">addSubcategory</data>
9598
<data name="category/data/parent_id/dataset" xsi:type="string">default_category</data>
@@ -150,7 +153,7 @@
150153
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryForAssignedProducts" />
151154
</variation>
152155
<variation name="CreateCategoryEntityTestVariation9_ThreeNesting">
153-
<data name="tag" xsi:type="string">test_type:extended_acceptance_test</data>
156+
<data name="tag" xsi:type="string">test_type:extended_acceptance_test, to_maintain:yes</data>
154157
<data name="description" xsi:type="string">Create category with three nesting</data>
155158
<data name="addCategory" xsi:type="string">addSubcategory</data>
156159
<data name="category/data/parent_id/dataset" xsi:type="string">two_nested_categories</data>

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/NavigateMenuTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</variation>
1515
<variation name="NavigateMenuTest10">
1616
<data name="menuItem" xsi:type="string">Products > Categories</data>
17-
<data name="pageTitle" xsi:type="string">Default Category</data>
17+
<data name="pageTitle" xsi:type="string">Default Category (ID: 2)</data>
1818
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable"/>
1919
</variation>
2020
<variation name="NavigateMenuTest11">

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/AddCompareProductsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class AddCompareProductsTest extends AbstractCompareProductsTest
2929
{
3030
/* tags */
3131
const MVP = 'yes';
32+
const TO_MAINTAIN = 'yes';
3233
/* end tags */
3334

3435
/**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<variation name="AddCompareProductsTestVariation1">
1111
<data name="products" xsi:type="string">catalogProductSimple::simple_for_composite_products</data>
1212
<data name="isCustomerLoggedIn" xsi:type="string">No</data>
13+
<data name="tag" xsi:type="string">to_maintain:yes</data>
1314
<constraint name="Magento\Catalog\Test\Constraint\AssertProductCompareItemsLink" />
1415
<constraint name="Magento\Catalog\Test\Constraint\AssertProductComparePage" />
1516
<constraint name="Magento\Catalog\Test\Constraint\AssertProductCompareBlockOnCmsPage" />

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Catalog\Test\TestCase\Product\ClearAllCompareProductsTest" summary="Clear All Compare Products" ticketId="MAGETWO-25961">
1010
<variation name="ClearAllCompareProductsTestVariation1">
11+
<data name="tag" xsi:type="string">stable:no</data>
1112
<data name="config/dataset" xsi:type="string">compare_products</data>
1213
<data name="products" xsi:type="string">catalogProductSimple::simple_for_composite_products,catalogProductVirtual::default,downloadableProduct::default,groupedProduct::grouped_product_with_price,configurableProduct::default,bundleProduct::bundle_dynamic_product,bundleProduct::bundle_fixed_product</data>
1314
<constraint name="Magento\Catalog\Test\Constraint\AssertProductCompareSuccessRemoveAllProductsMessage" />

0 commit comments

Comments
 (0)