forked from magento/magento2-functional-testing-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCharacterReplacementTest.xml
21 lines (20 loc) · 1.47 KB
/
CharacterReplacementTest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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="CharacterReplacementTest">
<click stepKey="charsInSectionElement" selector="{{SampleSection.underscore_element}}"/>
<fillField stepKey="charsInDataRef" selector="{{SampleSection.underscore_element}}" userInput="{{simpleData.street[0]}}"/>
<click stepKey="allChars1" selector="{{SampleSection.oneParamElement('abcdefghijklmnopqrstuvwxyz1234567890')}}"/>
<click stepKey="allChars2" selector="{{SampleSection.oneParamElement('`~!@#$%^&*()-_=+{}[]|\;:".,></?()$213., ')}}"/>
<click stepKey="allChars3" selector="{{SampleSection.oneParamElement('words, and, commas, and, spaces')}}"/>
<click stepKey="allChars4" selector="{{SampleSection.twoParamElement('abcdefghijklmnopqrstuvwxyz1234567890','abcdefghijklmnopqrstuvwxyz1234567890')}}"/>
<click stepKey="allChars5" selector="{{SampleSection.twoParamElement('`~!@#$%^&*()-_=+{}[]|\;:".,></?()','`~!@#$%^&*()-_=+{}[]|\;:".,></?()')}}"/>
<click stepKey="allChars6" selector="{{SampleSection.twoParamElement('words, and, commas, and, spaces', 'words, and, commas, and, spaces')}}"/>
</test>
</tests>