]> source.dussan.org Git - sonarqube.git/blob
cbcc3685da8c0998fbfb6b96079f255978badf89
[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>should_save_issue_filters</title>
7 </head>
8 <body>
9 <table cellpadding="1" cellspacing="1" border="1">
10 <tbody>
11 <tr>
12         <td>storeEval</td>
13         <td>'filter_'+(new Date()).getTime()</td>
14         <td>FILTER_NAME</td>
15 </tr>
16 <tr>
17     <td>open</td>
18     <td>/sessions/logout</td>
19         <td></td>
20 </tr>
21 <tr>
22         <td>open</td>
23         <td>/sessions/new</td>
24         <td></td>
25 </tr>
26 <tr>
27         <td>type</td>
28         <td>login</td>
29         <td>user-measures-filter-with-no-share-perm</td>
30 </tr>
31 <tr>
32         <td>type</td>
33         <td>password</td>
34         <td>password</td>
35 </tr>
36 <tr>
37         <td>clickAndWait</td>
38         <td>commit</td>
39         <td></td>
40 </tr>
41 <tr>
42         <td>open</td>
43         <td>/measures</td>
44         <td></td>
45 </tr>
46 <tr>
47     <td>click</td>
48     <td>css=.navigator-filter[title='Components: Any']</td>
49     <td></td>
50 </tr>
51 <tr>
52     <td>click</td>
53     <td>css=label[title='Projects']</td>
54     <td></td>
55 </tr>
56 <tr>
57         <td>clickAndWait</td>
58         <td>class=navigator-filter-submit</td>
59         <td></td>
60 </tr>
61 <tr>
62         <td>click</td>
63         <td>id=save-as</td>
64         <td></td>
65 </tr>
66 <tr>
67         <td>waitForText</td>
68         <td>save-as-filter-form</td>
69         <td>*Save Filter*</td>
70 </tr>
71 <tr>
72         <td>type</td>
73         <td>id=name</td>
74         <td>user_${FILTER_NAME}</td>
75 </tr>
76 <tr>
77   <td>assertNotText</td>
78   <td>save-as-filter-form</td>
79   <td>*Shared with all users*</td>
80 </tr>
81 <tr>
82         <td>click</td>
83         <td>id=save-as-submit</td>
84         <td></td>
85 </tr>
86 <tr>
87         <td>waitForText</td>
88         <td>filter-title</td>
89         <td>*user_${FILTER_NAME}*Private*</td>
90 </tr>
91 </tbody>
92 </table>
93 </body>
94 </html>