]> source.dussan.org Git - sonarqube.git/blob
20d7fbbd72543ae83f8cd59fba2281135f7b2229
[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>bulk-update-success</title>
7 </head>
8 <body>
9 <table cellpadding="1" cellspacing="1" border="1">
10     <tbody>
11     <tr>
12         <td>open</td>
13         <td>/sonar/sessions/logout</td>
14         <td></td>
15 </tr>
16 <tr>
17         <td>open</td>
18         <td>/sonar/sessions/login</td>
19         <td></td>
20 </tr>
21 <tr>
22         <td>type</td>
23         <td>login</td>
24         <td>admin</td>
25 </tr>
26 <tr>
27         <td>type</td>
28         <td>password</td>
29         <td>admin</td>
30 </tr>
31 <tr>
32         <td>clickAndWait</td>
33         <td>commit</td>
34         <td></td>
35 </tr>
36 <tr>
37         <td>open</td>
38         <td>/sonar/dashboard/index/com.sonarsource.it.samples:multi-modules-sample</td>
39         <td></td>
40 </tr>
41 <tr>
42     <td>click</td>
43     <td>css=#context-navigation .navbar-admin-link</td>
44     <td></td>
45 </tr>
46 <tr>
47         <td>waitForElementPresent</td>
48         <td>link=Update Key</td>
49         <td></td>
50 </tr>
51 <tr>
52         <td>clickAndWait</td>
53         <td>link=Update Key</td>
54         <td></td>
55 </tr>
56 <tr>
57         <td>type</td>
58         <td>id=string_to_replace</td>
59         <td>com.sonarsource</td>
60 </tr>
61 <tr>
62         <td>type</td>
63         <td>id=replacement_string</td>
64         <td>org.sonar</td>
65 </tr>
66 <tr>
67         <td>clickAndWait</td>
68         <td>id=bulk_update_button</td>
69         <td></td>
70 </tr>
71 <tr>
72         <td>assertText</td>
73         <td>content</td>
74         <td>*Do you really want to perform the bulk update on project keys?*</td>
75 </tr>
76 <tr>
77         <td>assertText</td>
78         <td>content</td>
79         <td>*com.sonarsource.it.samples:multi-modules-sample*org.sonar.it.samples:multi-modules-sample*</td>
80 </tr>
81 <tr>
82         <td>assertText</td>
83         <td>content</td>
84         <td>*com.sonarsource.it.samples:multi-modules-sample:module_a*org.sonar.it.samples:multi-modules-sample:module_a*</td>
85 </tr>
86 <tr>
87         <td>clickAndWait</td>
88         <td>id=bulk_update_button</td>
89         <td></td>
90 </tr>
91 <tr>
92         <td>assertText</td>
93         <td>content</td>
94         <td>*The key has successfully been updated for all required resources.*</td>
95 </tr>
96 <tr>
97         <td>assertText</td>
98         <td>content</td>
99         <td>*org.sonar.it.samples:multi-modules-sample*</td>
100 </tr>
101 <tr>
102         <td>assertTextNotPresent</td>
103         <td>content</td>
104         <td>*com.sonarsource.it.samples:multi-modules-sample*</td>
105 </tr>
106 </tbody>
107 </table>
108 </body>
109 </html>