]> source.dussan.org Git - sonarqube.git/blob
d1d083a96d8248a28d71fcb956797acf7b624264
[sonarqube.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head profile="http://selenium-ide.openqa.org/profiles/test-case">
5     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6     <title>organisation_must_not_accept_special_chars</title>
7 </head>
8 <body>
9 <table cellpadding="1" cellspacing="1" border="1">
10     <tbody>
11     <tr>
12         <td>open</td>
13         <td>/sessions/new</td>
14         <td></td>
15     </tr>
16     <tr>
17         <td>type</td>
18         <td>login</td>
19         <td>admin</td>
20     </tr>
21     <tr>
22         <td>type</td>
23         <td>password</td>
24         <td>admin</td>
25     </tr>
26     <tr>
27         <td>clickAndWait</td>
28         <td>commit</td>
29         <td></td>
30     </tr>
31     <tr>
32         <td>open</td>
33         <td>/settings/index</td>
34         <td></td>
35     </tr>
36     <tr>
37         <td>clickAndWait</td>
38         <td>link=Licenses</td>
39         <td></td>
40     </tr>
41     <tr>
42         <td>clickAndWait</td>
43         <td>link=Server ID</td>
44         <td></td>
45     </tr>
46     <tr>
47         <td>selectFrame</td>
48         <td>settings_iframe</td>
49         <td></td>
50     </tr>
51     <tr>
52         <td>storeText</td>
53         <td>address_0</td>
54         <td>valid_ip</td>
55     </tr>
56     <tr>
57         <td>type</td>
58         <td>name=organisation</td>
59         <td>Name with invalid chars like $</td>
60     </tr>
61     <tr>
62         <td>type</td>
63         <td>name=address</td>
64         <td>${valid_ip}</td>
65     </tr>
66     <tr>
67         <td>clickAndWait</td>
68         <td>generate-button</td>
69         <td></td>
70     </tr>
71     <tr>
72         <td>assertElementPresent</td>
73         <td>error</td>
74         <td></td>
75     </tr>
76     <tr>
77         <td>waitForText</td>
78         <td>error</td>
79         <td>*Organisation does not match the required pattern.*</td>
80     </tr>
81     <tr>
82         <td>assertElementNotPresent</td>
83         <td>server_id</td>
84         <td></td>
85     </tr>
86     </tbody>
87 </table>
88 </body>
89 </html>