File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
app/code/Magento/PageBuilder
view/adminhtml/ui_component Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 405
405
</arguments >
406
406
<waitForElementVisible selector =" {{section.warningMessageLink('1')}}" stepKey =" waitForWarningMessageLink" />
407
407
<click selector =" {{section.warningMessageLink('1')}}" stepKey =" clickLink" />
408
+ <waitForPageLoad stepKey =" waitForLinkClick" />
409
+ <switchToNextTab stepKey =" switchToOpenedLink" />
408
410
<waitForPageLoad stepKey =" waitForPageLoad" />
409
411
<seeInCurrentUrl url =" {{AdminContentManagementPage.url}}#cms_pagebuilder" stepKey =" validateURL" />
410
412
<seeElement selector =" {{ContentManagementSection.GoogleMapsAPIKeyInputField}}" stepKey =" seeGoogleMapsAPIKeyInputField" />
413
+ <closeTab stepKey =" closeOpenedTab" />
411
414
</actionGroup >
412
415
<actionGroup name =" validateAdvancedStyleWithAllUpdatedMapWithErrorOverlay" extends =" validateAdvancedStyleWithAllUpdatedNotVisible" >
413
416
<waitForElementVisible selector =" {{page.warningMessageLink(index)}}" stepKey =" dontSeeElement" />
Original file line number Diff line number Diff line change 97
97
<actionGroup ref =" dragContentTypeToDropZone" stepKey =" dragRowToStage" >
98
98
<argument name =" contentType" value =" PageBuilderRowContentType" />
99
99
<argument name =" contentTypeIndex" value =" 2" />
100
- <argument name =" containerTargetType" value =" PageBuilderStage " />
100
+ <argument name =" containerTargetType" value =" PageBuilderRootContainerContentType " />
101
101
<argument name =" dropZoneIndex" value =" 2" />
102
102
</actionGroup >
103
103
<!-- Edit 2nd Row -->
Original file line number Diff line number Diff line change 132
132
<actionGroup ref =" validateWarningMessageLink" stepKey =" validateWarningMessageLink1" >
133
133
<argument name =" section" value =" MapOnStage" />
134
134
</actionGroup >
135
+ <waitForPageLoad stepKey =" waitForPageLoad1" />
136
+ <actionGroup ref =" switchToPageBuilderStage" stepKey =" switchToPageBuilderStage2" />
135
137
<!-- Edit Form: Validate Warning Message Link -->
136
138
<comment userInput =" Edit Form: Validate Warning Message Link" stepKey =" commentValidateWarningMessageLinkEditForm" />
137
139
<actionGroup ref =" openPageBuilderEditPanel" stepKey =" openEditPanel1" >
140
142
<actionGroup ref =" validateWarningMessageLink" stepKey =" validateWarningMessageLink2" >
141
143
<argument name =" section" value =" EditMapForm" />
142
144
</actionGroup >
143
- <moveBack stepKey =" moveBack2" />
144
145
<waitForPageLoad stepKey =" waitForPageLoad2" />
145
- <actionGroup ref =" switchToPageBuilderStage" stepKey =" switchToPageBuilderStage3" />
146
146
<!-- Location Form: Validate Warning Message Link -->
147
- <comment userInput =" Location Form: Validate Warning Message Link" stepKey =" commentValidateWarningMessageLinkLocationForm" />
148
- <actionGroup ref =" openPageBuilderEditPanel" stepKey =" openEditPanel2" >
149
- <argument name =" contentType" value =" PageBuilderMapContentType" />
150
- </actionGroup >
151
147
<actionGroup ref =" clickAddLocationButton" stepKey =" clickAddLocationButton" />
152
148
<actionGroup ref =" validateWarningMessageLink" stepKey =" validateWarningMessageLink3" >
153
149
<argument name =" section" value =" AddLocationForm" />
Original file line number Diff line number Diff line change 71
71
<item name =" additionalClasses" xsi : type =" string" >message message-warning</item >
72
72
<item name =" visible" xsi : type =" boolean" >false</item >
73
73
<item name =" map_configuration_url" xsi : type =" string" >adminhtml/system_config/edit/section/cms</item >
74
- <item name =" content" xsi : type =" string" translate =" true" ><![CDATA[ You must provide a valid <a href="%s">Google Maps API key</a> to use a map.]]> </item >
74
+ <item name =" content" xsi : type =" string" translate =" true" ><![CDATA[ You must provide a valid <a href="%s" target="_blank" >Google Maps API key</a> to use a map.]]> </item >
75
75
</item >
76
76
</argument >
77
77
</container >
Original file line number Diff line number Diff line change 3
3
"version" : " 100.0.0-dev" ,
4
4
"description" : " PageBuilder module" ,
5
5
"scripts" : {
6
- "test:static" : " npm run ts:errors && tslint --project tsconfig.json" ,
7
- "test:static:log" : " npm run test:static -- -o ./static-error-log.xml -t junit " ,
6
+ "test:static" : " tslint --project tsconfig.json" ,
7
+ "test:static:log" : " set -o pipefail; npm run test:static | tee tslint-errors.txt " ,
8
8
"ts:errors" : " tsc --noEmit" ,
9
+ "test:errors:log" : " set -o pipefail; npm run ts:errors | tee tsc-errors.txt" ,
9
10
"ts:errors:watch" : " npm run ts:errors -- -watch" ,
10
11
"ts:lint" : " tslint --fix --project ." ,
11
12
"ts:defs" : " node ./dev/dts-generator.js" ,
You can’t perform that action at this time.
0 commit comments