File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
app/code/Magento/PageBuilder/Test/Mftf
Test/AdminPageBuilderVideoTest Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 57
57
<data key =" value" >http://www.youtube.com/watch?v=slOtnjsbff0</data >
58
58
<data key =" renderedValue" >https://www.youtube.com/embed/slOtnjsbff0</data >
59
59
</entity >
60
+ <entity name =" PageBuilderVideoUrl_YouTube_Nocookie" type =" pagebuilder_video_url_property" >
61
+ <data key =" name" >Video URL</data >
62
+ <data key =" section" >general</data >
63
+ <data key =" fieldName" >video_source</data >
64
+ <data key =" value" >https://www.youtube-nocookie.com/embed/slOtnjsbff0</data >
65
+ <data key =" renderedValue" >https://www.youtube-nocookie.com/embed/slOtnjsbff0</data >
66
+ </entity >
60
67
<entity name =" PageBuilderVideoUrl_Vimeo_Embedded" type =" pagebuilder_video_url_property" >
61
68
<data key =" name" >Video URL</data >
62
69
<data key =" section" >general</data >
Original file line number Diff line number Diff line change 91
91
<argument name =" page" value =" VideoOnStage" />
92
92
<argument name =" url" value =" PageBuilderVideoUrl_YouTube_Insecure" />
93
93
</actionGroup >
94
+ <!-- Update to YouTube Nocookie -->
95
+ <actionGroup ref =" openPageBuilderEditPanel" stepKey =" openEditMenuOnStageYouTubeNocookie" >
96
+ <argument name =" contentType" value =" PageBuilderVideoContentType" />
97
+ </actionGroup >
98
+ <actionGroup ref =" fillSlideOutPanelFieldGeneral" stepKey =" enterVideoUrlYouTubeNocookie" >
99
+ <argument name =" property" value =" PageBuilderVideoUrl_YouTube_Nocookie" />
100
+ </actionGroup >
101
+ <actionGroup ref =" saveEditPanelSettings" stepKey =" saveEditPanelSettingsNocookie" />
102
+ <actionGroup ref =" validateVideoWithOnlyVideoUrl" stepKey =" validateYouTubeNocookieStage" >
103
+ <argument name =" page" value =" VideoOnStage" />
104
+ <argument name =" url" value =" PageBuilderVideoUrl_YouTube_Nocookie" />
105
+ </actionGroup >
94
106
<!-- Update to Vimeo Embedded-->
95
107
<actionGroup ref =" openPageBuilderEditPanel" stepKey =" openEditMenuOnStageVimeoEmbedded" >
96
108
<argument name =" contentType" value =" PageBuilderVideoContentType" />
You can’t perform that action at this time.
0 commit comments