starting webric while test:ui call; adapted login test
[opensuse:yast-web-client.git] / webclient / test / ui / src / login_test_loggedin_hosts.xml
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 <link rel="selenium.base" href="" />
7 <title>login_test_loggedin_hosts</title>
8 </head>
9 <body>
10 <table cellpadding="1" cellspacing="1" border="1">
11 <thead>
12 <tr><td rowspan="1" colspan="3">login_test_loggedin_hosts</td></tr>
13 </thead><tbody>
14 <tr>
15         <td>open</td>
16         <td>/hosts?error=nohostid</td>
17         <td></td>
18 </tr>
19 <tr>
20         <td>clickAndWait</td>
21         <td>link=dummy-host</td>
22         <td></td>
23 </tr>
24 <tr>
25         <td>type</td>
26         <td>login</td>
27         <td>webyast_guest</td>
28 </tr>
29 <tr>
30         <td>type</td>
31         <td>password</td>
32         <td>test</td>
33 </tr>
34 <tr>
35         <td>clickAndWait</td>
36         <td>login_button</td>
37         <td></td>
38 </tr>
39 <tr>
40         <td>assertElementNotPresent</td>
41         <td>Login incorrect</td>
42         <td></td>
43 </tr>
44 <tr>
45         <td>openAndWait</td>
46         <td>/hosts</td>
47         <td></td>
48 </tr>
49 <tr>
50         <td>clickAndWait</td>
51         <td>link=dummy-host</td>
52         <td></td>
53 </tr>
54 <tr>
55         <td>assertTextNotPresent</td>
56         <td>This is embarrasing....</td>
57         <td></td>
58 </tr>
59
60 </tbody></table>
61 </body>
62 </html>