Skip to content

Commit ba5b1ba

Browse files
committed
MAGETWO-99203: [FT] [MFTF] AdminExportSimpleProductAndConfigurableProductsWithAssignedImagesTest fails because of bad design
1 parent 088a308 commit ba5b1ba

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/CatalogImportExport/Test/Mftf/ActionGroup/AdminExportActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
<argument name="rowIndex" type="string"/>
5555
</arguments>
5656
<reloadPage stepKey="refreshPage"/>
57-
<waitForPageLoad stepKey="waitFormReload"/>
57+
<waitForPageLoad time="30" stepKey="waitFormReload"/>
5858
<click stepKey="clickSelectBtn" selector="{{AdminExportAttributeSection.selectByIndex(rowIndex)}}"/>
5959
<click stepKey="clickOnDelete" selector="{{AdminExportAttributeSection.delete(rowIndex)}}" after="clickSelectBtn"/>
6060
<waitForElementVisible selector="{{AdminProductGridConfirmActionSection.title}}" stepKey="waitForConfirmModal"/>
6161
<click selector="{{AdminProductGridConfirmActionSection.ok}}" stepKey="confirmDelete"/>
62-
<waitForPageLoad stepKey="waitForExportDataDeleted" />
62+
<waitForElementVisible selector="{{AdminDataGridTableSection.dataGridEmpty}}" stepKey="waitDataGridEmptyMessageAppears"/>
6363
<see selector="{{AdminDataGridTableSection.dataGridEmpty}}" userInput="We couldn't find any records." stepKey="assertDataGridEmptyMessage"/>
6464
</actionGroup>
6565
</actionGroups>

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportSimpleProductAndConfigurableProductsWithAssignedImagesTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115

116116
<!-- Go to export page -->
117117
<amOnPage url="{{AdminExportIndexPage.url}}" stepKey="goToExportIndexPage"/>
118-
<waitForPageLoad stepKey="waitForExportIndexPageLoad"/>
119118

120119
<!-- Fill entity attributes data -->
121120
<actionGroup ref="exportProductsFilterByAttribute" stepKey="exportProductBySku">

0 commit comments

Comments
 (0)