File tree Expand file tree Collapse file tree 4 files changed +27
-6
lines changed
app/code/Magento/Integration/Test/Mftf Expand file tree Collapse file tree 4 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 17
17
</arguments >
18
18
<fillField stepKey =" fillNameField" selector =" {{AddNewIntegrationSection.name}}" userInput =" {{name}}" />
19
19
<fillField stepKey =" fillAdminPasswordField" selector =" {{AddNewIntegrationSection.password}}" userInput =" {{password}}" />
20
- <!-- Click the "Save" Button -->
21
- <click stepKey =" clickSaveButton" selector =" {{AddNewIntegrationSection.saveButton}}" />
22
20
</actionGroup >
23
21
</actionGroups >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+
12
+ <actionGroup name =" AdminSubmitNewIntegrationFormActionGroup" >
13
+ <!-- Click the "Save" Button -->
14
+ <click stepKey =" clickSaveButton" selector =" {{AddNewIntegrationSection.saveButton}}" />
15
+ <waitForPageLoad stepKey =" waitForPageLoad" />
16
+ </actionGroup >
17
+ </actionGroups >
Original file line number Diff line number Diff line change 9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
10
10
11
11
<section name =" IntegrationsGridSection" >
12
- <element name =" add" type =" button" selector =" .add" />
12
+ <element name =" add" type =" button" selector =" .page-actions . add" />
13
13
<element name =" messageByType" type =" block" selector =" #messages .message-{{messageType}}" parameterized =" true" />
14
- <element name =" name" type =" input" selector =" #integrationGrid_filter_name" />
14
+ <element name =" name" type =" input" selector =" .data-grid-filters #integrationGrid_filter_name" />
15
15
<element name =" search" type =" input" selector =" .admin__filter-actions button[title=Search]" />
16
- <element name =" remove" type =" button" selector =" .delete" />
16
+ <element name =" remove" type =" button" selector =" .data-grid . delete" />
17
17
<element name =" submitButton" type =" button" selector =" .action-primary.action-accept" timeout =" 30" />
18
18
<element name =" rowByIndex" type =" text" selector =" tr[data-role='row']:nth-of-type({{var1}})" parameterized =" true" timeout =" 30" />
19
+ <element name =" edit" type =" button" selector =" .data-grid .edit" />
19
20
</section >
20
21
21
22
<section name =" AddNewIntegrationSection" >
22
23
<element name =" name" type =" input" selector =" #integration_properties_name" />
23
24
<element name =" password" type =" input" selector =" #integration_properties_current_password" />
24
- <element name =" saveButton" type =" button" selector =" #save-split-button-button" />
25
+ <element name =" saveButton" type =" button" selector =" .page-actions #save-split-button-button" />
26
+ <element name =" endpoint" type =" input" selector =" #integration_properties_endpoint" />
27
+ <element name =" linkUrl" type =" input" selector =" #integration_properties_identity_link_url" />
28
+ <element name =" save" type =" button" selector =" .page-actions-buttons .save" />
25
29
</section >
26
30
</sections >
Original file line number Diff line number Diff line change 32
32
<argument name =" name" value =" Integration1" />
33
33
<argument name =" password" value =" {{_ENV.MAGENTO_ADMIN_PASSWORD}}" />
34
34
</actionGroup >
35
+ <!-- Submit The Form -->
36
+ <actionGroup ref =" AdminSubmitNewIntegrationFormActionGroup" stepKey =" submitTheForm" />
35
37
</before >
36
38
<after >
37
39
<actionGroup ref =" logout" stepKey =" logout" />
You can’t perform that action at this time.
0 commit comments