]> source.dussan.org Git - sonarqube.git/blob
8a0c160497febca3a1752feaa41d3e3ce8a6e411
[sonarqube.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ SonarQube, open source software quality management tool.
4   ~ Copyright (C) 2008-2014 SonarSource
5   ~ mailto:contact AT sonarsource DOT com
6   ~
7   ~ SonarQube is free software; you can redistribute it and/or
8   ~ modify it under the terms of the GNU Lesser General Public
9   ~ License as published by the Free Software Foundation; either
10   ~ version 3 of the License, or (at your option) any later version.
11   ~
12   ~ SonarQube is distributed in the hope that it will be useful,
13   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
14   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15   ~ Lesser General Public License for more details.
16   ~
17   ~ You should have received a copy of the GNU Lesser General Public License
18   ~ along with this program; if not, write to the Free Software Foundation,
19   ~ Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20   -->
21
22 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
23 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
24 <head profile="http://selenium-ide.openqa.org/profiles/test-case">
25     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
26     <title>should-display-alerts-correctly-history-page</title>
27 </head>
28 <body>
29 <table cellpadding="1" cellspacing="1" border="1">
30     <thead>
31     <tr>
32         <td rowspan="1" colspan="3">should-display-alerts-correctly-history-page</td>
33     </tr>
34     </thead>
35     <tbody>
36     <tr>
37         <td>open</td>
38         <td>/sessions/login</td>
39         <td></td>
40     </tr>
41     <tr>
42         <td>type</td>
43         <td>login</td>
44         <td>admin</td>
45     </tr>
46     <tr>
47         <td>type</td>
48         <td>password</td>
49         <td>admin</td>
50     </tr>
51     <tr>
52         <td>clickAndWait</td>
53         <td>commit</td>
54         <td></td>
55     </tr>
56     <tr>
57         <td>open</td>
58         <td>/dashboard/index/sample</td>
59         <td></td>
60     </tr>
61     <tr>
62         <td>click</td>
63         <td>css=#context-navigation .navbar-admin-link</td>
64         <td></td>
65     </tr>
66     <tr>
67         <td>waitForElementPresent</td>
68         <td>link=History</td>
69         <td></td>
70     </tr>
71     <tr>
72         <td>clickAndWait</td>
73         <td>link=History</td>
74         <td></td>
75     </tr>
76     <tr>
77         <td>assertElementPresent</td>
78         <td>//img[@title='Quality Gate Status: Green (was Orange). ']</td>
79         <td></td>
80     </tr>
81     <tr>
82         <td>assertElementPresent</td>
83         <td>//img[@title='Quality Gate Status: Orange. Lines > 5']</td>
84         <td></td>
85     </tr>
86     </tbody>
87 </table>
88 </body>
89 </html>