File tree Expand file tree Collapse file tree 5 files changed +61
-1
lines changed
app/code/Magento/PageBuilder
view/frontend/page_layout Expand file tree Collapse file tree 5 files changed +61
-1
lines changed 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
+ <actionGroups 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/actionGroupSchema.xsd" >
11
+ <actionGroup name =" RestoreLayoutSetting" >
12
+ <!-- Remove the existing layout update entries, as they can be merged in the wrong order -->
13
+ <remove keyForRemoval =" selectOneColumn" />
14
+ <remove keyForRemoval =" selectNoLayoutUpdates1" />
15
+ <remove keyForRemoval =" selectNoLayoutUpdates2" />
16
+ <!-- Set the defaults to those now set by Page Builder -->
17
+ <selectOption selector =" {{DefaultLayoutsSection.pageLayout}}" userInput =" {{PageBuilderFullWidthLayout.cms}}" stepKey =" selectCmsFullWidth" after =" expandDefaultLayouts" />
18
+ <selectOption selector =" {{DefaultLayoutsSection.categoryLayout}}" userInput =" {{PageBuilderFullWidthLayout.category}}" stepKey =" selectCategoryFullWidth" after =" expandDefaultLayouts" />
19
+ <selectOption selector =" {{DefaultLayoutsSection.productLayout}}" userInput =" {{PageBuilderFullWidthLayout.product}}" stepKey =" selectProductFullWidth" after =" expandDefaultLayouts" />
20
+ </actionGroup >
21
+ </actionGroups >
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
+ <entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataProfileSchema.xsd" >
11
+ <entity name =" PageBuilderFullWidthLayout" type =" pagebuild_full_width_layout" >
12
+ <data key =" cms" >CMS - Full Width</data >
13
+ <data key =" category" >Category - Full Width</data >
14
+ <data key =" product" >Product - Full Width</data >
15
+ </entity >
16
+ </entities >
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 =" AdminConfigDefaultCategoryLayoutFromConfigurationSettingTest" >
12
+ <!-- PageBuilder is enabled so check default is full width -->
13
+ <comment userInput =" PageBuilder is enabled so check default is full width" stepKey =" commentSeeCategoryFullWidth" before =" seeNoLayoutUpdatesSelected" />
14
+ <seeOptionIsSelected selector =" {{DefaultLayoutsSection.categoryLayout}}" userInput =" {{PageBuilderFullWidthLayout.category}}" stepKey =" seeNoLayoutUpdatesSelected" />
15
+ </test >
16
+ </tests >
Original file line number Diff line number Diff line change 16
16
<actionGroup ref =" enablePageBuilderSetting" stepKey =" turnOnPageBuilder" before =" amOnLogoutPage" />
17
17
</after >
18
18
</test >
19
+ <test name =" AdminConfigDefaultCMSPageLayoutFromConfigurationSettingTest" >
20
+ <!-- PageBuilder is enabled so check default is full width -->
21
+ <comment userInput =" PageBuilder is enabled so check default is full width" stepKey =" commentSeeFullWidth" />
22
+ <seeOptionIsSelected selector =" {{DefaultLayoutsSection.pageLayout}}" userInput =" {{PageBuilderFullWidthLayout.cms}}" stepKey =" seeOneColumnSelected" />
23
+ <seeOptionIsSelected selector =" {{DefaultLayoutsSection.productLayout}}" userInput =" {{PageBuilderFullWidthLayout.product}}" stepKey =" seeNoLayoutUpdatesSelected1" />
24
+ <seeOptionIsSelected selector =" {{DefaultLayoutsSection.categoryLayout}}" userInput =" {{PageBuilderFullWidthLayout.category}}" stepKey =" seeNoLayoutUpdatesSelected2" />
25
+ </test >
19
26
</tests >
Original file line number Diff line number Diff line change 16
16
</container >
17
17
</container >
18
18
<!-- Create wrapper for description without page-main class which adds gutters -->
19
- <container name =" product.info.description.wrapper" after =" main.content" before =" product.info.details.wrapper" htmlTag =" div" htmlClass =" page-main-description" />
19
+ <container name =" product.info.description.wrapper" after =" main.content" before =" product.info.details.wrapper" htmlTag =" div" htmlClass =" page-main-description" htmlId = " description " />
20
20
</referenceContainer >
21
21
22
22
<!-- Move details & description into their new wrappers -->
You can’t perform that action at this time.
0 commit comments