Skip to content

Commit b57fff1

Browse files
committed
Fixed failing test AddNewProductAttributeInProductPageTest
1 parent a2e837e commit b57fff1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
<!-- Login as admin -->
2323
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2424

25-
<!-- remove the Filter From the page-->
26-
<actionGroup ref="ClearFiltersAdminProductGridActionGroup" stepKey="clearFilterFromProductIndex"/>
27-
2825
<!--Create Category-->
2926
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
3027

@@ -36,7 +33,8 @@
3633
<actionGroup ref="DeleteProductAttributeActionGroup" stepKey="deleteCreatedAttribute">
3734
<argument name="ProductAttribute" value="newProductAttribute"/>
3835
</actionGroup>
39-
36+
<actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductListing"/>
37+
<actionGroup ref="ResetProductGridToDefaultViewActionGroup" stepKey="resetGridToDefaultKeywordSearch"/>
4038
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
4139
</after>
4240

@@ -109,6 +107,9 @@
109107
<wait stepKey="waitPostClickingCheck" time="5"/>
110108
<actionGroup ref="ToggleAdminProductGridColumnsDropdownActionGroup" stepKey="closeColumnsDropdown"/>
111109

110+
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="filterProduct">
111+
<argument name="product" value="SimpleProduct"/>
112+
</actionGroup>
112113
<!-- Asserting the value of the created column -->
113114
<actionGroup ref="AssertAdminProductGridCellActionGroup" stepKey="seeCreatedAttributeColumn">
114115
<argument name="row" value="1"/>

0 commit comments

Comments
 (0)