File tree Expand file tree Collapse file tree 3 files changed +51
-0
lines changed
app/code/Magento/Config/Test/Mftf Expand file tree Collapse file tree 3 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 12
12
<page name =" AdminContentManagementPage" url =" admin/system_config/edit/section/cms/" area =" admin" module =" Magento_Config" >
13
13
<section name =" ContentManagementSection" />
14
14
</page >
15
+ <page name =" CatalogConfigPage" url =" admin/system_config/edit/section/catalog/" area =" admin" module =" Magento_Config" >
16
+ <section name =" ContentManagementSection" />
17
+ </page >
15
18
</pages >
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
+ <sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
11
+ <section name =" CatalogSection" >
12
+ <element name =" storefront" type =" select" selector =" #catalog_frontend-head" />
13
+ <element name =" CheckIfTabExpand" type =" button" selector =" #catalog_frontend-head:not(.open)" />
14
+ </section >
15
+ </sections >
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
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd" >
11
+ <test name =" VerifyAllowDynamicMediaURLsSettingIsRemoved" >
12
+ <annotations >
13
+ <features value =" Backend" />
14
+ <stories value =" Dynamic Media URL" />
15
+ <title value =" Verify that Allow Dynamic Media URLs setting is removed from configuration page" />
16
+ <description value =" Verify that Allow Dynamic Media URLs setting is removed from configuration page" />
17
+ <severity value =" CRITICAL" />
18
+ <useCaseId value =" MC-1364" />
19
+ <testCaseId value =" MC-3178" />
20
+ <group value =" alo" />
21
+ </annotations >
22
+ <before >
23
+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
24
+ </before >
25
+ <after >
26
+ <actionGroup ref =" logout" stepKey =" logout" />
27
+ </after >
28
+ <amOnPage url =" {{CatalogConfigPage.url}}" stepKey =" navigateToConfigurationPage" />
29
+ <waitForPageLoad stepKey =" waitForPageLoad" />
30
+ <conditionalClick stepKey =" expandStorefrontTab" selector =" {{CatalogSection.storefront}}" dependentSelector =" {{CatalogSection.CheckIfTabExpand}}" visible =" true" />
31
+ <dontSee stepKey =" dontSeeDynamicMediaURLsSetting" userInput =" Allow Dynamic Media URLs" />
32
+ </test >
33
+ </tests >
You can’t perform that action at this time.
0 commit comments