Skip to content

Commit 60f5b6d

Browse files
committed
Fixed Functional failing test AddNewProductAttributeInProductPageTest
1 parent 1eedff0 commit 60f5b6d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@
2121
<before>
2222
<!-- Login as admin -->
2323
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
24-
2524
<!-- remove the Filter From the page-->
2625
<actionGroup ref="ClearFiltersAdminProductGridActionGroup" stepKey="clearFilterFromProductIndex"/>
27-
2826
<!--Create Category-->
2927
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
3028

@@ -36,7 +34,8 @@
3634
<actionGroup ref="DeleteProductAttributeActionGroup" stepKey="deleteCreatedAttribute">
3735
<argument name="ProductAttribute" value="newProductAttribute"/>
3836
</actionGroup>
39-
37+
<actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductListing"/>
38+
<actionGroup ref="ResetProductGridToDefaultViewActionGroup" stepKey="resetGridToDefaultKeywordSearch"/>
4039
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
4140
</after>
4241

@@ -109,6 +108,9 @@
109108
<wait stepKey="waitPostClickingCheck" time="5"/>
110109
<actionGroup ref="ToggleAdminProductGridColumnsDropdownActionGroup" stepKey="closeColumnsDropdown"/>
111110

111+
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="filterProduct">
112+
<argument name="product" value="SimpleProduct"/>
113+
</actionGroup>
112114
<!-- Asserting the value of the created column -->
113115
<actionGroup ref="AssertAdminProductGridCellActionGroup" stepKey="seeCreatedAttributeColumn">
114116
<argument name="row" value="1"/>

0 commit comments

Comments
 (0)