forked from magento/magento2-functional-testing-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMergeFunctionalTest.xml
58 lines (57 loc) · 2.36 KB
/
MergeFunctionalTest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
<test name="BasicMergeTest">
<annotations>
<severity value="CRITICAL"/>
<title value="A Functional Cest"/>
<group value="functional"/>
<features value="Merge Functional Cest"/>
<stories value="MQE-433"/>
</annotations>
<before>
<amOnPage url="/beforeUrl" stepKey="before1"/>
</before>
<after>
<amOnPage url="/afterUrl" stepKey="after1"/>
</after>
<amOnPage stepKey="step1" url="/step1"/>
<fillField stepKey="step3" selector="#username" userInput="step3"/>
<fillField stepKey="step5" selector="#password" userInput="step5"/>
<click stepKey="step6" selector=".step6"/>
<click stepKey="step10" selector="#step10ShouldNotInResult"/>
</test>
<test name="MergedReferencesTest">
<annotations>
<severity value="CRITICAL"/>
<title value="A Functional Cest"/>
<group value="functional"/>
<features value="Merge Functional Cest"/>
<stories value="MQE-433"/>
</annotations>
<before>
<amOnPage url="/beforeUrl" stepKey="before1"/>
</before>
<after>
<amOnPage url="/afterUrl" stepKey="after1"/>
</after>
<fillField stepKey="fillField1" selector="{{SampleSection.mergeElement}}" userInput="{{DefaultPerson.mergedField}}"/>
<fillField stepKey="fillField2" selector="{{SampleSection.newElement}}" userInput="{{DefaultPerson.newField}}" />
</test>
<test name="MergeMassViaInsertBefore" insertBefore="fillField2">
<click stepKey="clickOne" selector="#mergeOne"/>
<click stepKey="clickTwo" selector="#mergeTwo"/>
<click stepKey="clickThree" selector="#mergeThree"/>
</test>
<test name="MergeMassViaInsertAfter" insertAfter="fillField2">
<click stepKey="clickOne" selector="#mergeOne"/>
<click stepKey="clickTwo" selector="#mergeTwo"/>
<click stepKey="clickThree" selector="#mergeThree"/>
</test>
</tests>