]> source.dussan.org Git - sonarqube.git/blob
673504b67a7c7edbdfbf9914e37f9c7f4495fc00
[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>cannot_create_two_action_plan_with_same_name</title>
7 </head>
8 <body>
9 <table cellpadding="1" cellspacing="1" border="1">
10     <thead>
11     <tr>
12         <td rowspan="1" colspan="3">cannot_create_two_action_plan_with_same_name</td>
13     </tr>
14     </thead>
15     <tbody>
16     <tr>
17         <td>open</td>
18         <td>/sonar/sessions/new</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/action_plans/index/sample</td>
39         <td></td>
40     </tr>
41     <tr>
42         <td>waitForText</td>
43         <td>action-plans</td>
44         <td>*No action plan*</td>
45     </tr>
46     <tr>
47         <td>click</td>
48         <td>create-link-action_plans</td>
49         <td></td>
50     </tr>
51     <tr>
52         <td>waitForVisible</td>
53         <td>create-action-plan-form</td>
54         <td></td>
55     </tr>
56     <tr>
57         <td>assertText</td>
58         <td>css=#create-action-plan-form .modal-head</td>
59         <td>*Create Action Plan*</td>
60     </tr>
61     <tr>
62         <td>type</td>
63         <td>id=name</td>
64         <td>Sprint for 1.1</td>
65     </tr>
66     <tr>
67         <td>clickAndWait</td>
68         <td>css=input[type=&quot;submit&quot;]</td>
69         <td></td>
70     </tr>
71     <tr>
72         <td>waitForText</td>
73         <td>action-plans</td>
74         <td>*Sprint for 1.1*</td>
75     </tr>
76     <tr>
77         <td>click</td>
78         <td>create-link-action_plans</td>
79         <td></td>
80     </tr>
81     <tr>
82         <td>waitForVisible</td>
83         <td>create-action-plan-form</td>
84         <td></td>
85     </tr>
86     <tr>
87         <td>assertText</td>
88         <td>css=#create-action-plan-form .modal-head</td>
89         <td>*Create Action Plan*</td>
90     </tr>
91     <tr>
92         <td>type</td>
93         <td>id=name</td>
94         <td>Sprint for 1.1</td>
95     </tr>
96     <tr>
97         <td>click</td>
98         <td>css=input[type=&quot;submit&quot;]</td>
99         <td></td>
100     </tr>
101     <tr>
102         <td>waitForVisible</td>
103         <td>css=.modal-error</td>
104         <td>*An action plan with this name already exists in this project.*</td>
105     </tr>
106     <tr>
107         <td>clickAndWait</td>
108         <td>css=#create-action-plan-form .modal-foot .action</td>
109         <td></td>
110     </tr>
111     <tr>
112         <td>click</td>
113         <td>link=Delete</td>
114         <td></td>
115     </tr>
116     <tr>
117         <td>waitForVisible</td>
118         <td>confirm-form</td>
119         <td></td>
120     </tr>
121     <tr>
122         <td>assertText</td>
123         <td>confirm-form</td>
124         <td>*Delete Action Plan*</td>
125     </tr>
126     <tr>
127         <td>clickAndWait</td>
128         <td>confirm-submit</td>
129         <td></td>
130     </tr>
131     <tr>
132         <td>assertText</td>
133         <td>info</td>
134         <td>*Successfully deleted.*</td>
135     </tr>
136     <tr>
137         <td>assertNotText</td>
138         <td>action-plans</td>
139         <td>*Sprint for 1.1*</td>
140     </tr>
141     </tbody>
142 </table>
143 </body>
144 </html>