File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Newsletter/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 34
34
<waitForElementVisible selector =" {{BasicFieldNewsletterSection.templateName}}" stepKey =" waitForPreviewButton" />
35
35
<click selector =" {{BasicFieldNewsletterSection.preview}}" stepKey =" clickPreview" />
36
36
<switchToNextTab stepKey =" switchToPreviewTab" />
37
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMask" />
37
38
<waitForElementVisible selector =" {{BasicFieldNewsletterSection.previewIframe}}" stepKey =" waitForIframeVisible" />
38
39
<executeJS function =" document.getElementById('preview_iframe').sandbox.add('allow-scripts')" stepKey =" addSandboxValue" />
39
- <wait time =" 10" stepKey =" waitForSandbox" />
40
40
<switchToIFrame userInput =" preview_iframe" stepKey =" switchToIframe" />
41
- <waitForPageLoad stepKey =" waitForPreviewIframeLoaded " />
41
+ <waitForElementVisible selector = " body " stepKey =" waitForIframeLoad " />
42
42
</actionGroup >
43
43
44
44
<actionGroup name =" AdminAssertNewsletterContent" >
You can’t perform that action at this time.
0 commit comments