Skip to content

Commit 393a130

Browse files
committed
[ACQE-7331] [ACPT-820] [TEST] Two imports from admin in parallel
fixed review comments
1 parent 85f271d commit 393a130

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/code/Magento/ImportExport/Test/Mftf/ActionGroup/AdminImportButtonClickActionGroup.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<argument name="importMessageType" type="string" defaultValue="success"/>
1818
<argument name="importMessage" type="string" defaultValue="Import successfully done"/>
1919
</arguments>
20-
<waitForElementVisible selector="{{AdminImportMainSection.importButton}}" stepKey="waitForImportButtonElementVisible"/>
20+
<waitForElementClickable selector="{{AdminImportMainSection.importButton}}" stepKey="waitForImportButtonElementClickable"/>
2121
<click selector="{{AdminImportMainSection.importButton}}" stepKey="clickImportButton"/>
2222
<waitForElementVisible selector="{{AdminImportValidationMessagesSection.notice}}" stepKey="waitForNoticeMessage"/>
23-
<see selector="{{AdminImportValidationMessagesSection.notice}}" userInput="{{importNoticeMessage}}" stepKey="seeNoticeMessage"/>
24-
<see selector="{{AdminImportValidationMessagesSection.messageByType(importMessageType)}}" userInput="{{importMessage}}" stepKey="seeImportMessage"/>
23+
<waitForText selector="{{AdminImportValidationMessagesSection.notice}}" userInput="{{importNoticeMessage}}" stepKey="seeNoticeMessage"/>
24+
<waitForText selector="{{AdminImportValidationMessagesSection.messageByType(importMessageType)}}" userInput="{{importMessage}}" stepKey="seeImportMessage"/>
2525
</actionGroup>
2626
</actionGroups>
2727

app/code/Magento/ImportExport/Test/Mftf/Test/AdminTwoImportProductsInParallelTest.xml renamed to app/code/Magento/ImportExport/Test/Mftf/Test/AdminImportTwoProductsInParallelTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="AdminTwoImportProductsInParallelTest">
11+
<test name="AdminImportTwoProductsInParallelTest">
1212
<annotations>
1313
<features value="Import/Export"/>
1414
<stories value="Import Products"/>
@@ -34,7 +34,7 @@
3434
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/>
3535
</after>
3636
<!-- Navigate to the Import page in the admin panel -->
37-
<amOnPage url="{{AdminImportIndexPage.url}}" stepKey="goToImportIndexPage"/>
37+
<actionGroup ref="AdminNavigateToImportPageActionGroup" stepKey="goToImportIndexPage"/>
3838
<!-- Set import settings: Entity Type > Product, Import Behavior > Add/Update,
3939
Select File to Import > press "Check Data" and Validate Message -->
4040
<actionGroup ref="AdminImportDataCheckActionGroup" stepKey="adminImportButtonVisible">

0 commit comments

Comments
 (0)