49
49
<see userInput =" You saved the block." stepKey =" seeSavedBlockMsgOnGrid" />
50
50
<seeElement selector =" div[data-role='grid-wrapper']" stepKey =" seeGridPage" />
51
51
</test >
52
- <test name =" AdminCreateCmsBlockTest" >
53
- <annotations >
54
- <features value =" Cms" />
55
- <stories value =" CMS Block Creation and Reset Removal" />
56
- <title value =" Admin should be able to create a CMS block" />
57
- <description value =" Admin should be able to create a CMS block" />
58
- <severity value =" CRITICAL" />
59
- <group value =" Cms" />
60
- </annotations >
61
- <before >
62
- <actionGroup ref =" LoginActionGroup" stepKey =" loginGetFromGeneralFile" />
63
- <actionGroup ref =" DisabledWYSIWYGActionGroup" stepKey =" disableWYSIWYG" />
64
- </before >
65
- <after >
66
- <actionGroup ref =" deleteBlock" stepKey =" deleteCreatedBlock" >
67
- <argument name =" Block" value =" _defaultBlock" />
68
- </actionGroup >
69
- <actionGroup ref =" logout" stepKey =" logout" />
70
- </after >
71
- <amOnPage url =" {{CmsNewBlock.url}}" stepKey =" amOnBlocksCreationForm" />
72
- <waitForPageLoad stepKey =" waitForPageLoad1" />
73
- <!-- Verify Save&Duplicate button and Save&Close button-->
74
- <click selector =" {{BlockNewPagePageActionsSection.expandSplitButton}}" stepKey =" expandSplitBtn1" />
75
- <see selector =" {{BlockNewPagePageActionsSection.saveAndDuplicate}}" userInput =" Save & Duplicate" stepKey =" seeSaveAndDuplicate" />
76
- <see selector =" {{BlockNewPagePageActionsSection.saveAndClose}}" userInput =" Save & Close" stepKey =" seeSaveAndClose" />
77
- <!-- Create new CMS Block page-->
78
- <actionGroup ref =" FillOutBlockContent" stepKey =" FillOutBlockContent" />
79
- <click selector =" {{BlockNewPagePageActionsSection.expandSplitButton}}" stepKey =" expandSplitBtn2" />
80
- <click selector =" {{BlockNewPagePageActionsSection.saveAndClose}}" stepKey =" clickSaveAndClose" />
81
- <waitForPageLoad stepKey =" waitForPageLoad3" />
82
- <see userInput =" You saved the block." stepKey =" seeSavedBlockMsgOnForm" />
83
- </test >
84
- </tests >
52
+ </tests >
0 commit comments