|
33 | 33 | <argument name="UrlKey" value="{{_defaultCmsPage.identifier}}"/>
|
34 | 34 | </actionGroup>
|
35 | 35 | </test>
|
36 |
| - <test name="AdminConfigDefaultCMSPageLayoutFromConfigurationSettingTest"> |
37 |
| - <annotations> |
38 |
| - <features value="Cms"/> |
39 |
| - <stories value="Default layout configuration MAGETWO-88793"/> |
40 |
| - <title value="Admin should be able to configure the default layout for CMS Page from System Configuration"/> |
41 |
| - <description value="Admin should be able to configure the default layout for CMS Page from System Configuration"/> |
42 |
| - <severity value="CRITICAL"/> |
43 |
| - <testCaseId value="MAGETWO-89025"/> |
44 |
| - <group value="Cms"/> |
45 |
| - </annotations> |
46 |
| - <before> |
47 |
| - <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
48 |
| - </before> |
49 |
| - <after> |
50 |
| - <actionGroup ref="RestoreLayoutSetting" stepKey="sampleActionGroup"/> |
51 |
| - <actionGroup ref="logout" stepKey="logout"/> |
52 |
| - </after> |
53 |
| - <amOnPage url="{{WebConfigurationPage.url}}" stepKey="navigateToWebConfigurationPage"/> |
54 |
| - <waitForPageLoad stepKey="waitForPageLoad"/> |
55 |
| - <conditionalClick stepKey="expandDefaultLayouts" selector="{{WebSection.DefaultLayoutsTab}}" dependentSelector="{{WebSection.CheckIfTabExpand}}" visible="true" /> |
56 |
| - <waitForElementVisible selector="{{DefaultLayoutsSection.pageLayout}}" stepKey="DefaultProductLayout" /> |
57 |
| - <seeOptionIsSelected selector="{{DefaultLayoutsSection.pageLayout}}" userInput="1 column" stepKey="seeOneColumnSelected" /> |
58 |
| - <seeOptionIsSelected selector="{{DefaultLayoutsSection.productLayout}}" userInput="No layout updates" stepKey="seeNoLayoutUpdatesSelected1" /> |
59 |
| - <seeOptionIsSelected selector="{{DefaultLayoutsSection.categoryLayout}}" userInput="No layout updates" stepKey="seeNoLayoutUpdatesSelected2" /> |
60 |
| - <selectOption selector="{{DefaultLayoutsSection.pageLayout}}" userInput="2 columns with right bar" stepKey="selectColumnsWithRightBar"/> |
61 |
| - <click selector="{{ContentManagementSection.Save}}" stepKey="clickSaveConfig" /> |
62 |
| - <amOnPage url="{{CmsNewPagePage.url}}" stepKey="amOnPagePagesGrid"/> |
63 |
| - <waitForPageLoad stepKey="waitForPageLoad1"/> |
64 |
| - <waitForLoadingMaskToDisappear stepKey="wait2" /> |
65 |
| - <click selector="{{CmsDesignSection.DesignTab}}" stepKey="clickOnDesignTab"/> |
66 |
| - <waitForElementVisible selector="{{CmsDesignSection.LayoutDropdown}}" stepKey="waitForLayoutDropDown" /> |
67 |
| - <seeOptionIsSelected selector="{{CmsDesignSection.LayoutDropdown}}" userInput="2 columns with right bar" stepKey="seeColumnsWithRightBar" /> |
68 |
| - </test> |
69 |
| - <test name="AdminCreateDuplicatedCmsPageTest"> |
70 |
| - <annotations> |
71 |
| - <features value="Cms"/> |
72 |
| - <stories value="CMS Page Duplication and Reset Removal MAGETWO-87096"/> |
73 |
| - <title value="Admin should be able to duplicate a CMS Page"/> |
74 |
| - <description value="Admin should be able to duplicate a CMS Page"/> |
75 |
| - <severity value="CRITICAL"/> |
76 |
| - <testCaseId value="MAGETWO-89184"/> |
77 |
| - <group value="Cms"/> |
78 |
| - </annotations> |
79 |
| - <before> |
80 |
| - <actionGroup ref="LoginActionGroup" stepKey="loginGetFromGeneralFile"/> |
81 |
| - <actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYG"/> |
82 |
| - </before> |
83 |
| - <after> |
84 |
| - <actionGroup ref="logout" stepKey="logout"/> |
85 |
| - </after> |
86 |
| - <amOnPage url="{{CmsNewPagePage.url}}" stepKey="amOnPageCreationForm"/> |
87 |
| - <waitForPageLoad stepKey="waitForPageLoad1"/> |
88 |
| - <!--Verify Save&Duplicate button and Save&Close button--> |
89 |
| - <click selector="{{CmsNewPagePageActionsSection.expandSplitButton}}" stepKey="expandSplitBtn1" /> |
90 |
| - <see selector="{{CmsNewPagePageActionsSection.saveAndDuplicate}}" userInput="Save & Duplicate" stepKey="seeSaveAndDuplicate"/> |
91 |
| - <see selector="{{CmsNewPagePageActionsSection.saveAndClose}}" userInput="Save & Close" stepKey="seeSaveAndClose"/> |
92 |
| - <!--Create new CMS Page page--> |
93 |
| - <actionGroup ref="FillOutCMSPageContent" stepKey="FillOutBlockContent"/> |
94 |
| - <click selector="{{CmsNewPagePageActionsSection.expandSplitButton}}" stepKey="expandSplitBtn2" /> |
95 |
| - <click selector="{{CmsNewPagePageActionsSection.saveAndDuplicate}}" stepKey="clickSaveAndDuplicate" /> |
96 |
| - <waitForPageLoad stepKey="waitForPageLoad3"/> |
97 |
| - <see userInput="You saved the page." stepKey="seeSavedPageMsgOnForm"/> |
98 |
| - <see userInput="You duplicated the page." stepKey="seeDuplicatedPageMsg"/> |
99 |
| - <!--Verify duplicated CMS Page--> |
100 |
| - <seeElement selector="{{BlockNewPageBasicFieldsSection.isActive('0')}}" stepKey="seeBlockNotEnable" /> |
101 |
| - <actionGroup ref="AssertCMSPageContentActionGroup" stepKey="assertContent"/> |
102 |
| - <click selector="{{CmsNewPagePageActionsSection.expandSplitButton}}" stepKey="expandSplitBtn3" /> |
103 |
| - <click selector="{{CmsNewPagePageActionsSection.saveAndClose}}" stepKey="clickSaveAndClose"/> |
104 |
| - <see userInput="You saved the page." stepKey="seeSavedCMSPageMsgOnGrid"/> |
105 |
| - <seeElement selector="div[data-role='grid-wrapper']" stepKey="seeGridPage" /> |
106 |
| - </test> |
107 | 36 | </tests>
|
0 commit comments