21
21
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
22
22
</before >
23
23
<after >
24
- <actionGroup ref =" RestoreLayoutSetting" stepKey =" sampleActionGroup" />
24
+ <actionGroup ref =" NavigateToDefaultLayoutsSettingActionGroup" stepKey =" navigateToWebConfigurationPage1" />
25
+
26
+ <actionGroup ref =" AdminSetProductLayoutSettingsActionGroup" stepKey =" sampleActionGroup" >
27
+ <argument name =" layout" value =" 1 column" />
28
+ </actionGroup >
29
+
30
+ <actionGroup ref =" CliCacheFlushActionGroup" stepKey =" flushCacheBeforeTestFinishes" >
31
+ <argument name =" tags" value =" config" />
32
+ </actionGroup >
33
+
25
34
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
26
35
</after >
27
- <actionGroup ref =" AdminOpenWebConfigurationPageActionGroup" stepKey =" navigateToWebConfigurationPage" />
28
- <conditionalClick stepKey =" expandDefaultLayouts" selector =" {{WebSection.DefaultLayoutsTab}}" dependentSelector =" {{WebSection.CheckIfTabExpand}}" visible =" true" />
29
- <waitForElementVisible selector =" {{DefaultLayoutsSection.productLayout}}" stepKey =" DefaultProductLayout" />
30
- <selectOption selector =" {{DefaultLayoutsSection.productLayout}}" userInput =" 3 columns" stepKey =" select3ColumnsLayout" />
31
- <click selector =" {{ContentManagementSection.Save}}" stepKey =" clickSaveConfig" />
32
- <amOnPage url =" {{AdminProductCreatePage.url(AddToDefaultSet.attributeSetId, 'simple')}}" stepKey =" navigateToNewProduct" />
33
- <waitForPageLoad stepKey =" wait1" />
34
- <click selector =" {{ProductDesignSection.DesignTab}}" stepKey =" clickOnDesignTab" />
35
- <waitForElementVisible selector =" {{ProductDesignSection.LayoutDropdown}}" stepKey =" waitForLayoutDropDown" />
36
- <seeOptionIsSelected selector =" {{ProductDesignSection.LayoutDropdown}}" userInput =" 3 columns" stepKey =" see3ColumnsSelected" />
36
+
37
+ <actionGroup ref =" NavigateToDefaultLayoutsSettingActionGroup" stepKey =" navigateToWebConfigurationPage" />
38
+
39
+ <comment userInput =" Set default layout to 3 columns" stepKey =" expandDefaultLayouts" />
40
+
41
+ <actionGroup ref =" AdminSetProductLayoutSettingsActionGroup" stepKey =" select3ColumnsLayout" >
42
+ <argument name =" layout" value =" 3 columns" />
43
+ </actionGroup >
44
+ <comment userInput =" Default layout has been updated" stepKey =" DefaultProductLayout" />
45
+
46
+ <actionGroup ref =" CliCacheFlushActionGroup" stepKey =" clickSaveConfig" >
47
+ <argument name =" tags" value =" config" />
48
+ </actionGroup >
49
+
50
+ <actionGroup ref =" AdminOpenNewProductFormPageActionGroup" stepKey =" navigateToNewProduct" />
51
+ <comment userInput =" Default layout has been updated" stepKey =" wait1" />
52
+
53
+ <actionGroup ref =" AdminExpandProductDesigSectionActionGroup" stepKey =" clickOnDesignTab" />
54
+
55
+ <comment userInput =" Checking if settings have been applied" stepKey =" waitForLayoutDropDown" />
56
+ <seeOptionIsSelected selector =" {{ProductDesignSection.LayoutDropdown}}" userInput =" 3 columns" stepKey =" see3ColumnsSelected" />
57
+
37
58
</test >
38
- </tests >
59
+ </tests >
0 commit comments