Skip to content

Commit 0b7b236

Browse files
committed
MQE-1857: [MTF-To-MFTF] Process PR 746
1 parent c83e1ae commit 0b7b236

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
*/
77
-->
88

9-
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
9+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1011
<test name="AdminDeleteCmsPageUrlRewriteWithNoRedirectsTest">
1112
<annotations>
1213
<stories value="Delete CMS Page URL rewrite with No Redirects"/>
1314
<title value="Delete CMS Page URL rewrite with No Redirects"/>
1415
<description value="Log in to admin and delete CMS Page URL rewrite with No Redirects"/>
15-
<group value="cMSContent"/>
16+
<testCaseId value="MC-14648"/>
1617
<group value="mtf_migrated"/>
1718
</annotations>
18-
1919
<before>
2020
<createData entity="simpleCmsPage" stepKey="createCMSPage"/>
2121
<actionGroup ref="LoginAsAdmin" stepKey="loginToAdminPanel"/>
@@ -46,14 +46,15 @@
4646
<actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="assertSuccessMessage">
4747
<argument name="message" value="You deleted the URL rewrite."/>
4848
</actionGroup>
49+
4950
<!--Search and verify AssertUrlRewriteNotInGrid-->
5051
<actionGroup ref="AdminSearchDeletedUrlRewrite" stepKey="searchDeletedUrlRewriteInGrid">
5152
<argument name="requestPath" value="newrequestpath"/>
5253
</actionGroup>
54+
5355
<!--Verify AssertPageByUrlRewriteIsNotFound-->
5456
<actionGroup ref="AssertPageByUrlRewriteIsNotFound" stepKey="assertPageByUrlRewriteIsNotFound">
5557
<argument name="requestPath" value="newrequestpath"/>
5658
</actionGroup>
57-
5859
</test>
5960
</tests>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
*/
77
-->
88

9-
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
9+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1011
<test name="AdminDeleteCmsPageUrlRewriteWithPermanentRedirectTest">
1112
<annotations>
1213
<stories value="Delete CMS Page URL rewrite with Permanent Redirect"/>
1314
<title value="Delete CMS Page URL rewrite with Permanent Redirect"/>
1415
<description value="Log in to admin and delete CMS Page URL rewrite with Permanent Redirect"/>
15-
<group value="cMSContent"/>
16+
<testCaseId value="MC-14649"/>
1617
<group value="mtf_migrated"/>
1718
</annotations>
18-
1919
<before>
2020
<createData entity="simpleCmsPage" stepKey="createCMSPage"/>
2121
<actionGroup ref="LoginAsAdmin" stepKey="loginToAdminPanel"/>
@@ -46,10 +46,10 @@
4646
<actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="assertSuccessMessage">
4747
<argument name="message" value="You deleted the URL rewrite."/>
4848
</actionGroup>
49+
4950
<!-- Verify AssertPageByUrlRewriteIsNotFound -->
5051
<actionGroup ref="AssertPageByUrlRewriteIsNotFound" stepKey="assertPageByUrlRewriteIsNotFound">
5152
<argument name="requestPath" value="permanentrequestpath.html"/>
5253
</actionGroup>
53-
5454
</test>
5555
</tests>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
*/
77
-->
88

9-
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
9+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1011
<test name="AdminDeleteCmsPageUrlRewriteWithTemporaryRedirectTest">
1112
<annotations>
1213
<stories value="Delete CMS Page URL rewrite with Temporary Redirect"/>
1314
<title value="Delete CMS Page URL rewrite with Temporary Redirect"/>
1415
<description value="Log in to admin and delete CMS Page URL rewrite with Temporary Redirect"/>
15-
<group value="cMSContent"/>
16+
<testCaseId value="MC-14650"/>
1617
<group value="mtf_migrated"/>
1718
</annotations>
18-
1919
<before>
2020
<createData entity="simpleCmsPage" stepKey="createCMSPage"/>
2121
<actionGroup ref="LoginAsAdmin" stepKey="loginToAdminPanel"/>
@@ -46,10 +46,10 @@
4646
<actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="assertSuccessMessage">
4747
<argument name="message" value="You deleted the URL rewrite."/>
4848
</actionGroup>
49+
4950
<!--Verify AssertPageByUrlRewriteIsNotFound-->
5051
<actionGroup ref="AssertPageByUrlRewriteIsNotFound" stepKey="assertPageByUrlRewriteIsNotFound">
5152
<argument name="requestPath" value="temporaryrequestpath.html"/>
5253
</actionGroup>
53-
5454
</test>
5555
</tests>

0 commit comments

Comments
 (0)