Skip to content

Commit 5a450c7

Browse files
author
Cari Spruiell
committed
MC-2374: Create MFTF Tests
- updated merge tests with new Zephyr IDs - improve click steps
1 parent 9cad0e5 commit 5a450c7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/AdminActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<argument name="layoutOption"/>
7878
</arguments>
7979
<waitForElementVisible selector="{{designSection.DesignTab}}" stepKey="waitForDesignTabVisible"/>
80-
<conditionalClick selector="{{designSection.DesignTab}}" dependentSelector="{{designSection.DesignTab}}/parent::strong/parent::*[@data-state-collapsible='closed']" visible="true" stepKey="clickOnDesignTab"/>
80+
<conditionalClick selector="{{designSection.DesignTab}}" dependentSelector="{{designSection.LayoutDropdown}}" visible="false" stepKey="clickOnDesignTab"/>
8181
<waitForPageLoad stepKey="waitForPageLoadDesignTab"/>
8282
<waitForElementVisible selector="{{designSection.LayoutDropdown}}" stepKey="waitForLayoutDropDown" />
8383
<selectOption selector="{{designSection.LayoutDropdown}}" userInput="{{layoutOption}}" stepKey="selectLayout"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCreateCategoryTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<annotations>
1313
<description value="Admin should be able to configure the default layout for Category Page from System Configuration, verify the default is updated to the Page Builder's default layout"/>
1414
<useCaseId value="MC-936"/>
15+
<testCaseId value="MC-3105"/>
1516
<group value="pagebuilder"/>
1617
</annotations>
1718
<!-- PageBuilder is enabled so check default is full width -->
@@ -41,7 +42,7 @@
4142
</after>
4243
<!-- Add PageBuilder description -->
4344
<comment userInput="Add PageBuilder description" stepKey="commentAddDescription"/>
44-
<click selector="{{AdminCategoryContentSection.sectionHeader}}" stepKey="openContentSection"/>
45+
<conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{PageBuilderCatalog.openPageBuilder}}" visible="false" stepKey="openContentSection"/>
4546
<waitForPageLoad stepKey="waitForPageLoadContentSection"/>
4647
<waitForElementVisible selector="{{PageBuilderCatalog.openPageBuilder}}" stepKey="waitForPageBuilderBtn" />
4748
<see userInput="Edit with Page Builder" stepKey="seePageBuilderBtn"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCreateCmsPageTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<annotations>
2121
<description value="Admin should be able to configure the default layout for CMS Page from System Configuration using Page Builder's full width layouts"/>
2222
<useCaseId value="MC-936"/>
23+
<testCaseId value="MC-3106"/>
2324
<group value="pagebuilder"/>
2425
</annotations>
2526
<!-- PageBuilder is enabled so check default is full width -->

0 commit comments

Comments
 (0)