|
102 | 102 | </actionGroup>
|
103 | 103 | <see userInput="$$createPreReqBlock.content$$" stepKey="seeBlockContentOnCmsStage"/>
|
104 | 104 | </test>
|
105 |
| - <test name="BlockGetUpdated"> |
| 105 | + <test name="BlockGetsUpdated"> |
106 | 106 | <annotations>
|
107 | 107 | <features value="PageBuilder"/>
|
108 | 108 | <stories value="Block"/>
|
109 |
| - <title value="Block Content Block get updated"/> |
110 |
| - <description value="Verify that Block Content Block get updated from Block entities"/> |
| 109 | + <title value="Block Content Block gets updated"/> |
| 110 | + <description value="Verify that Block Content Type gets updated from Block entities"/> |
111 | 111 | <severity value="CRITICAL"/>
|
112 | 112 | <testCaseId value="MC-2289"/>
|
113 | 113 | <useCaseId value="MC-1420"/>
|
|
126 | 126 | <actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
|
127 | 127 | <actionGroup ref="logout" stepKey="logout"/>
|
128 | 128 | </after>
|
129 |
| - <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCmsPage1"> |
| 129 | + <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPageInAdmin"> |
130 | 130 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
131 | 131 | </actionGroup>
|
132 | 132 | <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandMenuSectionAddContent">
|
|
154 | 154 | <actionGroup ref="navigateToStorefrontForCreatedPage" stepKey="navigateToCMSPageStorefront">
|
155 | 155 | <argument name="page" value="$$createCMSPage.identifier$$"/>
|
156 | 156 | </actionGroup>
|
157 |
| - <see userInput="$$createPreReqBlock.content$$" stepKey="seeBlockContentOnCmsStage"/> |
158 |
| - <actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCmsBlock"> |
| 157 | + <see userInput="$$createPreReqBlock.content$$" stepKey="seeBlockContentOnStorefront"/> |
| 158 | + <!-- Update block content in admin --> |
| 159 | + <comment userInput="Update block content in admin" stepKey="commentUpdateBlockContentInAdmin"/> |
| 160 | + <actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCmsBlockInAdmin"> |
159 | 161 | <argument name="CMSBlockPage" value="$$createPreReqBlock$$"/>
|
160 | 162 | </actionGroup>
|
161 | 163 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage2">
|
|
166 | 168 | </actionGroup>
|
167 | 169 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings2"/>
|
168 | 170 | <actionGroup ref="saveCMSBlock" stepKey="saveCMSBlock"/>
|
169 |
| - <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCmsPage2"> |
| 171 | + <!-- Validate Stage after updating block --> |
| 172 | + <comment userInput="Validate stage after updating block" stepKey="validateStage2"/> |
| 173 | + <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPageInAdmin2"> |
170 | 174 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
171 | 175 | </actionGroup>
|
172 |
| - <!-- Validate Stage --> |
173 |
| - <comment userInput="Validate stage after updating block" stepKey="validateStage2"/> |
174 | 176 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
|
175 | 177 | <waitForElementVisible selector="{{HtmlOnStage.base('1')}}" stepKey="waitForHtmlBaseStage1"/>
|
176 |
| - <see selector="{{BlockOnStage.html('1', '1')}}" userInput="{{PageBuilderHtmlPropertyButton.value}}" stepKey="waitForHtmlStage1"/> |
| 178 | + <see selector="{{BlockOnStage.html('1', '1')}}" userInput="{{PageBuilderHtmlPropertyButton.valueOnStage}}" stepKey="waitForHtmlStage1"/> |
177 | 179 | <actionGroup ref="ClearCacheActionGroup" stepKey="clearMagentoCache"/>
|
178 | 180 | <!-- Validate Storefront -->
|
179 | 181 | <comment userInput="Validate storefront after updating block" stepKey="validateStorefront2"/>
|
|
0 commit comments