File tree 3 files changed +21
-5
lines changed
app/code/Magento/MediaGalleryUi/Test/Mftf
3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
- <actionGroup name =" AssertAdminStandaloneMediaGalleryPageIs404ActionGroup " >
11
+ <actionGroup name =" AssertAdminPageIs404ActionGroup " >
12
12
<annotations >
13
- <description >Validates that the '404 Error' message is present and correct in the Admin Standalone Media Gallery Page Header.</description >
13
+ <description >Validates that the '404 Error' message is present in the current Admin Page Header.</description >
14
14
</annotations >
15
15
16
16
<see userInput =" 404 Error" selector =" {{AdminHeaderSection.pageHeading}}" stepKey =" see404PageHeading" />
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <suites xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Suite/etc/suiteSchema.xsd" >
11
+ <suite name =" MediaGalleryUiDisabledSuite" >
12
+ <include >
13
+ <group name =" media_gallery_ui_disabled" />
14
+ </include >
15
+ </suite >
16
+ </suites >
Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
10
- <test name =" AdminMediaGalleryDisabledPageTest " >
10
+ <test name =" AdminStandaloneMediaGalleryDisabledTest " >
11
11
<annotations >
12
12
<features value =" MediaGallery" />
13
13
<useCaseId value =" https://github.com/magento/adobe-stock-integration/issues/1760" />
16
16
<testCaseId value =" https://studio.cucumber.io/projects/131313/test-plan/folders/1337102/scenarios/5106786" />
17
17
<description value =" Standalone Media Gallery Page should return 404 if Media Gallery is disabled" />
18
18
<severity value =" CRITICAL" />
19
- <group value =" media_gallery_ui " />
19
+ <group value =" media_gallery_ui_disabled " />
20
20
</annotations >
21
21
<before >
22
22
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
23
23
<actionGroup ref =" AdminMediaGalleryEnhancedEnableActionGroup" stepKey =" disableEnhancedMediaGallery" />
24
24
<actionGroup ref =" AdminOpenStandaloneMediaGalleryActionGroup" stepKey =" openStandaloneMediaGallery" />
25
25
</before >
26
- <actionGroup ref =" AssertAdminStandaloneMediaGalleryPageIs404ActionGroup " stepKey =" see404Page" />
26
+ <actionGroup ref =" AssertAdminPageIs404ActionGroup " stepKey =" see404Page" />
27
27
</test >
28
28
</tests >
You can’t perform that action at this time.
0 commit comments