|
41 | 41 | <argument name="contentType" value="PageBuilderBlockContentType"/>
|
42 | 42 | </actionGroup>
|
43 | 43 | <actionGroup ref="closeEditPanelSettings" stepKey="closeSlideEditPanel"/>
|
44 |
| - <waitForElementVisible selector="{{BlockOnStage.status('Empty Block')}}" stepKey="seeEmptyBlockPlaceHolder"/> |
| 44 | + <waitForElementVisible selector="{{BlockOnStage.status('1', 'Empty Block')}}" stepKey="seeEmptyBlockPlaceHolder"/> |
45 | 45 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
|
46 | 46 | <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/>
|
47 | 47 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
|
48 | 48 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
49 |
| - <dontSeeElement selector="{{BlockOnStorefront.blockContent}}" stepKey="seeBlockContentOnCmsStage"/> |
| 49 | + <seeElement selector="{{BlockOnStorefront.empty}}" stepKey="seeBlockContentOnCmsStage"/> |
50 | 50 | </test>
|
51 | 51 | <test name="AddBlockToCmsPage">
|
52 | 52 | <annotations>
|
|
86 | 86 | <seeElement selector="{{BlockOnForm.title('$$createPreReqBlock.title$$')}}" stepKey="seeBlockTitleOnForm"/>
|
87 | 87 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
88 | 88 | <actionGroup ref="verifyBlockOnStage" stepKey="verifyBlockOnStage">
|
| 89 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
89 | 90 | <argument name="block" value="$$createPreReqBlock$$"/>
|
| 91 | + <argument name="index" value="1"/> |
90 | 92 | </actionGroup>
|
91 | 93 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
|
92 | 94 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
|
93 | 95 | <actionGroup ref="verifyBlockOnStage" stepKey="verifyBlockOnStageAfterSave">
|
| 96 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
94 | 97 | <argument name="block" value="$$createPreReqBlock$$"/>
|
| 98 | + <argument name="index" value="1"/> |
95 | 99 | </actionGroup>
|
96 | 100 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
|
97 | 101 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
|
139 | 143 | <!-- Validate Stage -->
|
140 | 144 | <comment userInput="Validate stage" stepKey="validateStage1" />
|
141 | 145 | <actionGroup ref="verifyBlockOnStage" stepKey="verifyBlockOnStage">
|
| 146 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
142 | 147 | <argument name="block" value="$$createPreReqBlock$$"/>
|
| 148 | + <argument name="index" value="1"/> |
143 | 149 | </actionGroup>
|
144 | 150 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
|
145 | 151 | <!-- Validate Storefront -->
|
|
165 | 171 | <comment userInput="Validate stage after updating block" stepKey="validateStage2" />
|
166 | 172 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
|
167 | 173 | <waitForElementVisible selector="{{HtmlOnStage.base('1')}}" stepKey="waitForHtmlBaseStage1"/>
|
168 |
| - <waitForElementVisible selector="{{BlockOnStage.html('1')}}" stepKey="waitForHtmlStage1"/> |
| 174 | + <waitForElementVisible selector="{{BlockOnStage.html('1', '1')}}" stepKey="waitForHtmlStage1"/> |
169 | 175 | <actionGroup ref="ClearCacheActionGroup" stepKey="clearMagentoCache"/>
|
170 | 176 | <!-- Validate Storefront -->
|
171 | 177 | <comment userInput="Validate storefront after updating block" stepKey="validateStorefront2" />
|
|
227 | 233 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPageAfterDisablingBlock">
|
228 | 234 | <argument name="CMSPage" value="$$createCMSPage$$" />
|
229 | 235 | </actionGroup>
|
230 |
| - <waitForElementVisible selector="{{BlockOnStage.status('Block disabled')}}" stepKey="seeDisabledBlockPlaceholder" /> |
| 236 | + <waitForElementVisible selector="{{BlockOnStage.status('1', 'Block disabled')}}" stepKey="seeDisabledBlockPlaceholder" /> |
231 | 237 |
|
232 | 238 | <!-- Go to CMS page on storefront and assert disabled block does not exist on page -->
|
233 | 239 | <comment userInput="Go to CMS page on storefront and assert disabled block does not exist on page" stepKey="commentAssertDisabledBlockMissingOnStorefront" />
|
|
316 | 322 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupInteractive2">
|
317 | 323 | <argument name="group" value="PageBuilderBlockContentType"/>
|
318 | 324 | </actionGroup>
|
319 |
| - <waitForElementVisible selector="{{BlockOnStage.deleted('$createPreReqBlock.id$')}}" stepKey="seeDeletedBlockPlaceHolder"/> |
| 325 | + <waitForElementVisible selector="{{BlockOnStage.deleted('1','$createPreReqBlock.id$')}}" stepKey="seeDeletedBlockPlaceHolder"/> |
320 | 326 | </test>
|
321 | 327 | <test name="BlockValidateAdvancedConfigurationDefaultValues">
|
322 | 328 | <annotations>
|
|
0 commit comments