File tree Expand file tree Collapse file tree 3 files changed +28
-4
lines changed
app/code/Magento/ProductVideo/Test/Mftf Expand file tree Collapse file tree 3 files changed +28
-4
lines changed 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
+ <actionGroup name =" AdminFillProductVideoFieldActionGroup" >
12
+ <arguments >
13
+ <argument name =" input" type =" string" />
14
+ <argument name =" value" type =" string" />
15
+ </arguments >
16
+
17
+ <fillField selector =" {{input}}" userInput =" {{value}}" stepKey =" fillVideoField" />
18
+ </actionGroup >
19
+ </actionGroups >
20
+
21
+
22
+
Original file line number Diff line number Diff line change 8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
- <actionGroup name =" AdminAssertVideoValidationErrorActionGroup " >
11
+ <actionGroup name =" AssertAdminVideoValidationErrorActionGroup " >
12
12
<arguments >
13
13
<argument name =" inputName" type =" string" />
14
14
<argument name =" errorMessage" type =" string" defaultValue =" This is a required field." />
Original file line number Diff line number Diff line change 30
30
</actionGroup >
31
31
<actionGroup ref =" AdminOpenProductVideoModalActionGroup" stepKey =" openAddProductVideoModal" />
32
32
<actionGroup ref =" AdminGetVideoInformationActionGroup" stepKey =" clickOnGetVideoInformation" />
33
- <actionGroup ref =" AdminAssertVideoValidationErrorActionGroup " stepKey =" seeUrlValidationMessage" >
33
+ <actionGroup ref =" AssertAdminVideoValidationErrorActionGroup " stepKey =" seeUrlValidationMessage" >
34
34
<argument name =" inputName" value =" video_url" />
35
35
</actionGroup >
36
- <fillField selector =" {{AdminProductNewVideoSection.videoUrlTextField}}"
37
- userInput =" {{mftfTestProductVideo.videoUrl}}" stepKey =" fillFieldVideoUrl" />
36
+ <actionGroup ref =" AdminFillProductVideoFieldActionGroup" stepKey =" fillVideoUrlField" >
37
+ <argument name =" input" value =" {{AdminProductNewVideoSection.videoUrlTextField}}" />
38
+ <argument name =" value" value =" {{mftfTestProductVideo.videoUrl}}" />
39
+ </actionGroup >
38
40
<actionGroup ref =" AdminGetVideoInformationActionGroup" stepKey =" clickOnGetVideoInformation2" />
39
41
<actionGroup ref =" AdminAssertVideoNoValidationErrorActionGroup" stepKey =" dontSeeUrlValidationMessage" >
40
42
<argument name =" inputName" value =" video_url" />
You can’t perform that action at this time.
0 commit comments