Skip to content

Commit 57501ec

Browse files
committed
ACQE-7334 : WYSIWYG is presented for content if page for edit is opened in new browser tab
updated test file
1 parent f30efbc commit 57501ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Cms/Test/Mftf/Test/AdminVerifyWYSIWYGEditorAndTinyMCEButtonsAcrossBrowserTabsTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
</actionGroup>
3838
<waitForPageLoad stepKey="waitForCMSPage"/>
3939
<switchToPreviousTab stepKey="switchToPreviousTab"/>
40-
<actionGroup ref="AdminExpandContentSectionActionGroup" stepKey="expandContentSection"/>
40+
<conditionalClick selector="{{CmsNewPagePageContentSection.header}}" dependentSelector="{{CmsNewPagePageContentSection.contentHeading}}" visible="false" stepKey="expandContentTabIfCollapsed"/>
4141
<actionGroup ref="AdminVerifyWYSIWYGEditorAndTinyMCEButtonsActionGroup" stepKey="verifyWYSIWYGEditorAndButtonsPresentInCurrentTab"/>
4242
<switchToNextTab stepKey="switchToNextTab"/>
43-
<actionGroup ref="AdminExpandContentSectionActionGroup" stepKey="expandContentSectionInAnotherTab"/>
43+
<conditionalClick selector="{{CmsNewPagePageContentSection.header}}" dependentSelector="{{CmsNewPagePageContentSection.contentHeading}}" visible="false" stepKey="againExpandContentTabIfCollapsed"/>
4444
<actionGroup ref="AdminVerifyWYSIWYGEditorAndTinyMCEButtonsActionGroup" stepKey="verifyWYSIWYGEditorAndButtonsPresentInAnotherTab"/>
4545
</test>
4646
</tests>

0 commit comments

Comments
 (0)