File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
app/code/Magento/PageBuilder
view/adminhtml/templates/form/element Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 409
409
<seeInCurrentUrl url =" {{AdminContentManagementPage.url}}#cms_pagebuilder" stepKey =" validateURL" />
410
410
<seeElement selector =" {{ContentManagementSection.GoogleMapsAPIKeyInputField}}" stepKey =" seeGoogleMapsAPIKeyInputField" />
411
411
</actionGroup >
412
+ <actionGroup name =" validateWarningMessageLinkNewTabTarget" extends =" validateWarningMessageLink" >
413
+ <switchToNextTab stepKey =" switchToNewConfigurationTab" after =" clickLink" />
414
+ <closeTab stepKey =" closeTab" after =" seeGoogleMapsAPIKeyInputField" />
415
+ <switchToPreviousTab stepKey =" switchToPreviousTab" after =" closeTab" />
416
+ </actionGroup >
412
417
<actionGroup name =" validateAdvancedStyleWithAllUpdatedMapWithErrorOverlay" extends =" validateAdvancedStyleWithAllUpdatedNotVisible" >
413
418
<waitForElementVisible selector =" {{page.warningMessageLink(index)}}" stepKey =" dontSeeElement" />
414
419
</actionGroup >
Original file line number Diff line number Diff line change 129
129
<actionGroup ref =" switchToPageBuilderStage" stepKey =" switchToPageBuilderStage1" />
130
130
<!-- Stage: Validate Warning Message Link -->
131
131
<comment userInput =" Stage: Validate Warning Message Link" stepKey =" commentValidateWarningMessageLinkStage" />
132
- <actionGroup ref =" validateWarningMessageLink " stepKey =" validateWarningMessageLink1" >
132
+ <actionGroup ref =" validateWarningMessageLinkNewTabTarget " stepKey =" validateWarningMessageLink1" >
133
133
<argument name =" section" value =" MapOnStage" />
134
134
</actionGroup >
135
- <moveBack stepKey =" moveBack1" />
136
- <waitForPageLoad stepKey =" waitForPageLoad1" />
137
- <actionGroup ref =" switchToPageBuilderStage" stepKey =" switchToPageBuilderStage2" />
138
135
<!-- Edit Form: Validate Warning Message Link -->
139
136
<comment userInput =" Edit Form: Validate Warning Message Link" stepKey =" commentValidateWarningMessageLinkEditForm" />
140
137
<actionGroup ref =" openPageBuilderEditPanel" stepKey =" openEditPanel1" >
152
149
<argument name =" contentType" value =" PageBuilderMapContentType" />
153
150
</actionGroup >
154
151
<actionGroup ref =" clickAddLocationButton" stepKey =" clickAddLocationButton" />
155
- <actionGroup ref =" validateWarningMessageLink " stepKey =" validateWarningMessageLink3" >
152
+ <actionGroup ref =" validateWarningMessageLinkNewTabTarget " stepKey =" validateWarningMessageLink3" >
156
153
<argument name =" section" value =" AddLocationForm" />
157
154
</actionGroup >
158
155
</test >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ $role = 'pagebuilder-conditions-form-placeholder-' . $attribute;
17
17
<div class="rule-tree">
18
18
<fieldset id="<?= $ block ->escapeHtmlAttr ($ id ) ?> " class="fieldset">
19
19
<div class="rule-tree-wrapper">
20
- <div data-content-type ="<?= $ block ->escapeHtmlAttr ($ role ) ?> "></div>
20
+ <div data-role ="<?= $ block ->escapeHtmlAttr ($ role ) ?> "></div>
21
21
</div>
22
22
</fieldset>
23
23
</div>
You can’t perform that action at this time.
0 commit comments