|
8 | 8 |
|
9 | 9 | <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
|
11 |
| - <test name="AdminImportProductsWithDeleteEntitiesTest"> |
| 11 | + <test name="AdminImportProductsWithDeleteBehaviorTest"> |
12 | 12 | <annotations>
|
13 | 13 | <description value="Verify Magento native import products with delete behavior."/>
|
14 | 14 | <stories value="Verify Magento native import products with delete behavior."/>
|
|
46 | 46 | <selectOption selector="{{AdminImportMainSection.importBehavior}}" userInput="Delete" stepKey="selectDeleteOption"/>
|
47 | 47 | <attachFile selector="{{AdminImportMainSection.selectFileToImport}}" userInput="catalog_products.csv" stepKey="attachFileForImport"/>
|
48 | 48 | <click selector="{{AdminImportHeaderSection.checkDataButton}}" stepKey="clickCheckDataButton"/>
|
49 |
| - <waitForAjaxLoad stepKey="waitForFileToImportProcessed"/> |
50 | 49 | <click selector="{{AdminImportMainSection.importButton}}" stepKey="clickImportButton"/>
|
51 |
| - <waitForAjaxLoad stepKey="waitForFileToImportProcessed1"/> |
52 | 50 | <see selector="{{AdminMessagesSection.successMessage}}" userInput="Import successfully done" stepKey="assertSuccessMessage"/>
|
53 |
| - <see selector="{{AdminImportMainSection.noticeMessage}}" userInput="Created: 0, Updated: 0, Deleted: 3" stepKey="assertNoticeMessage"/> |
| 51 | + <see selector="{{AdminMessagesSection.notice}}" userInput="Created: 0, Updated: 0, Deleted: 3" stepKey="assertNotice"/> |
54 | 52 | <actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchSimpleProductOnBackend">
|
55 | 53 | <argument name="product" value="$$createSimpleProduct$$"/>
|
56 | 54 | </actionGroup>
|
57 |
| - <see selector="{{AdminDataGridTableSection.dataGridNoData}}" userInput="We couldn't find any records." stepKey="assertDataGridNoDataMessage"/> |
| 55 | + <see selector="{{AdminDataGridTableSection.dataGridEmpty}}" userInput="We couldn't find any records." stepKey="assertDataGridEmptyMessage"/> |
58 | 56 | <actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchVirtualProductOnBackend">
|
59 | 57 | <argument name="product" value="$$createVirtualProduct$$"/>
|
60 | 58 | </actionGroup>
|
61 |
| - <see selector="{{AdminDataGridTableSection.dataGridNoData}}" userInput="We couldn't find any records." stepKey="assertDataGridNoDataMessage1"/> |
| 59 | + <see selector="{{AdminDataGridTableSection.dataGridEmpty}}" userInput="We couldn't find any records." stepKey="assertDataGridEmptyMessage1"/> |
62 | 60 | <actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchDownloadableProductOnBackend">
|
63 | 61 | <argument name="product" value="$$createDownloadableProduct$$"/>
|
64 | 62 | </actionGroup>
|
65 |
| - <see selector="{{AdminDataGridTableSection.dataGridNoData}}" userInput="We couldn't find any records." stepKey="assertDataGridNoDataMessage2"/> |
| 63 | + <see selector="{{AdminDataGridTableSection.dataGridEmpty}}" userInput="We couldn't find any records." stepKey="assertDataGridEmptyMessage2"/> |
66 | 64 | </test>
|
67 | 65 | </tests>
|
0 commit comments