More script cleanup
[mediagoblin-automation:mediagoblin-selenium.git] / tests / src / test_EditMediaItem.html
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="http://127.0.0.1:6543" />
7 <title>Edit Media Item</title>
8 </head>
9 <body>
10 <table cellpadding="1" cellspacing="1" border="1">
11 <thead>
12 <tr><td rowspan="1" colspan="3">Edit Media Item</td></tr>
13 </thead><tbody>
14 <tr>
15         <td>open</td>
16         <td>/</td>
17         <td></td>
18 </tr>
19 <tr>
20         <td>assertElementPresent</td>
21         <td>link=Penrose Triangle</td>
22         <td></td>
23 </tr>
24 <tr>
25         <td>clickAndWait</td>
26         <td>link=Penrose Triangle</td>
27         <td></td>
28 </tr>
29 <tr>
30         <td>assertElementPresent</td>
31         <td>link=Edit</td>
32         <td></td>
33 </tr>
34 <tr>
35         <td>clickAndWait</td>
36         <td>link=Edit</td>
37         <td></td>
38 </tr>
39 <tr>
40         <td>sendKeys</td>
41         <td>id=title</td>
42         <td>Penrose Triangle Edit</td>
43 </tr>
44 <tr>
45         <td>select</td>
46         <td>id=license</td>
47         <td>label=CC0 1.0</td>
48 </tr>
49 <tr>
50         <td>clickAndWait</td>
51         <td>css=input.button_form</td>
52         <td></td>
53 </tr>
54 <tr>
55         <td>verifyText</td>
56         <td>css=h2.media_title</td>
57         <td>Penrose Triangle Edit</td>
58 </tr>
59 <tr>
60         <td>verifyText</td>
61         <td>link=CC0 1.0</td>
62         <td>CC0 1.0</td>
63 </tr>
64
65 </tbody></table>
66 </body>
67 </html>