Skip to content

Commit

Permalink
Merge pull request #419 from magento-jackalopes/ft-pr-new
Browse files Browse the repository at this point in the history
[Jackalopes] FT - Variations and Constraints Review
  • Loading branch information
heyitsroberthe authored Sep 22, 2016
2 parents 1552780 + 64b86ca commit 2c22ac4
Show file tree
Hide file tree
Showing 58 changed files with 290 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class CreateCmsBlockEntityTest extends AbstractCmsBlockEntityTest
/* tags */
const MVP = 'yes';
const TEST_TYPE = 'extended_acceptance_test';
const SEVERITY = 'S1';
/* end tags */

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Cms\Test\TestCase\CreateCmsBlockEntityTest" summary="Create CMS Block" ticketId="MAGETWO-25578">
<variation name="CreateCmsBlockEntityTestVariation1">
<data name="tag" xsi:type="string">test_type:extended_acceptance_test</data>
<data name="tag" xsi:type="string">test_type:extended_acceptance_test, severity:S1</data>
<data name="cmsBlock/data/title" xsi:type="string">block_%isolation%</data>
<data name="cmsBlock/data/identifier" xsi:type="string">identifier_%isolation%</data>
<data name="cmsBlock/data/stores/dataset/option_0" xsi:type="string">All Store Views</data>
Expand All @@ -19,13 +19,13 @@
<constraint name="Magento\Cms\Test\Constraint\AssertCmsBlockOnCategoryPage" />
</variation>
<variation name="CreateCmsBlockEntityTestVariation2">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="cmsBlock/data/title" xsi:type="string">block_%isolation%</data>
<data name="cmsBlock/data/identifier" xsi:type="string">identifier_%isolation%</data>
<data name="cmsBlock/data/stores/dataset/option_0" xsi:type="string">default</data>
<data name="cmsBlock/data/is_active" xsi:type="string">No</data>
<data name="cmsBlock/data/content" xsi:type="string">description_%isolation%</data>
<constraint name="Magento\Cms\Test\Constraint\AssertCmsBlockSuccessSaveMessage" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsBlockInGrid" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsBlockNotOnCategoryPage" />
</variation>
</testCase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class CreateCmsPageEntityTest extends Injectable
/* tags */
const MVP = 'yes';
const TEST_TYPE = 'acceptance_test, extended_acceptance_test';
const SEVERITY = 'S1';
/* end tags */

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Cms\Test\TestCase\CreateCmsPageEntityTest" summary="Create Cms Page" ticketId="MAGETWO-25580">
<variation name="CreateCmsPageEntityTestVariation1" summary="Create CMS Content Page" ticketId="MAGETWO-12399">
<data name="tag" xsi:type="string">test_type:acceptance_test, test_type:extended_acceptance_test, severity:S1</data>
<data name="fixtureType" xsi:type="string">cmsPage</data>
<data name="data/is_active" xsi:type="string">Yes</data>
<data name="data/title" xsi:type="string">NewCmsPage%isolation%</data>
<data name="data/identifier" xsi:type="string">identifier-%isolation%</data>
<data name="data/store_id" xsi:type="string">All Store Views</data>
<data name="data/content/content" xsi:type="string">cms_page_text_content%isolation%</data>
<data name="tag" xsi:type="string">test_type:acceptance_test, test_type:extended_acceptance_test</data>
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageSuccessSaveMessage" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageInGrid" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPagePreview" />
</variation>
<variation name="CreateCmsPageEntityTestVariation2" summary="Create page for default store view">
<data name="tag" xsi:type="string">severity:S1</data>
<data name="fixtureType" xsi:type="string">cmsPage</data>
<data name="data/is_active" xsi:type="string">Yes</data>
<data name="data/title" xsi:type="string">NewCmsPage%isolation%</data>
Expand All @@ -30,6 +31,7 @@
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageForm" />
</variation>
<variation name="CreateCmsPageEntityTestVariation3" summary="Create page with widget and system variable">
<data name="tag" xsi:type="string">severity:S1</data>
<data name="fixtureType" xsi:type="string">cmsPage</data>
<data name="data/is_active" xsi:type="string">Yes</data>
<data name="data/title" xsi:type="string">NewCmsPage%isolation%</data>
Expand All @@ -39,20 +41,17 @@
<data name="data/content/widget/dataset" xsi:type="string">default</data>
<data name="data/content/variable" xsi:type="string">General Contact Name</data>
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageSuccessSaveMessage" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageForm" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageInGrid" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPagePreview" />
</variation>
<variation name="CreateCmsPageEntityTestVariation4" summary="Create disabled page">
<data name="tag" xsi:type="string">severity:S3</data>
<data name="fixtureType" xsi:type="string">cmsPage</data>
<data name="data/title" xsi:type="string">NewCmsPage%isolation%</data>
<data name="data/identifier" xsi:type="string">identifier-%isolation%</data>
<data name="data/store_id" xsi:type="string">Main Website/Main Website Store/Default Store View</data>
<data name="data/is_active" xsi:type="string">No</data>
<data name="data/content/content" xsi:type="string">cms_page_text_content%isolation%</data>
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageSuccessSaveMessage" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageForm" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageInGrid" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageDisabledOnFrontend" />
</variation>
</testCase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class CreateCmsPageRewriteEntityTest extends Injectable
/* tags */
const MVP = 'yes';
const TEST_TYPE = 'extended_acceptance_test';
const SEVERITY = 'S1';
/* end tags */

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Cms\Test\TestCase\CreateCmsPageRewriteEntityTest" summary="Create CMS Page URL Rewrites" ticketId="MAGETWO-24847">
<variation name="CreateCmsPageRewriteEntityTestVariation1">
<data name="tag" xsi:type="string">test_type:extended_acceptance_test</data>
<data name="tag" xsi:type="string">test_type:extended_acceptance_test, severity:S1</data>
<data name="urlRewrite/data/entity_type" xsi:type="string">For CMS page</data>
<data name="urlRewrite/data/target_path/entity" xsi:type="string">cms/page/view/page_id/%cmsPage::default%</data>
<data name="urlRewrite/data/request_path" xsi:type="string">request_path%isolation%</data>
Expand All @@ -19,6 +19,7 @@
<constraint name="Magento\Cms\Test\Constraint\AssertUrlRewriteCmsPageRedirect" />
</variation>
<variation name="CreateCmsPageRewriteEntityTestVariation2">
<data name="tag" xsi:type="string">severity:S1</data>
<data name="urlRewrite/data/entity_type" xsi:type="string">For CMS page</data>
<data name="urlRewrite/data/target_path/entity" xsi:type="string">cms/page/view/page_id/%cmsPage::default%</data>
<data name="urlRewrite/data/request_path" xsi:type="string">request_path%isolation%.html</data>
Expand All @@ -29,6 +30,7 @@
<constraint name="Magento\Cms\Test\Constraint\AssertUrlRewriteCmsPageRedirect" />
</variation>
<variation name="CreateCmsPageRewriteEntityTestVariation3">
<data name="tag" xsi:type="string">severity:S1</data>
<data name="urlRewrite/data/entity_type" xsi:type="string">For CMS page</data>
<data name="urlRewrite/data/target_path/entity" xsi:type="string">cms/page/view/page_id/%cmsPage::default%</data>
<data name="urlRewrite/data/request_path" xsi:type="string">request_path%isolation%.htm</data>
Expand All @@ -39,6 +41,7 @@
<constraint name="Magento\Cms\Test\Constraint\AssertUrlRewriteCmsPageRedirect" />
</variation>
<variation name="CreateCmsPageRewriteEntityTestVariation4">
<data name="tag" xsi:type="string">severity:S1</data>
<data name="urlRewrite/data/entity_type" xsi:type="string">For CMS page</data>
<data name="urlRewrite/data/target_path/entity" xsi:type="string">cms/page/view/page_id/%cmsPage::default%</data>
<data name="urlRewrite/data/request_path" xsi:type="string">request_path%isolation%.aspx</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\UrlRewrite\Test\TestCase\CreateCustomUrlRewriteEntityTest" summary="Create Custom URL Rewrites" ticketId="MAGETWO-25474">
<variation name="CreateCustomUrlRewriteEntityTestVariation3">
<data name="tag" xsi:type="string">severity:S1</data>
<data name="urlRewrite/data/entity_type" xsi:type="string">Custom</data>
<data name="urlRewrite/data/store_id" xsi:type="string">Main Website/Main Website Store/Default Store View</data>
<data name="urlRewrite/data/target_path/entity" xsi:type="string">cms/page/view/page_id/%cmsPage::default%</data>
<data name="urlRewrite/data/request_path" xsi:type="string">cms_page_request_path%isolation%</data>
<data name="urlRewrite/data/redirect_type" xsi:type="string">No</data>
<data name="urlRewrite/data/description" xsi:type="string">test description_full path</data>
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteSaveMessage" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteInGrid" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteCustomRedirect" />
</variation>
<variation name="CreateCustomUrlRewriteEntityTestVariation4">
<data name="tag" xsi:type="string">severity:S1</data>
<data name="urlRewrite/data/entity_type" xsi:type="string">Custom</data>
<data name="urlRewrite/data/store_id" xsi:type="string">Main Website/Main Website Store/Default Store View</data>
<data name="urlRewrite/data/target_path/entity" xsi:type="string">cms/page/view/page_id/%cmsPage::default%</data>
<data name="urlRewrite/data/request_path" xsi:type="string">cms_page_request_path%isolation%</data>
<data name="urlRewrite/data/redirect_type" xsi:type="string">Temporary (302)</data>
<data name="urlRewrite/data/description" xsi:type="string">test description_full path</data>
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteSaveMessage" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteInGrid" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteCustomRedirect" />
</variation>
</testCase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class DeleteCmsBlockEntityTest extends Injectable
{
/* tags */
const MVP = 'yes';
const SEVERITY = 'S1';
/* end tags */

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Cms\Test\TestCase\DeleteCmsBlockEntityTest" summary="Delete CMS Block" ticketId="MAGETWO-25698">
<variation name="DeleteCmsBlockEntityTestVariation1">
<data name="tag" xsi:type="string">severity:S1</data>
<constraint name="Magento\Cms\Test\Constraint\AssertCmsBlockDeleteMessage" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsBlockNotInGrid" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsBlockNotOnCategoryPage" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class DeleteCmsPageEntityTest extends Injectable
{
/* tags */
const MVP = 'yes';
const SEVERITY = 'S1';
/* end tags */

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Cms\Test\TestCase\DeleteCmsPageEntityTest" summary="Delete CMS Page" ticketId="MAGETWO-23291">
<variation name="DeleteCmsPageEntityTestVariation1">
<data name="tag" xsi:type="string">severity:S1</data>
<data name="cmsPage/dataset" xsi:type="string">default</data>
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageDeleteMessage" />
<constraint name="Magento\Cms\Test\Constraint\AssertCmsPageNotInGrid" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class DeleteCmsPageUrlRewriteEntityTest extends Injectable
{
/* tags */
const MVP = 'yes';
const SEVERITY = 'S2';
/* end tags */

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Cms\Test\TestCase\DeleteCmsPageUrlRewriteEntityTest" summary="Delete Cms Page URL Rewrites" ticketId="MAGETWO-25915">
<variation name="DeleteCmsPageUrlRewriteEntityTestVariation1">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="urlRewrite/dataset" xsi:type="string">cms_default_no_redirect</data>
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteDeletedMessage" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteNotInGrid" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertPageByUrlRewriteIsNotFound" />
</variation>
<variation name="DeleteCmsPageUrlRewriteEntityTestVariation2">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="urlRewrite/dataset" xsi:type="string">cms_default_permanent_redirect</data>
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteDeletedMessage" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteNotInGrid" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertPageByUrlRewriteIsNotFound" />
</variation>
<variation name="DeleteCmsPageUrlRewriteEntityTestVariation3">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="urlRewrite/dataset" xsi:type="string">cms_default_temporary_redirect</data>
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteDeletedMessage" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertUrlRewriteNotInGrid" />
<constraint name="Magento\UrlRewrite\Test\Constraint\AssertPageByUrlRewriteIsNotFound" />
</variation>
</testCase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Ui\Test\TestCase\GridFilteringTest" summary="Grid UI Component Filtering" ticketId="MAGETWO-41329">
<variation name="CmsPageGridFiltering">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="description" xsi:type="string">Verify cms page grid filtering</data>
<data name="itemsCount" xsi:type="string">2</data>
<data name="fixtureName" xsi:type="string">cmsPage</data>
Expand All @@ -28,6 +29,7 @@
<constraint name="\Magento\Ui\Test\Constraint\AssertGridFiltering"/>
</variation>
<variation name="CmsBlockGridFiltering">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="description" xsi:type="string">Verify cms block grid filtering</data>
<data name="itemsCount" xsi:type="string">2</data>
<data name="fixtureName" xsi:type="string">cmsBlock</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Ui\Test\TestCase\GridFullTextSearchTest" summary="Grid UI Component Full Text Search" ticketId="MAGETWO-41023">
<variation name="CmsPageGridFullTextSearch">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="description" xsi:type="string">Verify cms page grid full text search</data>
<data name="itemsCount" xsi:type="string">2</data>
<data name="fixtureName" xsi:type="string">cmsPage</data>
Expand All @@ -19,6 +20,7 @@
<constraint name="Magento\Ui\Test\Constraint\AssertGridFullTextSearch"/>
</variation>
<variation name="CmsBlockGridFullTextSearch">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="description" xsi:type="string">Verify cms blocks grid full text search</data>
<data name="itemsCount" xsi:type="string">2</data>
<data name="fixtureName" xsi:type="string">cmsBlock</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Ui\Test\TestCase\GridSortingTest" summary="Grid UI Component Sorting" ticketId="MAGETWO-41328">
<variation name="CmsPagesGridSorting">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="description" xsi:type="string">Verify cms page grid sorting</data>
<data name="columnsForSorting" xsi:type="array">
<item name="id" xsi:type="string">ID</item>
Expand All @@ -18,6 +19,7 @@
<constraint name="Magento\Ui\Test\Constraint\AssertGridSorting"/>
</variation>
<variation name="CmsBlocksGridSorting">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="description" xsi:type="string">Verify cms blocks grid sorting</data>
<data name="steps" xsi:type="array">
<item name="0" xsi:type="string">-</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
<testCase name="Magento\Backend\Test\TestCase\NavigateMenuTest">
<variation name="NavigateMenuTest18">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="menuItem" xsi:type="string">Content > Pages</data>
<data name="pageTitle" xsi:type="string">Pages</data>
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable"/>
</variation>
<variation name="NavigateMenuTest19">
<data name="tag" xsi:type="string">severity:S2</data>
<data name="menuItem" xsi:type="string">Content > Blocks</data>
<data name="pageTitle" xsi:type="string">Blocks</data>
<constraint name="Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class UpdateCmsBlockEntityTest extends AbstractCmsBlockEntityTest
{
/* tags */
const MVP = 'yes';
const SEVERITY = 'S1';
/* end tags */

/**
Expand Down
Loading

0 comments on commit 2c22ac4

Please sign in to comment.