Skip to content

Commit 3237e18

Browse files
committed
MQE-1949: [MTF-to-MFTF] Delete Product URL Rewrite #757
Added test case ids and updated action group names.
1 parent 3263f9d commit 3237e18

13 files changed

+44
-29
lines changed

app/code/Magento/Cms/Test/Mftf/ActionGroup/AddStoreViewToCmsPageActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AddStoreViewToCmsPageActionGroup" extends="NavigateToCreatedCMSPageActionGroup">
1212
<annotations>
13-
<description>EXTENDS: navigateToCreatedCMSPage. Adds the provided Store View to a Page.</description>
13+
<description>EXTENDS: NavigateToCreatedCMSPageActionGroup. Adds the provided Store View to a Page.</description>
1414
</annotations>
1515
<arguments>
1616
<argument name="storeViewName" type="string"/>

app/code/Magento/Cms/Test/Mftf/ActionGroup/AdminFillCMSPageContentFieldActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
</arguments>
1414
<fillField selector="{{CmsNewPagePageContentSection.content}}" userInput="{{content}}" stepKey="fillFieldContent"/>
1515
</actionGroup>
16-
</actionGroups>
16+
</actionGroups>

app/code/Magento/Cms/Test/Mftf/ActionGroup/AdminOpenCreateNewCMSPageActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
<amOnPage url="{{CmsNewPagePage.url}}" stepKey="navigateToCreateNewPage"/>
1212
<waitForPageLoad stepKey="waitForNewPagePageLoad"/>
1313
</actionGroup>
14-
</actionGroups>
14+
</actionGroups>

app/code/Magento/Cms/Test/Mftf/ActionGroup/AdminSelectCMSPageFromGridActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
</arguments>
1414
<click selector="{{CmsPagesPageActionsSection.select(identifier)}}" stepKey="clickSelectCMSPage" />
1515
</actionGroup>
16-
</actionGroups>
16+
</actionGroups>

app/code/Magento/Cms/Test/Mftf/ActionGroup/AssertCMSPageNotFoundOnStorefrontActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
<see userInput="Whoops, our bad..." stepKey="seePageErrorNotFound"/>
1717
</actionGroup>
18-
</actionGroups>
18+
</actionGroups>

app/code/Magento/Cms/Test/Mftf/Section/CmsNewPagePiwSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
<element name="selectStoreView" type="select" selector="//option[contains(text(),'{{var1}}')]" parameterized="true"/>
1414
<element name="storeIdDropdown" type="select" selector="//div[@data-bind=&quot;scope: 'cms_page_form.cms_page_form'&quot;]//select[@name='store_id']"/>
1515
</section>
16-
</sections>
16+
</sections>

app/code/Magento/Cms/Test/Mftf/Test/AdminCMSPageCreateDisabledPageTest.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
<features value="Cms"/>
1313
<title value="Create disabled CMS Page via the Admin"/>
1414
<description value="Admin should be able to create a CMS Page"/>
15+
<severity value="CRITICAL"/>
16+
<testCaseId value="MC-14677"/>
1517
<group value="backend"/>
16-
<group value="cMSContent"/>
18+
<group value="Cms"/>
1719
<group value="mtf_migrated"/>
1820
</annotations>
1921
<before>
@@ -29,7 +31,7 @@
2931
<!--Fill the CMS page form-->
3032
<actionGroup ref="FillOutCMSPageContent" stepKey="fillBasicPageDataForDisabledPage"/>
3133
<!--Verify successfully saved-->
32-
<actionGroup ref="saveCmsPage" stepKey="saveDisabledPage"/>
34+
<actionGroup ref="SaveCmsPageActionGroup" stepKey="saveDisabledPage"/>
3335
<!--Check that page is disabled on frontend-->
3436
<actionGroup ref="StorefrontGoToCMSPageActionGroup" stepKey="goToCMSPageOnStorefront">
3537
<argument name="identifier" value="{{_duplicatedCMSPage.identifier}}"/>
@@ -40,4 +42,4 @@
4042
<argument name="UrlKey" value="{{_duplicatedCMSPage.identifier}}"/>
4143
</actionGroup>
4244
</test>
43-
</tests>
45+
</tests>

app/code/Magento/Cms/Test/Mftf/Test/AdminCMSPageCreatePageForDefaultStoreTest.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
<features value="Cms"/>
1313
<title value="Create CMS Page via the Admin for default store"/>
1414
<description value="Admin should be able to create a CMS Page"/>
15+
<severity value="CRITICAL"/>
16+
<testCaseId value="MC-14676"/>
1517
<group value="backend"/>
16-
<group value="cMSContent"/>
18+
<group value="Cms"/>
1719
<group value="mtf_migrated"/>
1820
</annotations>
1921
<before>
@@ -30,13 +32,13 @@
3032
<argument name="storeViewName" value="Default Store View"/>
3133
</actionGroup>
3234
<!--Verify successfully saved-->
33-
<actionGroup ref="saveCmsPage" stepKey="savePageWithDefaultStore"/>
35+
<actionGroup ref="SaveCmsPageActionGroup" stepKey="savePageWithDefaultStore"/>
3436
<!--Navigate to page in Admin-->
35-
<actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCMSPageWithDefaultStoreInAdmin">
37+
<actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToCMSPageWithDefaultStoreInAdmin">
3638
<argument name="CMSPage" value="_duplicatedCMSPage"/>
3739
</actionGroup>
3840
<!--Verify Page Data in Admin-->
39-
<actionGroup ref="AssertCMSPageContent" stepKey="verifyPageWithDefaultStoreDataInAdmin"/>
41+
<actionGroup ref="AssertCMSPageContentActionGroup" stepKey="verifyPageWithDefaultStoreDataInAdmin"/>
4042
<!--Verify Store ID-->
4143
<actionGroup ref="AssertCMSPageStoreIdActionGroup" stepKey="verifyStoreId">
4244
<argument name="storeId" value="1"/>
@@ -46,4 +48,4 @@
4648
<argument name="UrlKey" value="{{_duplicatedCMSPage.identifier}}"/>
4749
</actionGroup>
4850
</test>
49-
</tests>
51+
</tests>

app/code/Magento/Cms/Test/Mftf/Test/AdminCMSPageCreatePageInSingleStoreModeTest.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
<features value="Cms"/>
1313
<title value="Create CMS Page via the Admin in single store mode"/>
1414
<description value="Admin should be able to create a CMS Page"/>
15+
<severity value="CRITICAL"/>
16+
<testCaseId value="MC-14679"/>
1517
<group value="backend"/>
16-
<group value="cMSContent"/>
18+
<group value="Cms"/>
1719
<group value="mtf_migrated"/>
1820
</annotations>
1921
<before>
@@ -29,25 +31,25 @@
2931
<!--Fill the CMS page form-->
3032
<actionGroup ref="FillOutCMSPageContent" stepKey="fillBasicPageDataForPageWithDefaultStore"/>
3133
<!--Verify successfully saved-->
32-
<actionGroup ref="saveCmsPage" stepKey="savePageInSingleStoreMode"/>
34+
<actionGroup ref="SaveCmsPageActionGroup" stepKey="savePageInSingleStoreMode"/>
3335
<!--verify page on frontend-->
3436
<actionGroup ref="StorefrontGoToCMSPageActionGroup" stepKey="navigateToPageOnStoreFront">
3537
<argument name="identifier" value="{{_duplicatedCMSPage.identifier}}"/>
3638
</actionGroup>
37-
<actionGroup ref="AssertStoreFrontCMSPage" stepKey="verifyPageDataOnFrontend">
39+
<actionGroup ref="AssertStoreFrontCMSPageActionGroup" stepKey="verifyPageDataOnFrontend">
3840
<argument name="cmsTitle" value="{{_duplicatedCMSPage.title}}"/>
3941
<argument name="cmsContent" value="{{_duplicatedCMSPage.content}}"/>
4042
<argument name="cmsContentHeading" value="{{_duplicatedCMSPage.content_heading}}"/>
4143
</actionGroup>
4244
<!--Navigate to page in Admin-->
43-
<actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCMSPageInAdminInSingleStoreMode">
45+
<actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToCMSPageInAdminInSingleStoreMode">
4446
<argument name="CMSPage" value="_duplicatedCMSPage"/>
4547
</actionGroup>
4648
<!--Verify Page Data in Admin-->
47-
<actionGroup ref="AssertCMSPageContent" stepKey="verifyPageDataInAdminInSingleStoreMode"/>
49+
<actionGroup ref="AssertCMSPageContentActionGroup" stepKey="verifyPageDataInAdminInSingleStoreMode"/>
4850
<!--Delete page-->
4951
<actionGroup ref="DeletePageByUrlKeyActionGroup" stepKey="deletePageInSingleStoreMode">
5052
<argument name="UrlKey" value="{{_duplicatedCMSPage.identifier}}"/>
5153
</actionGroup>
5254
</test>
53-
</tests>
55+
</tests>

app/code/Magento/Cms/Test/Mftf/Test/AdminCMSPageCreatePageTest.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
<features value="Cms"/>
1313
<title value="Create CMS Page via the Admin"/>
1414
<description value="Admin should be able to create a CMS Page"/>
15+
<severity value="CRITICAL"/>
16+
<testCaseId value="MC-14675"/>
1517
<group value="backend"/>
16-
<group value="cMSContent"/>
18+
<group value="Cms"/>
1719
<group value="mtf_migrated"/>
1820
</annotations>
1921
<before>
@@ -26,19 +28,19 @@
2628
<actionGroup ref="AdminOpenCreateNewCMSPageActionGroup" stepKey="navigateToCreateNewPage"/>
2729
<actionGroup ref="FillOutCMSPageContent" stepKey="fillBasicPageData"/>
2830
<!--verify successfully saved-->
29-
<actionGroup ref="saveCmsPage" stepKey="saveNewPage"/>
31+
<actionGroup ref="SaveCmsPageActionGroup" stepKey="saveNewPage"/>
3032
<!--verify page on frontend-->
3133
<actionGroup ref="StorefrontGoToCMSPageActionGroup" stepKey="navigateToPageOnStoreFront">
3234
<argument name="identifier" value="{{_duplicatedCMSPage.identifier}}"/>
3335
</actionGroup>
34-
<actionGroup ref="AssertStoreFrontCMSPage" stepKey="verifyPageDataOnFrontend">
36+
<actionGroup ref="AssertStoreFrontCMSPageActionGroup" stepKey="verifyPageDataOnFrontend">
3537
<argument name="cmsTitle" value="{{_duplicatedCMSPage.title}}"/>
3638
<argument name="cmsContent" value="{{_duplicatedCMSPage.content}}"/>
3739
<argument name="cmsContentHeading" value="{{_duplicatedCMSPage.content_heading}}"/>
3840
</actionGroup>
3941
<!--verify page in grid-->
4042
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="openCMSPagesGridActionGroup"/>
41-
<actionGroup ref="clearFiltersAdminDataGrid" stepKey="clearGridFilters"/>
43+
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearGridFilters"/>
4244
<actionGroup ref="SortByIdDescendingActionGroup" stepKey="sortGridByIdDescending"/>
4345
<actionGroup ref="AdminSelectCMSPageFromGridActionGroup" stepKey="verifyPageInGrid">
4446
<argument name="identifier" value="_duplicatedCMSPage.identifier"/>
@@ -47,4 +49,4 @@
4749
<argument name="UrlKey" value="{{_duplicatedCMSPage.identifier}}"/>
4850
</actionGroup>
4951
</test>
50-
</tests>
52+
</tests>

app/code/Magento/Cms/Test/Mftf/Test/AdminCMSPageCreatePageWithBlockTest.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
<features value="Cms"/>
1313
<title value="Create CMS Page that contains block content via the Admin"/>
1414
<description value="Admin should be able to create a CMS Page"/>
15+
<severity value="CRITICAL"/>
16+
<testCaseId value="MC-14678"/>
1517
<group value="backend"/>
16-
<group value="cMSContent"/>
18+
<group value="Cms"/>
1719
<group value="mtf_migrated"/>
1820
</annotations>
1921
<before>
@@ -32,12 +34,12 @@
3234
<argument name="storeViewName" value="Default Store View"/>
3335
</actionGroup>
3436
<!--Verify successfully saved-->
35-
<actionGroup ref="saveCmsPage" stepKey="savePageWithBlock"/>
37+
<actionGroup ref="SaveCmsPageActionGroup" stepKey="savePageWithBlock"/>
3638
<!--verify page on frontend-->
3739
<actionGroup ref="StorefrontGoToCMSPageActionGroup" stepKey="navigateToPageOnStoreFront">
3840
<argument name="identifier" value="{{_duplicatedCMSPage.identifier}}"/>
3941
</actionGroup>
40-
<actionGroup ref="AssertStoreFrontCMSPage" stepKey="verifyPageWithBlockDataOnFrontend">
42+
<actionGroup ref="AssertStoreFrontCMSPageActionGroup" stepKey="verifyPageWithBlockDataOnFrontend">
4143
<argument name="cmsTitle" value="{{_duplicatedCMSPage.title}}"/>
4244
<argument name="cmsContent" value="bla bla bla"/>
4345
<argument name="cmsContentHeading" value="{{_duplicatedCMSPage.content_heading}}"/>
@@ -47,4 +49,4 @@
4749
<argument name="UrlKey" value="{{_duplicatedCMSPage.identifier}}"/>
4850
</actionGroup>
4951
</test>
50-
</tests>
52+
</tests>

app/code/Magento/Integration/Test/Mftf/Test/AdminCreateIntegrationEntityWithDuplicatedNameTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<stories value="Creating System Integration With Duplicated Name"/>
1515
<title value="Admin System Integration With Duplicated Name"/>
1616
<description value="Admin Creates New Integration With Duplicated Name"/>
17+
<severity value="MAJOR"/>
18+
<testCaseId value="MC-19889"/>
1719
<group value="integration"/>
1820
<group value="mtf_migrated"/>
1921
</annotations>

app/code/Magento/UrlRewrite/Test/Mftf/Test/AdminDeleteProductURLRewriteEntityTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
<stories value="Delete Product UrlRewrite"/>
1313
<title value="Delete created product URL rewrite"/>
1414
<description value="Login as admin, create product with category and UrlRewrite, delete created URL rewrite"/>
15+
<testCaseId value="MC-5347"/>
16+
<severity value="MAJOR"/>
17+
<group value="urlRewrite"/>
1518
<group value="mtf_migrated"/>
1619
</annotations>
1720

0 commit comments

Comments
 (0)