Skip to content

Commit 26459ac

Browse files
author
Aponasenko, Dmytro(daponasenko)
committed
Merge pull request #510 from magento-qmt/develop
[Mavericks] Functional tests maintenance
2 parents 0a1db3c + dce2e1b commit 26459ac

File tree

206 files changed

+1935
-1978
lines changed

Some content is hidden

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

206 files changed

+1935
-1978
lines changed

dev/tests/functional/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"magento/mtf": "1.0.0-rc30",
3+
"magento/mtf": "1.0.0-rc31",
44
"php": "~5.5.0|~5.6.0",
55
"phpunit/phpunit": "4.1.0",
66
"phpunit/phpunit-selenium": ">=1.2",

dev/tests/functional/tests/app/Magento/Authorizenet/Test/TestCase/OnePageCheckoutTest.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +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\Checkout\Test\TestCase\OnePageCheckoutTest">
10-
<variation name="OnePageCheckoutTestVariation17">
11-
<data name="description" xsi:type="string">MAGETWO-12832 - Check Out as a Guest with Authorize.Net and Offline Shipping method</data>
10+
<variation name="OnePageCheckoutTestVariation17" summary="Check Out as a Guest with Authorize.Net and Offline Shipping method" ticketId="MAGETWO-12832">
1211
<data name="products" xsi:type="string">catalogProductSimple::product_10_dollar, configurableProduct::with_one_option, bundleProduct::bundle_fixed_100_dollar_product</data>
1312
<data name="taxRule" xsi:type="string">us_ca_ny_rule</data>
1413
<data name="customer/dataset" xsi:type="string">default</data>
@@ -23,9 +22,9 @@
2322
<data name="creditCard/dataset" xsi:type="string">visa_default</data>
2423
<data name="configData" xsi:type="string">authorizenet</data>
2524
<data name="tag" xsi:type="string">test_type:3rd_party_test</data>
26-
<constraint name="Magento\Checkout\Test\Constraint\AssertOrderSuccessPlacedMessage"/>
27-
<constraint name="Magento\Sales\Test\Constraint\AssertOrderGrandTotal"/>
28-
<constraint name="Magento\Sales\Test\Constraint\AssertOrderCommentsHistory"/>
25+
<constraint name="Magento\Checkout\Test\Constraint\AssertOrderSuccessPlacedMessage" />
26+
<constraint name="Magento\Sales\Test\Constraint\AssertOrderGrandTotal" />
27+
<constraint name="Magento\Sales\Test\Constraint\AssertOrderCommentsHistory" />
2928
</variation>
3029
</testCase>
3130
</config>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Backend\Test\TestCase\CacheManagementTest">
9+
<testCase name="Magento\Backend\Test\TestCase\CacheManagementTest" summary="Configuration option on backend for singleQuery mode" ticketId="MAGETWO-34502">
1010
<variation name="FlushCatalogImagesCacheTest">
1111
<data name="flushButtonName" xsi:type="string">Flush Catalog Images Cache</data>
1212
<data name="successMessage" xsi:type="string">The image cache was cleaned.</data>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Backend\Test\TestCase\GlobalSearchEntityTest">
9+
<testCase name="Magento\Backend\Test\TestCase\GlobalSearchEntityTest" summary="Global Search Backend " ticketId="MAGETWO-28457">
1010
<variation name="GlobalSearchEntityTestVariation2">
1111
<data name="description" xsi:type="string">search with 2 sign return no results</data>
1212
<data name="search/data/query" xsi:type="string">:)</data>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Backend\Test\TestCase\NavigateMenuTest">
9+
<testCase name="Magento\Backend\Test\TestCase\NavigateMenuTest" summary="Navigate through admin menu" ticketId="MAGETWO-34874">
1010
<variation name="NavigateMenuTest2">
1111
<data name="menuItem" xsi:type="string">Dashboard</data>
1212
<data name="pageTitle" xsi:type="string">Dashboard</data>
13-
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable"/>
13+
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable" />
1414
</variation>
1515
<variation name="NavigateMenuTest3">
1616
<data name="menuItem" xsi:type="string">Content > Schedule</data>
1717
<data name="pageTitle" xsi:type="string">Store Design Schedule</data>
18-
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable"/>
18+
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable" />
1919
</variation>
2020
<variation name="NavigateMenuTest4">
2121
<data name="menuItem" xsi:type="string">Stores > All Stores</data>
2222
<data name="pageTitle" xsi:type="string">Stores</data>
23-
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable"/>
23+
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable" />
2424
</variation>
2525
<variation name="NavigateMenuTest5">
2626
<data name="menuItem" xsi:type="string">Stores > Configuration</data>
2727
<data name="pageTitle" xsi:type="string">Configuration</data>
28-
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable"/>
28+
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable" />
2929
</variation>
3030
<variation name="NavigateMenuTest6">
3131
<data name="menuItem" xsi:type="string">System > Cache Management</data>
3232
<data name="pageTitle" xsi:type="string">Cache Management</data>
33-
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable"/>
33+
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable" />
3434
</variation>
3535
</testCase>
3636
</config>

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Bundle\Test\TestCase\CreateBundleProductEntityTest">
9+
<testCase name="Magento\Bundle\Test\TestCase\CreateBundleProductEntityTest" summary="Create Bundle Product" ticketId="MAGETWO-24118">
1010
<variation name="CreateBundleProductEntityTestVariation1">
1111
<data name="description" xsi:type="string">Create default bundle with dynamic options</data>
1212
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
@@ -305,8 +305,7 @@
305305
<data name="product/data/checkout_data/dataset" xsi:type="string">bundle_default</data>
306306
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />
307307
</variation>
308-
<variation name="CreateBundleProductEntityTestVariation15">
309-
<data name="description" xsi:type="string">MAGETWO-12622: Create Bundle (fixed) Product and Assign it to Category</data>
308+
<variation name="CreateBundleProductEntityTestVariation15" summary="Create Bundle (fixed) Product and Assign it to Category" ticketId="MAGETWO-12622">
310309
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
311310
<data name="product/data/name" xsi:type="string">Bundle Fixed %isolation%</data>
312311
<data name="product/data/sku_type" xsi:type="string">Fixed</data>
@@ -326,8 +325,7 @@
326325
<constraint name="Magento\Bundle\Test\Constraint\AssertBundleInCategory" />
327326
<constraint name="Magento\Bundle\Test\Constraint\AssertBundleProductPage" />
328327
</variation>
329-
<variation name="CreateBundleProductEntityTestVariation16">
330-
<data name="description" xsi:type="string">MAGETWO-12702: Create Bundle (dynamic) Product and Assign it to the Category</data>
328+
<variation name="CreateBundleProductEntityTestVariation16" summary="Create Bundle (dynamic) Product and Assign it to the Category" ticketId="MAGETWO-12702">
331329
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
332330
<data name="product/data/name" xsi:type="string">Bundle Dynamic %isolation%</data>
333331
<data name="product/data/sku" xsi:type="string">sku_bundle_dynamic_%isolation%</data>

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Bundle\Test\TestCase\UpdateBundleProductEntityTest">
9+
<testCase name="Magento\Bundle\Test\TestCase\UpdateBundleProductEntityTest" summary="Update Bundle Product" ticketId="MAGETWO-26195">
1010
<variation name="UpdateBundleProductEntityTestVariation1">
1111
<data name="description" xsi:type="string">Update dynamic bundle product</data>
1212
<data name="originalProduct/dataset" xsi:type="string">bundle_dynamic_product</data>
@@ -54,8 +54,7 @@
5454
<constraint name="Magento\Bundle\Test\Constraint\AssertBundlePriceView" />
5555
<constraint name="Magento\Bundle\Test\Constraint\AssertBundlePriceType" />
5656
</variation>
57-
<variation name="UpdateBundleProductEntityTestVariation3">
58-
<data name="description" xsi:type="string">MAGETWO-12841: Edit Bundle Product (Fixed Price)</data>
57+
<variation name="UpdateBundleProductEntityTestVariation3" summary="Edit Bundle Product (Fixed Price)" ticketId="MAGETWO-12841">
5958
<data name="originalProduct/dataset" xsi:type="string">bundle_fixed_with_category</data>
6059
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
6160
<data name="product/data/name" xsi:type="string">bundle_fixed_%isolation%</data>
@@ -65,8 +64,7 @@
6564
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />
6665
<constraint name="Magento\Bundle\Test\Constraint\AssertBundleProductPage" />
6766
</variation>
68-
<variation name="UpdateBundleProductEntityTestVariation4">
69-
<data name="description" xsi:type="string">MAGETWO-12842: Edit Bundle (dynamic) Product</data>
67+
<variation name="UpdateBundleProductEntityTestVariation4" summary="Edit Bundle (dynamic) Product" ticketId="MAGETWO-12842">
7068
<data name="originalProduct/dataset" xsi:type="string">bundle_dynamic_with_category</data>
7169
<data name="product/data/url_key" xsi:type="string">bundle-product-%isolation%</data>
7270
<data name="product/data/name" xsi:type="string">bundle_dynamic_%isolation%</data>

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Catalog\Test\TestCase\Category\CreateCategoryEntityTest">
9+
<testCase name="Magento\Catalog\Test\TestCase\Category\CreateCategoryEntityTest" summary="Create Category from Category Page" ticketId="MAGETWO-23411">
1010
<variation name="CreateCategoryEntityTestVariation1">
1111
<data name="description" xsi:type="string">Create root category with required fields</data>
1212
<data name="addCategory" xsi:type="string">addRootCategory</data>
@@ -129,8 +129,7 @@
129129
<constraint name="Magento\Catalog\Test\Constraint\AssertCategorySaveMessage" />
130130
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryForm" />
131131
</variation>
132-
<variation name="CreateCategoryEntityTestVariation8">
133-
<data name="description" xsi:type="string">MAGETWO-12513: Create Category from Category page with Required Fields Only</data>
132+
<variation name="CreateCategoryEntityTestVariation8" summary="Create Category from Category page with Required Fields Only" ticketId="MAGETWO-12513">
134133
<data name="addCategory" xsi:type="string">addSubcategory</data>
135134
<data name="category/data/parent_id/dataset" xsi:type="string">default_category</data>
136135
<data name="category/data/name" xsi:type="string">Subcategory%isolation%</data>
@@ -141,8 +140,7 @@
141140
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryForm" />
142141
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryPage" />
143142
</variation>
144-
<variation name="CreateCategoryEntityTestVariation9">
145-
<data name="description" xsi:type="string">MAGETWO-16351: Assign Products at the Category Level</data>
143+
<variation name="CreateCategoryEntityTestVariation9" summary="Assign Products at the Category Level" ticketId="MAGETWO-16351">
146144
<data name="addCategory" xsi:type="string">addSubcategory</data>
147145
<data name="category/data/parent_id/dataset" xsi:type="string">default_category</data>
148146
<data name="category/data/name" xsi:type="string">Subcategory%isolation%</data>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Catalog\Test\TestCase\Category\DeleteCategoryEntityTest">
9+
<testCase name="Magento\Catalog\Test\TestCase\Category\DeleteCategoryEntityTest" summary="Delete Category" ticketId="MAGETWO-23303">
1010
<variation name="DeleteCategoryEntityTestVariation1">
1111
<data name="category/dataset" xsi:type="string">root_category</data>
1212
<constraint name="Magento\Catalog\Test\Constraint\AssertCategorySuccessDeleteMessage" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Catalog\Test\TestCase\Category\UpdateCategoryEntityTest">
9+
<testCase name="Magento\Catalog\Test\TestCase\Category\UpdateCategoryEntityTest" summary="Update Category" ticketId="MAGETWO-23290">
1010
<variation name="UpdateCategoryEntityTestVariation1">
1111
<data name="category/data/parent_id/dataset" xsi:type="string">default_category</data>
1212
<data name="category/data/name" xsi:type="string">Name%isolation%</data>

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
9-
<testCase name="Magento\Catalog\Test\TestCase\Product\AddToCartCrossSellTest">
10-
<variation name="AddToCartCrossSellTestVariation1" method="test">
11-
<data name="products" xsi:type="string">simple1::catalogProductSimple::product_with_category,simple2::catalogProductSimple::product_with_category,config1::configurableProduct::two_options_with_fixed_price</data>
12-
<data name="promotedProducts" xsi:type="string">simple1:simple2,config1;config1:simple2</data>
13-
<data name="navigateProductsOrder" xsi:type="string">simple1,config1,simple2</data>
14-
<data name="productsToVerify" xsi:type="string">simple1:simple2,config1;config1:simple2;simple2:</data>
15-
<data name="tag" xsi:type="string">test_type:acceptance_test</data>
16-
</variation>
17-
</testCase>
9+
<testCase name="Magento\Catalog\Test\TestCase\Product\AddToCartCrossSellTest" summary="Promote Products as Cross-Sells" ticketId="MAGETWO-12390">
10+
<variation name="AddToCartCrossSellTestVariation1" method="test">
11+
<data name="products" xsi:type="string">simple1::catalogProductSimple::product_with_category,simple2::catalogProductSimple::product_with_category,config1::configurableProduct::two_options_with_fixed_price</data>
12+
<data name="promotedProducts" xsi:type="string">simple1:simple2,config1;config1:simple2</data>
13+
<data name="navigateProductsOrder" xsi:type="string">simple1,config1,simple2</data>
14+
<data name="productsToVerify" xsi:type="string">simple1:simple2,config1;config1:simple2;simple2:</data>
15+
<data name="tag" xsi:type="string">test_type:acceptance_test</data>
16+
</variation>
17+
</testCase>
1818
</config>

0 commit comments

Comments
 (0)