File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Newsletter
view/adminhtml/templates/preview Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 35
35
<click selector =" {{BasicFieldNewsletterSection.preview}}" stepKey =" clickPreview" />
36
36
<switchToNextTab stepKey =" switchToPreviewTab" />
37
37
<waitForElementVisible selector =" {{BasicFieldNewsletterSection.previewIframe}}" stepKey =" waitForIframeVisible" />
38
- <executeJS function =" Array.from(document.getElementById('preview_iframe').sandbox.values()).map(document.getElementById('preview_iframe').sandbox.remove)" stepKey =" addSandboxValue " />
38
+ <executeJS function =" Array.from(document.getElementById('preview_iframe').sandbox.values()).map(document.getElementById('preview_iframe').sandbox.remove)" stepKey =" removeSandboxValues " />
39
39
<switchToIFrame userInput =" preview_iframe" stepKey =" switchToIframe" />
40
40
<waitForPageLoad stepKey =" waitForPreviewIframeLoaded" />
41
41
</actionGroup >
Original file line number Diff line number Diff line change 21
21
frameborder="0"
22
22
title="<?= $ block ->escapeHtmlAttr (__ ('Preview ' )) ?> "
23
23
width="100%"
24
- sandbox="allow-forms allow-pointer-lock"
24
+ sandbox="allow-forms allow-pointer-lock allow-same-origin "
25
25
>
26
26
27
27
</iframe>
You can’t perform that action at this time.
0 commit comments