testcentricity_web 4.1.9 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +96 -1
- data/README.md +88 -48
- data/lib/testcentricity_web/browser_helper.rb +2 -1
- data/lib/testcentricity_web/data_objects/environment.rb +0 -1
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_core/page_objects_helper.rb +40 -3
- data/lib/testcentricity_web/web_core/webdriver_helper.rb +89 -80
- data/lib/testcentricity_web/web_elements/media.rb +108 -0
- data/lib/testcentricity_web/web_elements/textfield.rb +28 -0
- data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +39 -1
- metadata +37 -181
- data/.gitignore +0 -39
- data/.idea/.name +0 -1
- data/.idea/encodings.xml +0 -6
- data/.idea/misc.xml +0 -4
- data/.idea/modules.xml +0 -8
- data/.idea/vcs.xml +0 -7
- data/.rspec +0 -4
- data/.rubocop.yml +0 -38
- data/.ruby-version +0 -1
- data/.simplecov +0 -9
- data/CODE_OF_CONDUCT.md +0 -13
- data/Gemfile +0 -6
- data/Rakefile +0 -115
- data/config/cucumber.yml +0 -171
- data/config/locales/en-US.yml +0 -56
- data/config/test_data/LOCAL_data.json +0 -15
- data/config/test_data/LOCAL_data.xls +0 -0
- data/config/test_data/LOCAL_data.yml +0 -11
- data/config/test_data/data.json +0 -25
- data/config/test_data/data.xls +0 -0
- data/config/test_data/data.yml +0 -20
- data/docker-compose.yml +0 -48
- data/features/basic_form_page_css.feature +0 -54
- data/features/basic_form_page_xpath.feature +0 -26
- data/features/custom_controls.feature +0 -29
- data/features/media_players.feature +0 -67
- data/features/step_definitions/generic_steps.rb.rb +0 -124
- data/features/step_definitions/media_steps.rb +0 -30
- data/features/support/data/form_data.rb +0 -43
- data/features/support/env.rb +0 -51
- data/features/support/hooks.rb +0 -270
- data/features/support/pages/base_test_page.rb +0 -22
- data/features/support/pages/basic_css_form_page.rb +0 -53
- data/features/support/pages/basic_form_page.rb +0 -429
- data/features/support/pages/basic_xpath_form_page.rb +0 -54
- data/features/support/pages/custom_controls_page.rb +0 -263
- data/features/support/pages/indexed_sections_page.rb +0 -57
- data/features/support/pages/media_test_page.rb +0 -207
- data/features/support/sections/header_nav.rb +0 -48
- data/features/support/sections/product_card.rb +0 -39
- data/features/support/world_data.rb +0 -12
- data/features/support/world_pages.rb +0 -18
- data/reports/.keep +0 -1
- data/spec/fixtures/page_object.rb +0 -22
- data/spec/fixtures/section_object.rb +0 -21
- data/spec/spec_helper.rb +0 -31
- data/spec/testcentricity_web/browser_spec.rb +0 -41
- data/spec/testcentricity_web/elements/audio_spec.rb +0 -68
- data/spec/testcentricity_web/elements/button_spec.rb +0 -18
- data/spec/testcentricity_web/elements/checkbox_spec.rb +0 -33
- data/spec/testcentricity_web/elements/file_field_spec.rb +0 -13
- data/spec/testcentricity_web/elements/image_spec.rb +0 -33
- data/spec/testcentricity_web/elements/label_spec.rb +0 -18
- data/spec/testcentricity_web/elements/link_spec.rb +0 -23
- data/spec/testcentricity_web/elements/list_spec.rb +0 -13
- data/spec/testcentricity_web/elements/radio_spec.rb +0 -28
- data/spec/testcentricity_web/elements/ui_element_spec.rb +0 -125
- data/spec/testcentricity_web/elements/video_spec.rb +0 -68
- data/spec/testcentricity_web/helper_specs/object_helpers_spec.rb +0 -39
- data/spec/testcentricity_web/helper_specs/string_helpers_spec.rb +0 -49
- data/spec/testcentricity_web/page_object_spec.rb +0 -90
- data/spec/testcentricity_web/section_object_spec.rb +0 -72
- data/spec/testcentricity_web/version_spec.rb +0 -7
- data/spec/testcentricity_web/webdriver_connect/grid_webdriver_spec.rb +0 -72
- data/spec/testcentricity_web/webdriver_connect/local_webdriver_spec.rb +0 -86
- data/spec/testcentricity_web/webdriver_connect/mobile_webdriver_spec.rb +0 -65
- data/test_site/basic_test_page.html +0 -290
- data/test_site/chosen-sprite.png +0 -0
- data/test_site/chosen-sprite@2x.png +0 -0
- data/test_site/chosen.css +0 -496
- data/test_site/chosen.jquery.js +0 -1359
- data/test_site/chosen.jquery.min.js +0 -3
- data/test_site/chosen.min.css +0 -11
- data/test_site/chosen.proto.js +0 -1399
- data/test_site/chosen.proto.min.js +0 -3
- data/test_site/composer.json +0 -36
- data/test_site/custom_controls_page.html +0 -629
- data/test_site/docsupport/chosen.png +0 -0
- data/test_site/docsupport/init.js +0 -11
- data/test_site/docsupport/init.proto.js +0 -16
- data/test_site/docsupport/jquery-1.12.4.min.js +0 -5
- data/test_site/docsupport/jquery-3.2.1.min.js +0 -4
- data/test_site/docsupport/oss-credit.png +0 -0
- data/test_site/docsupport/prism.css +0 -108
- data/test_site/docsupport/prism.js +0 -9
- data/test_site/docsupport/prototype-1.7.0.0.js +0 -6082
- data/test_site/docsupport/style.css +0 -219
- data/test_site/images/Blouse_Black.jpg +0 -0
- data/test_site/images/Granny.jpg +0 -0
- data/test_site/images/Printed_Dress.jpg +0 -0
- data/test_site/images/T-shirt.jpg +0 -0
- data/test_site/images/Wilder.jpg +0 -0
- data/test_site/images/You_Betcha.jpg +0 -0
- data/test_site/images/jeans3.jpg +0 -0
- data/test_site/indexed_sections_page.html +0 -215
- data/test_site/media/MIB2-subtitles-pt-BR.vtt +0 -49
- data/test_site/media/MIB2.mp4 +0 -0
- data/test_site/media/MP4_small.mp4 +0 -0
- data/test_site/media/MPS_sample.mp3 +0 -0
- data/test_site/media/bbc_scotland_report.mp3 +0 -0
- data/test_site/media/count_and_bars.mp4 +0 -0
- data/test_site/media_page.html +0 -86
- data/testcentricity_web.gemspec +0 -57
@@ -1,290 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<title>Basic HTML Form</title>
|
6
|
-
<style>
|
7
|
-
table {
|
8
|
-
font-family: arial, sans-serif;
|
9
|
-
font-size: 15px;
|
10
|
-
border-collapse: collapse;
|
11
|
-
width: 85%;
|
12
|
-
}
|
13
|
-
td, th {
|
14
|
-
border: 1px solid #dddddd;
|
15
|
-
text-align: left;
|
16
|
-
padding: 8px;
|
17
|
-
}
|
18
|
-
body {
|
19
|
-
margin: 0;
|
20
|
-
font-family: Arial, Helvetica, sans-serif;
|
21
|
-
}
|
22
|
-
.topnav {
|
23
|
-
overflow: hidden;
|
24
|
-
background-color: #333;
|
25
|
-
}
|
26
|
-
.topnav a {
|
27
|
-
float: left;
|
28
|
-
color: #f2f2f2;
|
29
|
-
text-align: center;
|
30
|
-
padding: 12px 14px;
|
31
|
-
text-decoration: none;
|
32
|
-
font-size: 15px;
|
33
|
-
}
|
34
|
-
.topnav a:hover {
|
35
|
-
background-color: #ddd;
|
36
|
-
color: black;
|
37
|
-
}
|
38
|
-
.topnav a.active {
|
39
|
-
background-color: #04AA6D;
|
40
|
-
color: white;
|
41
|
-
}
|
42
|
-
</style>
|
43
|
-
</head>
|
44
|
-
<body>
|
45
|
-
<div class="page-body">
|
46
|
-
<h2 id="header">Basic HTML Form</h2>
|
47
|
-
|
48
|
-
<div id="nav_bar" class="topnav">
|
49
|
-
<a id="form_link" class="active" href="#">Basic HTML Form</a>
|
50
|
-
<a id="media_link" href="media_page.html">Media</a>
|
51
|
-
<a id="indexed_sections_link" href="indexed_sections_page.html">Indexed Sections</a>
|
52
|
-
<a id="custom_controls_link" href="custom_controls_page.html">Custom Controls</a>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
|
56
|
-
<div class="centered">
|
57
|
-
<form name="HTMLFormElements" id="HTMLFormElements">
|
58
|
-
<table border="1" cellpadding="5">
|
59
|
-
<tr>
|
60
|
-
<td>
|
61
|
-
<table>
|
62
|
-
<label id="inputs">Inputs:</label>
|
63
|
-
<tbody>
|
64
|
-
<tr>
|
65
|
-
<td>
|
66
|
-
<label for="username">Username:</label>
|
67
|
-
<input type="text" id="username" name="username" placeholder="User name" required>
|
68
|
-
</td>
|
69
|
-
<td>
|
70
|
-
<label for="password">Password:</label>
|
71
|
-
<input type="password" id="password" name="password" placeholder="Password" required>
|
72
|
-
</td>
|
73
|
-
<td>
|
74
|
-
<label for="maxlength">Max Length:</label>
|
75
|
-
<input type="text" id="maxlength" name="maxlength" placeholder="up to 64 characters" maxlength="64">
|
76
|
-
</td>
|
77
|
-
</tr>
|
78
|
-
<tr>
|
79
|
-
<td>
|
80
|
-
<label for="readonly">Read Only:</label>
|
81
|
-
<input type="text" id="readonly" name="readonly" value="I am a read only text field" readonly>
|
82
|
-
</td>
|
83
|
-
<td>
|
84
|
-
<label for="number-field">Number:</label>
|
85
|
-
<input id="number-field" type="number" name="number" min="10" max="1024" step="1" value="41">
|
86
|
-
</td>
|
87
|
-
<td>
|
88
|
-
<label for="color-picker">Color: </label>
|
89
|
-
<input id="color-picker" type="color" name="color">
|
90
|
-
</td>
|
91
|
-
</tr>
|
92
|
-
<tr>
|
93
|
-
<td>
|
94
|
-
<label for="slider">Range: </label>
|
95
|
-
<input id="slider" type="range" name="slider" min="0" max="50">
|
96
|
-
</td>
|
97
|
-
<td>
|
98
|
-
</td>
|
99
|
-
<td>
|
100
|
-
</td>
|
101
|
-
</tr>
|
102
|
-
</tbody>
|
103
|
-
</table>
|
104
|
-
</td>
|
105
|
-
</tr>
|
106
|
-
|
107
|
-
|
108
|
-
<tr>
|
109
|
-
<td>
|
110
|
-
<label for="comments">TextArea:</label>
|
111
|
-
<textarea id="comments" name="comments" cols="80" rows="3"></textarea>
|
112
|
-
</td>
|
113
|
-
</tr>
|
114
|
-
|
115
|
-
<tr>
|
116
|
-
<td>
|
117
|
-
<label for="filename">Filename:</label>
|
118
|
-
<input type="file" id="filename" name="filename" size="35">
|
119
|
-
</td>
|
120
|
-
</tr>
|
121
|
-
|
122
|
-
<tr>
|
123
|
-
<td>
|
124
|
-
<label id="checkboxes">Checkbox Items:</label>
|
125
|
-
<input type="checkbox" id="check1" name="checkboxes[]" value="cb1" />Checkbox 1
|
126
|
-
<input type="checkbox" id="check2" name="checkboxes[]" value="cb2" />Checkbox 2
|
127
|
-
<input type="checkbox" id="check3" name="checkboxes[]" value="cb3" />Checkbox 3
|
128
|
-
<input type="checkbox" id="check4" name="checkboxes[]" value="cb4" disabled/>Checkbox 4
|
129
|
-
</td>
|
130
|
-
</tr>
|
131
|
-
|
132
|
-
<tr>
|
133
|
-
<td>
|
134
|
-
<label id="radios">Radio Items:</label>
|
135
|
-
<input type="radio" id="radio1" name="radioval" value="rd1" />radio 1
|
136
|
-
<input type="radio" id="radio2" name="radioval" value="rd2" />radio 2
|
137
|
-
<input type="radio" id="radio3" name="radioval" value="rd3" />radio 3
|
138
|
-
<input type="radio" id="radio4" name="radioval" value="rd4" disabled/>radio 4
|
139
|
-
</td>
|
140
|
-
</tr>
|
141
|
-
|
142
|
-
<tr>
|
143
|
-
<td>
|
144
|
-
<label for="multipleselect">Multiple Select Values:</label>
|
145
|
-
<select multiple="multiple" id="multipleselect" name="multipleselect" size="4">
|
146
|
-
<option value="ms1">Selection Item 1</option>
|
147
|
-
<option value="ms2">Selection Item 2</option>
|
148
|
-
<option value="ms3">Selection Item 3</option>
|
149
|
-
<option value="ms4">Selection Item 4</option>
|
150
|
-
</select>
|
151
|
-
</td>
|
152
|
-
</tr>
|
153
|
-
|
154
|
-
<tr>
|
155
|
-
<td>
|
156
|
-
<label for="dropdown">Dropdown:</label>
|
157
|
-
<select id="dropdown" name="dropdown">
|
158
|
-
<option value="dd1">Drop Down Item 1</option>
|
159
|
-
<option value="dd2">Drop Down Item 2</option>
|
160
|
-
<option value="dd3">Drop Down Item 3</option>
|
161
|
-
<option value="dd4">Drop Down Item 4</option>
|
162
|
-
<option value="dd5">Drop Down Item 5</option>
|
163
|
-
<option value="dd6">Drop Down Item 6</option>
|
164
|
-
</select>
|
165
|
-
</td>
|
166
|
-
</tr>
|
167
|
-
|
168
|
-
<tr>
|
169
|
-
<td>
|
170
|
-
<label id="links">Links:</label>
|
171
|
-
<ul id="links_list">
|
172
|
-
<li>
|
173
|
-
<a id="link1" href="media_page.html">Open Media Page in same window/tab</a>
|
174
|
-
</li>
|
175
|
-
<li>
|
176
|
-
<a id="link2" href="media_page.html" target="_blank">Open Media Page in a new window/tab</a>
|
177
|
-
</li>
|
178
|
-
<li>
|
179
|
-
<a id="link3" role="link" aria-disabled="true">Disabled Link</a>
|
180
|
-
</li>
|
181
|
-
</ul>
|
182
|
-
</td>
|
183
|
-
</tr>
|
184
|
-
|
185
|
-
<tr>
|
186
|
-
<td>
|
187
|
-
<label for="table">Table:</label>
|
188
|
-
<table id="table">
|
189
|
-
<thead>
|
190
|
-
<tr>
|
191
|
-
<th>Company</th>
|
192
|
-
<th>Contact</th>
|
193
|
-
<th>Country</th>
|
194
|
-
</tr>
|
195
|
-
</thead>
|
196
|
-
<tbody>
|
197
|
-
<tr>
|
198
|
-
<td>Alfreds Futterkiste</td>
|
199
|
-
<td>Maria Anders</td>
|
200
|
-
<td>Germany</td>
|
201
|
-
</tr>
|
202
|
-
<tr>
|
203
|
-
<td>Centro comercial Moctezuma</td>
|
204
|
-
<td>Francisco Chang</td>
|
205
|
-
<td>Mexico</td>
|
206
|
-
</tr>
|
207
|
-
<tr>
|
208
|
-
<td>Ernst Handel</td>
|
209
|
-
<td>Roland Mendel</td>
|
210
|
-
<td>Austria</td>
|
211
|
-
</tr>
|
212
|
-
<tr>
|
213
|
-
<td>Island Trading</td>
|
214
|
-
<td>Helen Bennett</td>
|
215
|
-
<td>UK</td>
|
216
|
-
</tr>
|
217
|
-
</tbody>
|
218
|
-
</table>
|
219
|
-
</td>
|
220
|
-
</tr>
|
221
|
-
|
222
|
-
<tr>
|
223
|
-
<td>
|
224
|
-
<table>
|
225
|
-
<label id="images">Images:</label>
|
226
|
-
<tbody>
|
227
|
-
<tr>
|
228
|
-
<td>
|
229
|
-
<img id="image1" src="images/Wilder.jpg" alt="It's alive" style="width:225px;height:225px;">
|
230
|
-
</td>
|
231
|
-
<td>
|
232
|
-
<img id="image2" src="images/You_Betcha.jpg" alt="You Betcha" style="width:225px;height:225px;">
|
233
|
-
</td>
|
234
|
-
<td>
|
235
|
-
<img id="image3" src="wrongname.gif" alt="A broken image" style="width:225px;height:225px;">
|
236
|
-
</td>
|
237
|
-
</tr>
|
238
|
-
</tbody>
|
239
|
-
</table>
|
240
|
-
</td>
|
241
|
-
</tr>
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
<!-- <tr>-->
|
246
|
-
<!-- <td>-->
|
247
|
-
<!-- <div class="form-label">-->
|
248
|
-
<!-- <label for="date-picker">Date: </label>-->
|
249
|
-
<!-- <input id="date-picker" type="date" name="date">-->
|
250
|
-
<!-- </div>-->
|
251
|
-
<!-- </td>-->
|
252
|
-
<!-- </tr>-->
|
253
|
-
<!-- <tr>-->
|
254
|
-
<!-- <td>-->
|
255
|
-
<!-- <div class="form-label">-->
|
256
|
-
<!-- <label for="date-time-picker">Local date time:</label>-->
|
257
|
-
<!-- <input id="date-time-picker" type="datetime-local" name="datetime" value="2018-01-01T01:01">-->
|
258
|
-
<!-- </div>-->
|
259
|
-
<!-- </td>-->
|
260
|
-
<!-- </tr>-->
|
261
|
-
<!-- <tr>-->
|
262
|
-
<!-- <td>-->
|
263
|
-
<!-- <div class="form-label">-->
|
264
|
-
<!-- <label for="email-field">Email: </label>-->
|
265
|
-
<!-- <input id="email-field" type="email" name="email" value="bob@mailinator.com">-->
|
266
|
-
<!-- </div>-->
|
267
|
-
<!-- </td>-->
|
268
|
-
<!-- </tr>-->
|
269
|
-
<!-- <tr>-->
|
270
|
-
<!-- <td>-->
|
271
|
-
<!-- <div class="form-label">-->
|
272
|
-
<!-- <label for="month-field">Month: </label>-->
|
273
|
-
<!-- <input id="month-field" type="month" name="month">-->
|
274
|
-
<!-- </div>-->
|
275
|
-
<!-- </td>-->
|
276
|
-
<!-- </tr>-->
|
277
|
-
|
278
|
-
|
279
|
-
<tr>
|
280
|
-
<td>
|
281
|
-
<input type="reset" id="cancel" name="cancel" value="Cancel" class="styled-click-button">
|
282
|
-
<input type="submit" id="submit" name="submit" value="Submit" class="styled-click-button">
|
283
|
-
</td>
|
284
|
-
</tr>
|
285
|
-
</table>
|
286
|
-
</form>
|
287
|
-
</div>
|
288
|
-
</div>
|
289
|
-
</body>
|
290
|
-
</html>
|
data/test_site/chosen-sprite.png
DELETED
Binary file
|
Binary file
|