Skip to content

Commit d7afa23

Browse files
shashikant.kumarshanthi
authored andcommitted
code fix for flaky test AddNewProductAttributeInProductPageTest
1 parent 67b0538 commit d7afa23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AddNewProductAttributeInProductPageTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@
100100

101101
<!--Click on Go Back button -->
102102
<click selector="{{AdminProductFormActionSection.backButton}}" stepKey="clickBackToGridSimple"/>
103-
103+
<!--Clear filter if available -->
104+
<conditionalClick selector="{{AdminGridFilterControls.clearAll}}" dependentSelector="{{AdminGridFilterControls.clearAll}}" visible="true" stepKey="clearTheFiltersIfPresent"/>
104105
<!-- Select created attribute as an column -->
105106
<actionGroup ref="ToggleAdminProductGridColumnsDropdownActionGroup" stepKey="openColumnsDropdown"/>
106107
<actionGroup ref="CheckAdminProductGridColumnOptionActionGroup" stepKey="checkCreatedAttributeColumn">

0 commit comments

Comments
 (0)