|
1357 | 1357 | <actionGroup ref="addVariableToTinyMCE" stepKey="addVariableToTinyMCE">
|
1358 | 1358 | <argument name="variable" value="TinyMCEVariableCountry"/>
|
1359 | 1359 | </actionGroup>
|
| 1360 | + <!--Switch to iFrame 1--> |
| 1361 | + <comment userInput="Switch to iFrame" stepKey="commentSwitchToIFrame1"/> |
| 1362 | + <switchToIFrame selector="{{TextOnConfiguration.tinyMCEIFrame}}" stepKey="switchToIFrame1"/> |
| 1363 | + <waitForElementVisible selector="{{TextOnConfiguration.tinyMCEVariable(TinyMCEVariableBaseURL.editPanelValue, '1')}}" stepKey="waitForVariable2"/> |
| 1364 | + <switchToIFrame stepKey="exitIFrame1"/> |
1360 | 1365 | <!--Add variable into Text content-->
|
1361 | 1366 | <comment userInput="Add widget into Text content" stepKey="addWidgetIntoTextContent"/>
|
1362 | 1367 | <actionGroup ref="addPageLinkWidgetToTinyMCE" stepKey="addPageLinkWidgetToTinyMCE">
|
1363 | 1368 | <argument name="widget" value="TinyMCEWidgetCMSPageLink"/>
|
1364 | 1369 | <argument name="page" value="$$createCMSPageB.identifier$$"/>
|
1365 | 1370 | </actionGroup>
|
| 1371 | + <!--Switch to iFrame--> |
| 1372 | + <comment userInput="Switch to iFrame" stepKey="commentSwitchToIFrame"/> |
| 1373 | + <switchToIFrame selector="{{TextOnConfiguration.tinyMCEIFrame}}" stepKey="switchToIFrame"/> |
| 1374 | + <waitForElementVisible selector="{{TextOnConfiguration.tinyMCEWidget(TinyMCEWidgetCMSPageLink.editPanelValue, '1')}}" stepKey="waitForWidget"/> |
| 1375 | + <switchToIFrame stepKey="exitIFrame"/> |
1366 | 1376 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
1367 | 1377 | <waitForElementVisible time="5" selector="{{PageBuilderStage.exitFullScreen}}" stepKey="waitForExitFullScreen" />
|
1368 | 1378 | <click selector="{{PageBuilderStage.exitFullScreen}}" stepKey="exitPageBuilderFullScreen" />
|
|
1460 | 1470 | <actionGroup ref="addVariableToTinyMCE" stepKey="addVariableToTinyMCE">
|
1461 | 1471 | <argument name="variable" value="TinyMCEVariableCountry"/>
|
1462 | 1472 | </actionGroup>
|
| 1473 | + <!--Switch to iFrame 1--> |
| 1474 | + <comment userInput="Switch to iFrame" stepKey="commentSwitchToIFrame1"/> |
| 1475 | + <switchToIFrame selector="{{TextOnConfiguration.tinyMCEIFrame}}" stepKey="switchToIFrame1"/> |
| 1476 | + <waitForElementVisible selector="{{TextOnConfiguration.tinyMCEVariable(TinyMCEVariableBaseURL.editPanelValue, '1')}}" stepKey="waitForVariable2"/> |
| 1477 | + <switchToIFrame stepKey="exitIFrame1"/> |
1463 | 1478 | <!--Add widget to PageBuilder-->
|
1464 | 1479 | <comment userInput="Add widget to PageBuilder" stepKey="addWidgetToPageBuilder"/>
|
1465 | 1480 | <actionGroup ref="addPageLinkWidgetToTinyMCE" stepKey="addPageLinkWidgetToTinyMCE">
|
1466 | 1481 | <argument name="widget" value="TinyMCEWidgetCMSPageLink"/>
|
1467 | 1482 | <argument name="page" value="$$createCMSPageB.identifier$$"/>
|
1468 | 1483 | </actionGroup>
|
| 1484 | + <!--Switch to iFrame--> |
| 1485 | + <comment userInput="Switch to iFrame" stepKey="commentSwitchToIFrame"/> |
| 1486 | + <switchToIFrame selector="{{TextOnConfiguration.tinyMCEIFrame}}" stepKey="switchToIFrame"/> |
| 1487 | + <waitForElementVisible selector="{{TextOnConfiguration.tinyMCEWidget(TinyMCEWidgetCMSPageLink.editPanelValue, '1')}}" stepKey="waitForWidget"/> |
| 1488 | + <switchToIFrame stepKey="exitIFrame"/> |
1469 | 1489 | <click selector="{{EditPanelForm.editFormSave}}" stepKey="clickSaveColumn"/>
|
1470 | 1490 | <waitForElementNotVisible time="5" selector="{{EditPanelForm.editForm}}" stepKey="waitForEditFormNotVisible" />
|
1471 | 1491 | <waitForElementVisible time="5" selector="{{PageBuilderStage.exitFullScreen}}" stepKey="waitForExitFullScreen" />
|
|
0 commit comments