|
23 | 23 | <after>
|
24 | 24 | <actionGroup ref="logout" stepKey="logout"/>
|
25 | 25 | </after>
|
26 |
| - |
27 |
| - <!-- TEST BODY --> |
28 |
| - <!-- Navigate To Integrations Page --> |
| 26 | + |
29 | 27 | <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToIntegrationsPage">
|
30 | 28 | <argument name="menuUiId" value="{{AdminMenuSystem.dataUiId}}"/>
|
31 | 29 | <argument name="submenuUiId" value="{{AdminMenuSystemExtensionsIntegrations.dataUiId}}"/>
|
32 | 30 | </actionGroup>
|
33 |
| - <!-- Click the "Add New Integration" button --> |
34 | 31 | <actionGroup ref="AdminNavigateToCreateIntegrationPageActionGroup" stepKey="clickAddNewIntegrationButton"/>
|
35 |
| - <!-- Create New Integration --> |
36 | 32 | <actionGroup ref="AdminCreatesNewIntegrationActionGroup" stepKey="createNewIntegration">
|
37 | 33 | <argument name="name" value="Integration1"/>
|
38 | 34 | <argument name="password" value="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
|
39 | 35 | </actionGroup>
|
40 |
| - <!-- Submit The Form --> |
41 | 36 | <actionGroup ref="AdminSubmitNewIntegrationFormActionGroup" stepKey="submitTheForm"/>
|
42 |
| - <!-- Click the "Add New Integration" button --> |
43 | 37 | <actionGroup ref="AdminNavigateToCreateIntegrationPageActionGroup" stepKey="clickAddNewIntegrationButtonSecondTime"/>
|
44 |
| - <!-- Create New Integration With Duplicated Name--> |
45 | 38 | <actionGroup ref="AdminCreatesNewIntegrationActionGroup" stepKey="createNewIntegrationWithDuplicatedName">
|
46 | 39 | <argument name="name" value="Integration1"/>
|
47 | 40 | <argument name="password" value="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
|
48 | 41 | </actionGroup>
|
49 |
| - <!-- Submit The Form --> |
50 | 42 | <actionGroup ref="AdminSubmitNewIntegrationFormActionGroup" stepKey="submitTheFormWithDuplicatedName"/>
|
51 |
| - <!-- See Error Message--> |
52 | 43 | <actionGroup ref="AssertAdminMessageCreateIntegrationEntityActionGroup" stepKey="seeErrorMessage">
|
53 | 44 | <argument name="message" value="The integration with name "Integration1" exists."/>
|
54 | 45 | <argument value="error" name="messageType"/>
|
55 | 46 | </actionGroup>
|
56 |
| - <!-- END TEST BODY --> |
57 | 47 | </test>
|
58 | 48 | </tests>
|
0 commit comments