-
Notifications
You must be signed in to change notification settings - Fork 0
/
groups_group.html
122 lines (121 loc) · 2.69 KB
/
groups_group.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://icms2/" />
<title>groups_group</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">groups_group</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/groups/1</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>id=group_profile_title</td>
<td>Робототехника</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id='left_column']/div[3]/ul/li[2]/strong</td>
<td>Создана:</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id='left_column']/div[3]/ul/li[3]/strong</td>
<td>Владелец:</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id='left_column']/div[3]/ul/li[4]/strong</td>
<td>Состав:</td>
</tr>
<tr>
<td>verifyText</td>
<td>css=strong</td>
<td>Рейтинг:</td>
</tr>
<tr>
<td>verifyText</td>
<td>css=h2.title</td>
<td>Стена группы</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id='group_profile_tabs']/div/ul/li[2]/a/span</td>
<td>Контент 1</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id='group_profile_tabs']/div/ul/li[3]/a/span</td>
<td>Активность</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id='group_profile_tabs']/div/ul/li[4]/a/span</td>
<td>Участники 1</td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=ul.content_counts > li > a</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//div[@id='group_profile_tabs']/div/ul/li[2]/a/span</td>
<td></td>
</tr>
<tr>
<td>verifyText</td>
<td>link=Мой первый пост в сообществе</td>
<td>Мой первый пост в сообществе</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//div[@id='group_profile_tabs']/div/ul/li[3]/a</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td></td>
<td>admin добавляет пост Мой первый пост в сообществе</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//div[@id='group_profile_tabs']/div/ul/li[4]/a/span</td>
<td></td>
</tr>
<tr>
<td>verifyText</td>
<td>link=admin</td>
<td>admin</td>
</tr>
<tr>
<td>click</td>
<td>css=div.filter-link > a > span</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=birth_date[from]</td>
<td>50</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>name=submit</td>
<td></td>
</tr>
<tr>
<td>verifyText</td>
<td>link=Ссылка</td>
<td>Ссылка</td>
</tr>
</tbody></table>
</body>
</html>