|
158 | 158 | <fillField selector="{{PageBuilderPanel.searchPanel}}" userInput="abcdef" stepKey="fillSearch"/>
|
159 | 159 | <see userInput="Nothing found" selector="{{PageBuilderPanel.nothingFound}}" stepKey="validateNothingFound"/>
|
160 | 160 | </test>
|
| 161 | + <test name="SearchSpecialCharactersInPanel"> |
| 162 | + <annotations> |
| 163 | + <features value="PageBuilder"/> |
| 164 | + <stories value="Panel"/> |
| 165 | + <title value="Search using special characters in PageBuilder Panel"/> |
| 166 | + <description value="When searching using regular expression special characters, assert no JS errors are produced."/> |
| 167 | + <severity value="CRITICAL"/> |
| 168 | + <useCaseId value="PB-61"/> |
| 169 | + <testCaseId value="MC-21478"/> |
| 170 | + <group value="pagebuilder"/> |
| 171 | + <group value="pagebuilder-panel"/> |
| 172 | + </annotations> |
| 173 | + <before> |
| 174 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 175 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 176 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 177 | + </before> |
| 178 | + <after> |
| 179 | + <actionGroup ref="logout" stepKey="logout"/> |
| 180 | + </after> |
| 181 | + <fillField selector="{{PageBuilderPanel.searchPanel}}" userInput="$" stepKey="fillSearchWithInvalidInput"/> |
| 182 | + <see userInput="Nothing found" selector="{{PageBuilderPanel.nothingFound}}" stepKey="validateNothingFound"/> |
| 183 | + <dontSeeJsError stepKey="dontSeeJsError"/> |
| 184 | + <fillField selector="{{PageBuilderPanel.searchPanel}}" userInput="Code" stepKey="fillCode"/> |
| 185 | + <see userInput="HTML Code" selector="{{PageBuilderPanel.searchResults}}" stepKey="validateCodeButtonShowsUp"/> |
| 186 | + </test> |
161 | 187 | <test name="ClearSearchInPanel">
|
162 | 188 | <annotations>
|
163 | 189 | <features value="PageBuilder"/>
|
|
0 commit comments