Skip to content

Commit f4bc355

Browse files
authored
ENGCOM-6621: MFTF: Set of fixes for failing Functional Tests #26407
2 parents 6b4a82b + 9cc0bb8 commit f4bc355

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
<waitForPageLoad stepKey="waitForDeleteItemPopup" time="10"/>
2828
<click stepKey="clickOnOk" selector="{{ProductsPageSection.ok}}"/>
2929
<waitForElementVisible stepKey="waitForSuccessfullyDeletedMessage" selector="{{ProductsPageSection.deletedSuccessMessage}}" time="10"/>
30+
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskDisappear"/>
3031
</actionGroup>
3132
</actionGroups>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<createData entity="_defaultProduct" stepKey="productTwo">
3030
<requiredEntity createDataKey="simpleSubCategoryOne"/>
3131
</createData>
32+
<magentoCLI command="cron:run --group=index" stepKey="runIndexerCron"/>
3233
</before>
3334
<after>
3435
<actionGroup ref="logout" stepKey="logoutAdminUserAfterTest"/>
@@ -119,4 +120,4 @@
119120
<see selector="{{StorefrontNavigationSection.breadcrumbs}}" userInput="$$simpleSubCategoryOne.name$$" stepKey="seeSubCategoryWithParentInBreadcrumbsOnSubCategoryWithParent3"/>
120121
<see selector="{{StorefrontNavigationSection.breadcrumbs}}" userInput="$$productOne.name$$" stepKey="seeProductInBreadcrumbsOnSubCategoryOne3"/>
121122
</test>
122-
</tests>
123+
</tests>

app/code/Magento/Customer/Test/Mftf/ActionGroup/DeleteCustomerActionGroup.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<arguments>
1616
<argument name="lastName" defaultValue=""/>
1717
</arguments>
18-
18+
1919
<!--Clear filter if exist-->
2020
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="navigateToCustomers"/>
2121
<conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clearExistingCustomerFilters"/>
@@ -28,16 +28,17 @@
2828
<waitForPageLoad stepKey="waitForDeleteItemPopup" time="10"/>
2929
<click stepKey="clickOnOk" selector="{{CustomersPageSection.ok}}"/>
3030
<waitForElementVisible stepKey="waitForSuccessfullyDeletedMessage" selector="{{CustomersPageSection.deletedSuccessMessage}}" time="10"/>
31+
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskDisappear"/>
3132
</actionGroup>
32-
33+
3334
<actionGroup name="DeleteCustomerByEmailActionGroup">
3435
<annotations>
3536
<description>Goes to the Admin Customers grid page. Deletes a Customer based on the provided Email Address.</description>
3637
</annotations>
3738
<arguments>
3839
<argument name="email" type="string"/>
3940
</arguments>
40-
41+
4142
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="navigateToCustomers"/>
4243
<waitForPageLoad stepKey="waitForAdminCustomerPageLoad"/>
4344
<click selector="{{AdminCustomerFiltersSection.filtersButton}}" stepKey="clickFilterButton"/>
@@ -51,6 +52,7 @@
5152
<click selector="{{CustomersPageSection.delete}}" stepKey="clickDelete"/>
5253
<waitForElementVisible selector="{{CustomersPageSection.ok}}" stepKey="waitForOkToVisible"/>
5354
<click selector="{{CustomersPageSection.ok}}" stepKey="clickOkConfirmationButton"/>
54-
<waitForElementVisible stepKey="waitForSuccessfullyDeletedMessage" selector="{{CustomersPageSection.deletedSuccessMessage}}" time="30"/>
55+
<waitForElementVisible stepKey="waitForSuccessfullyDeletedMessage" selector="{{CustomersPageSection.deletedSuccessMessage}}" time="10"/>
56+
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskDisappear"/>
5557
</actionGroup>
5658
</actionGroups>

0 commit comments

Comments
 (0)