File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed
app/code/Magento/UrlRewrite/Test/Mftf/Test Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
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" >
10
11
<test name =" AdminDeleteCmsPageUrlRewriteWithNoRedirectsTest" >
11
12
<annotations >
12
13
<stories value =" Delete CMS Page URL rewrite with No Redirects" />
13
14
<title value =" Delete CMS Page URL rewrite with No Redirects" />
14
15
<description value =" Log in to admin and delete CMS Page URL rewrite with No Redirects" />
15
- <group value =" cMSContent " />
16
+ <testCaseId value =" MC-14648 " />
16
17
<group value =" mtf_migrated" />
17
18
</annotations >
18
-
19
19
<before >
20
20
<createData entity =" simpleCmsPage" stepKey =" createCMSPage" />
21
21
<actionGroup ref =" LoginAsAdmin" stepKey =" loginToAdminPanel" />
46
46
<actionGroup ref =" AssertMessageInAdminPanelActionGroup" stepKey =" assertSuccessMessage" >
47
47
<argument name =" message" value =" You deleted the URL rewrite." />
48
48
</actionGroup >
49
+
49
50
<!-- Search and verify AssertUrlRewriteNotInGrid-->
50
51
<actionGroup ref =" AdminSearchDeletedUrlRewrite" stepKey =" searchDeletedUrlRewriteInGrid" >
51
52
<argument name =" requestPath" value =" newrequestpath" />
52
53
</actionGroup >
54
+
53
55
<!-- Verify AssertPageByUrlRewriteIsNotFound-->
54
56
<actionGroup ref =" AssertPageByUrlRewriteIsNotFound" stepKey =" assertPageByUrlRewriteIsNotFound" >
55
57
<argument name =" requestPath" value =" newrequestpath" />
56
58
</actionGroup >
57
-
58
59
</test >
59
60
</tests >
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
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" >
10
11
<test name =" AdminDeleteCmsPageUrlRewriteWithPermanentRedirectTest" >
11
12
<annotations >
12
13
<stories value =" Delete CMS Page URL rewrite with Permanent Redirect" />
13
14
<title value =" Delete CMS Page URL rewrite with Permanent Redirect" />
14
15
<description value =" Log in to admin and delete CMS Page URL rewrite with Permanent Redirect" />
15
- <group value =" cMSContent " />
16
+ <testCaseId value =" MC-14649 " />
16
17
<group value =" mtf_migrated" />
17
18
</annotations >
18
-
19
19
<before >
20
20
<createData entity =" simpleCmsPage" stepKey =" createCMSPage" />
21
21
<actionGroup ref =" LoginAsAdmin" stepKey =" loginToAdminPanel" />
46
46
<actionGroup ref =" AssertMessageInAdminPanelActionGroup" stepKey =" assertSuccessMessage" >
47
47
<argument name =" message" value =" You deleted the URL rewrite." />
48
48
</actionGroup >
49
+
49
50
<!-- Verify AssertPageByUrlRewriteIsNotFound -->
50
51
<actionGroup ref =" AssertPageByUrlRewriteIsNotFound" stepKey =" assertPageByUrlRewriteIsNotFound" >
51
52
<argument name =" requestPath" value =" permanentrequestpath.html" />
52
53
</actionGroup >
53
-
54
54
</test >
55
55
</tests >
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
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" >
10
11
<test name =" AdminDeleteCmsPageUrlRewriteWithTemporaryRedirectTest" >
11
12
<annotations >
12
13
<stories value =" Delete CMS Page URL rewrite with Temporary Redirect" />
13
14
<title value =" Delete CMS Page URL rewrite with Temporary Redirect" />
14
15
<description value =" Log in to admin and delete CMS Page URL rewrite with Temporary Redirect" />
15
- <group value =" cMSContent " />
16
+ <testCaseId value =" MC-14650 " />
16
17
<group value =" mtf_migrated" />
17
18
</annotations >
18
-
19
19
<before >
20
20
<createData entity =" simpleCmsPage" stepKey =" createCMSPage" />
21
21
<actionGroup ref =" LoginAsAdmin" stepKey =" loginToAdminPanel" />
46
46
<actionGroup ref =" AssertMessageInAdminPanelActionGroup" stepKey =" assertSuccessMessage" >
47
47
<argument name =" message" value =" You deleted the URL rewrite." />
48
48
</actionGroup >
49
+
49
50
<!-- Verify AssertPageByUrlRewriteIsNotFound-->
50
51
<actionGroup ref =" AssertPageByUrlRewriteIsNotFound" stepKey =" assertPageByUrlRewriteIsNotFound" >
51
52
<argument name =" requestPath" value =" temporaryrequestpath.html" />
52
53
</actionGroup >
53
-
54
54
</test >
55
55
</tests >
You can’t perform that action at this time.
0 commit comments