Skip to content

Commit ed80f5a

Browse files
shashikant.kumarshashikant.kumar
authored andcommitted
AC-4948:modified element in CmsNewWidgetUpdateLayoutSection
1 parent 67392f6 commit ed80f5a

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminOpenCreateNewWidgetsOfCMSStaticBlockActionGroup.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@
3838
<selectOption selector="{{CmsNewWidgetUpdateLayoutSection.SpecificCategories}}" userInput="Specific Categories" stepKey="selectSpecificCategoryRadioButton"/>
3939
<click selector="{{CmsNewWidgetUpdateLayoutSection.CategoryChooserButton}}" stepKey="clickCategoryChooserButton"/>
4040
<waitForPageLoad stepKey="waitForRootCategoryToLoad"/>
41-
<click selector="{{CmsNewWidgetUpdateLayoutSection.RootCat(RootCat)}}" stepKey="clickRootCat"/>
41+
<click selector="{{CmsNewWidgetUpdateLayoutSection.BranchCat(RootCat)}}" stepKey="clickRootCat"/>
4242
<waitForPageLoad stepKey="waitForRootCategoryToExpand"/>
43-
<click selector="{{CmsNewWidgetUpdateLayoutSection.FirstSubCat(FirstSubCat)}}" stepKey="clickFirstSubCat"/>
43+
<click selector="{{CmsNewWidgetUpdateLayoutSection.BranchCat(FirstSubCat)}}" stepKey="clickFirstSubCat"/>
4444
<waitForPageLoad stepKey="waitForFirstSubCatToExpand"/>
45-
<click selector="{{CmsNewWidgetUpdateLayoutSection.SecondSubCat(SecondSubCat)}}" stepKey="expandSecondSubCat"/>
45+
<click selector="{{CmsNewWidgetUpdateLayoutSection.BranchCat(SecondSubCat)}}" stepKey="expandSecondSubCat"/>
4646
<waitForPageLoad stepKey="waitForSecondSubCatToExpand"/>
47-
<click selector="{{CmsNewWidgetUpdateLayoutSection.ThirdSubCat(ThirdSubCat)}}" stepKey="expandThirdFirstSubCat"/>
47+
<click selector="{{CmsNewWidgetUpdateLayoutSection.BranchCat(ThirdSubCat)}}" stepKey="expandThirdFirstSubCat"/>
4848
<waitForPageLoad stepKey="waitForThirdSubCatToExpand"/>
49-
<click selector="{{CmsNewWidgetUpdateLayoutSection.FourthSubCat(FourthSubCat)}}" stepKey="expandFourthSubCat"/>
49+
<click selector="{{CmsNewWidgetUpdateLayoutSection.BranchCat(FourthSubCat)}}" stepKey="expandFourthSubCat"/>
5050
<waitForPageLoad stepKey="waitForFourthSubCatToExpand"/>
51-
<click selector="{{CmsNewWidgetUpdateLayoutSection.FifthSubCat(FifthSubCat)}}" stepKey="expandFifthSubCat"/>
51+
<click selector="{{CmsNewWidgetUpdateLayoutSection.BranchCat(FifthSubCat)}}" stepKey="expandFifthSubCat"/>
5252
<waitForPageLoad stepKey="waitForFifthSubCatToExpand"/>
5353
<grabMultiple selector="{{CmsNewWidgetUpdateLayoutSection.CountAllNestedCat}}" stepKey="countNestedCategory"/>
5454
<assertCount stepKey="check">

app/code/Magento/Cms/Test/Mftf/Section/TinyMCESection/CmsNewWidgetUpdateLayoutSection.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@
1414
<element name="Template" type="button" selector="#all_pages_0 > table > tbody > tr > td:nth-child(2) > div > div > select"/>
1515
<element name="SpecificCategories" type="button" selector="//input[@id='specific_anchor_categories_0']"/>
1616
<element name="CategoryChooserButton" type="button" selector="//*[@id='anchor_categories_ids_0']/p/a[1]/img"/>
17-
<element name="RootCat" type="button" selector="//a/span[contains(text(),'{{var}}')]/../..//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" parameterized="true"/>
18-
<element name="FirstSubCat" type="button" selector="//a/span[contains(text(),'{{var1}}')]/../..//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" parameterized="true"/>
19-
<element name="SecondSubCat" type="button" selector="//a/span[contains(text(),'{{var2}}')]/../..//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" parameterized="true"/>
20-
<element name="ThirdSubCat" type="button" selector="//a/span[contains(text(),'{{var3}}')]/../..//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" parameterized="true"/>
21-
<element name="FourthSubCat" type="button" selector="//a/span[contains(text(),'{{var4}}')]/../..//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" parameterized="true"/>
22-
<element name="FifthSubCat" type="button" selector="//a/span[contains(text(),'{{var5}}')]/../..//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" parameterized="true"/>
17+
<element name="BranchCat" type="button" selector="//a/span[contains(text(),'{{var}}')]/../..//img[@class='x-tree-ec-icon x-tree-elbow-end-plus']" parameterized="true"/>
2318
<element name="CountAllNestedCat" type="button" selector="//*[@class='x-tree-ec-icon x-tree-elbow-end-minus' or @class='x-tree-ec-icon x-tree-elbow-end']"/>
2419
</section>
2520
</sections>

0 commit comments

Comments
 (0)