Skip to content

Commit ba6a5b1

Browse files
authored
ACQE-7334 : WYSIWYG is presented for content if page for edit is opened in new browser tab
did some changes
1 parent 45261c8 commit ba6a5b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
<amOnPage url="admin/cms/page/edit/page_id/1/" stepKey="open404PageInNewTab"/>
3434
<waitForPageLoad stepKey="waitForCMSPage"/>
3535
<switchToPreviousTab stepKey="switchToPreviousTab"/>
36-
<actionGroup ref="AdminExpandContentSectionActionGroup" stepKey="expandContentSection"/>
36+
<waitForPageLoad stepKey="waitForCMSPageToLoad2"/>
37+
<conditionalClick selector="{{CmsNewPagePageContentSection.header}}" dependentSelector="{{CmsNewPagePageContentSection.contentHeading}}" visible="false" stepKey="expandContentTabIfCollapsed"/>
3738
<waitForElementVisible selector="{{TinyMCESection.TinyMCE}}" stepKey="waitForTinyMCE"/>
3839
<click selector="{{TinyMCESection.ShowHideBtn}}" stepKey="clickShowHideBtn1" />
3940
<wait time="10" stepKey="k1"/>
@@ -44,7 +45,8 @@
4445

4546

4647
<switchToNextTab stepKey="switchToNextTab1"/>
47-
<actionGroup ref="AdminExpandContentSectionActionGroup" stepKey="expandContentSection1"/>
48+
<waitForPageLoad stepKey="waitForCMSPage45"/>
49+
<conditionalClick selector="{{CmsNewPagePageContentSection.header}}" dependentSelector="{{CmsNewPagePageContentSection.contentHeading}}" visible="false" stepKey="againExpandContentTabIfCollapsed"/>
4850
<waitForElementVisible selector="{{TinyMCESection.TinyMCE}}" stepKey="waitForTinyMCE1" />
4951
<click selector="{{TinyMCESection.ShowHideBtn}}" stepKey="clickShowHideBtn11" />
5052
<wait time="10" stepKey="k2"/>

0 commit comments

Comments
 (0)