Skip to content

Commit f5a11f8

Browse files
committed
MC-38349: Create automated test for SVC changes
- added mftf exmamples
1 parent bc42a8d commit f5a11f8

File tree

2 files changed

+49
-0
lines changed
  • tests/Unit/Console/Command/CompareSourceCommandTest/_files/all
    • source-code-after/mftf/suite-after-action-changed/Magento/TestModule/Test/Mftf/Suite
    • source-code-before/mftf/suite-after-action-changed/Magento/TestModule/Test/Mftf/Suite

2 files changed

+49
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
<suites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Suite/etc/suiteSchema.xsd">
9+
<suite name="SampleSuite">
10+
<before>
11+
<amOnPage stepKey="a" url="a"/>
12+
<click stepKey="b" userInput="a" selector="a"/>
13+
<actionGroup stepKey="c" ref="ag"/>
14+
</before>
15+
<after>
16+
<amOnPage stepKey="x" url="new"/>
17+
<click stepKey="y" userInput="a" selector="a"/>
18+
<actionGroup stepKey="z" ref="ag"/>
19+
</after>
20+
<include>
21+
<group name="group1"/>
22+
</include>
23+
</suite>
24+
</suites>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
<suites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Suite/etc/suiteSchema.xsd">
9+
<suite name="SampleSuite">
10+
<before>
11+
<amOnPage stepKey="a" url="a"/>
12+
<click stepKey="b" userInput="a" selector="a"/>
13+
<actionGroup stepKey="c" ref="ag"/>
14+
</before>
15+
<after>
16+
<amOnPage stepKey="x" url="a"/>
17+
<click stepKey="y" userInput="a" selector="a"/>
18+
<actionGroup stepKey="z" ref="ag"/>
19+
</after>
20+
<include>
21+
<group name="group1"/>
22+
</include>
23+
</suite>
24+
</suites>
25+

0 commit comments

Comments
 (0)