testcentricity_web 4.1.10 → 4.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +92 -1
  3. data/README.md +301 -230
  4. data/lib/testcentricity_web/browser_helper.rb +2 -1
  5. data/lib/testcentricity_web/data_objects/environment.rb +0 -3
  6. data/lib/testcentricity_web/version.rb +1 -1
  7. data/lib/testcentricity_web/web_core/page_objects_helper.rb +39 -2
  8. data/lib/testcentricity_web/web_core/webdriver_helper.rb +162 -152
  9. data/lib/testcentricity_web/web_elements/media.rb +108 -0
  10. data/lib/testcentricity_web/web_elements/textfield.rb +28 -0
  11. data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +39 -1
  12. metadata +18 -162
  13. data/.gitignore +0 -39
  14. data/.idea/.name +0 -1
  15. data/.idea/encodings.xml +0 -6
  16. data/.idea/misc.xml +0 -4
  17. data/.idea/modules.xml +0 -8
  18. data/.idea/vcs.xml +0 -7
  19. data/.rspec +0 -4
  20. data/.rubocop.yml +0 -38
  21. data/.ruby-version +0 -1
  22. data/.simplecov +0 -9
  23. data/CODE_OF_CONDUCT.md +0 -13
  24. data/Gemfile +0 -6
  25. data/Rakefile +0 -115
  26. data/config/cucumber.yml +0 -171
  27. data/config/locales/en-US.yml +0 -56
  28. data/config/test_data/LOCAL_data.json +0 -15
  29. data/config/test_data/LOCAL_data.xls +0 -0
  30. data/config/test_data/LOCAL_data.yml +0 -11
  31. data/config/test_data/data.json +0 -25
  32. data/config/test_data/data.xls +0 -0
  33. data/config/test_data/data.yml +0 -20
  34. data/docker-compose.yml +0 -48
  35. data/features/basic_form_page_css.feature +0 -54
  36. data/features/basic_form_page_xpath.feature +0 -26
  37. data/features/custom_controls.feature +0 -29
  38. data/features/media_players.feature +0 -67
  39. data/features/step_definitions/generic_steps.rb.rb +0 -124
  40. data/features/step_definitions/media_steps.rb +0 -30
  41. data/features/support/data/form_data.rb +0 -43
  42. data/features/support/env.rb +0 -53
  43. data/features/support/hooks.rb +0 -270
  44. data/features/support/pages/base_test_page.rb +0 -22
  45. data/features/support/pages/basic_css_form_page.rb +0 -57
  46. data/features/support/pages/basic_form_page.rb +0 -500
  47. data/features/support/pages/basic_xpath_form_page.rb +0 -58
  48. data/features/support/pages/custom_controls_page.rb +0 -263
  49. data/features/support/pages/indexed_sections_page.rb +0 -57
  50. data/features/support/pages/media_test_page.rb +0 -207
  51. data/features/support/sections/header_nav.rb +0 -48
  52. data/features/support/sections/product_card.rb +0 -39
  53. data/features/support/world_data.rb +0 -12
  54. data/features/support/world_pages.rb +0 -18
  55. data/reports/.keep +0 -1
  56. data/spec/fixtures/page_object.rb +0 -22
  57. data/spec/fixtures/section_object.rb +0 -21
  58. data/spec/spec_helper.rb +0 -33
  59. data/spec/testcentricity_web/browser_spec.rb +0 -41
  60. data/spec/testcentricity_web/elements/audio_spec.rb +0 -68
  61. data/spec/testcentricity_web/elements/button_spec.rb +0 -18
  62. data/spec/testcentricity_web/elements/checkbox_spec.rb +0 -33
  63. data/spec/testcentricity_web/elements/file_field_spec.rb +0 -13
  64. data/spec/testcentricity_web/elements/image_spec.rb +0 -33
  65. data/spec/testcentricity_web/elements/label_spec.rb +0 -18
  66. data/spec/testcentricity_web/elements/link_spec.rb +0 -23
  67. data/spec/testcentricity_web/elements/list_spec.rb +0 -13
  68. data/spec/testcentricity_web/elements/radio_spec.rb +0 -28
  69. data/spec/testcentricity_web/elements/ui_element_spec.rb +0 -125
  70. data/spec/testcentricity_web/elements/video_spec.rb +0 -68
  71. data/spec/testcentricity_web/helper_specs/object_helpers_spec.rb +0 -39
  72. data/spec/testcentricity_web/helper_specs/string_helpers_spec.rb +0 -49
  73. data/spec/testcentricity_web/page_object_spec.rb +0 -90
  74. data/spec/testcentricity_web/section_object_spec.rb +0 -72
  75. data/spec/testcentricity_web/version_spec.rb +0 -7
  76. data/spec/testcentricity_web/webdriver_connect/grid_webdriver_spec.rb +0 -72
  77. data/spec/testcentricity_web/webdriver_connect/local_webdriver_spec.rb +0 -86
  78. data/spec/testcentricity_web/webdriver_connect/mobile_webdriver_spec.rb +0 -65
  79. data/test_site/basic_test_page.html +0 -269
  80. data/test_site/chosen/chosen-sprite.png +0 -0
  81. data/test_site/chosen/chosen-sprite@2x.png +0 -0
  82. data/test_site/chosen/chosen.css +0 -496
  83. data/test_site/chosen/chosen.jquery.js +0 -1359
  84. data/test_site/chosen/chosen.jquery.min.js +0 -3
  85. data/test_site/chosen/chosen.min.css +0 -11
  86. data/test_site/chosen/chosen.proto.js +0 -1399
  87. data/test_site/chosen/chosen.proto.min.js +0 -3
  88. data/test_site/chosen/composer.json +0 -36
  89. data/test_site/custom_controls_page.html +0 -629
  90. data/test_site/docsupport/chosen.png +0 -0
  91. data/test_site/docsupport/init.js +0 -11
  92. data/test_site/docsupport/init.proto.js +0 -16
  93. data/test_site/docsupport/jquery-1.12.4.min.js +0 -5
  94. data/test_site/docsupport/jquery-3.2.1.min.js +0 -4
  95. data/test_site/docsupport/oss-credit.png +0 -0
  96. data/test_site/docsupport/prism.css +0 -108
  97. data/test_site/docsupport/prism.js +0 -9
  98. data/test_site/docsupport/prototype-1.7.0.0.js +0 -6082
  99. data/test_site/docsupport/style.css +0 -219
  100. data/test_site/images/Blouse_Black.jpg +0 -0
  101. data/test_site/images/Granny.jpg +0 -0
  102. data/test_site/images/Printed_Dress.jpg +0 -0
  103. data/test_site/images/T-shirt.jpg +0 -0
  104. data/test_site/images/Wilder.jpg +0 -0
  105. data/test_site/images/You_Betcha.jpg +0 -0
  106. data/test_site/images/jeans3.jpg +0 -0
  107. data/test_site/indexed_sections_page.html +0 -215
  108. data/test_site/media/MIB2-subtitles-pt-BR.vtt +0 -49
  109. data/test_site/media/MIB2.mp4 +0 -0
  110. data/test_site/media/MP4_small.mp4 +0 -0
  111. data/test_site/media/MPS_sample.mp3 +0 -0
  112. data/test_site/media/bbc_scotland_report.mp3 +0 -0
  113. data/test_site/media/count_and_bars.mp4 +0 -0
  114. data/test_site/media_page.html +0 -86
  115. data/testcentricity_web.gemspec +0 -59
@@ -1,496 +0,0 @@
1
- /*!
2
- Chosen, a Select Box Enhancer for jQuery and Prototype
3
- by Patrick Filler for Harvest, http://getharvest.com
4
-
5
- Version 1.8.7
6
- Full source at https://github.com/harvesthq/chosen
7
- Copyright (c) 2011-2018 Harvest http://getharvest.com
8
-
9
- MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
- This file is generated by `grunt build`, do not edit it by hand.
11
- */
12
-
13
- /* @group Base */
14
- .chosen-container {
15
- position: relative;
16
- display: inline-block;
17
- vertical-align: middle;
18
- font-size: 13px;
19
- -webkit-user-select: none;
20
- -moz-user-select: none;
21
- -ms-user-select: none;
22
- user-select: none;
23
- }
24
-
25
- .chosen-container * {
26
- -webkit-box-sizing: border-box;
27
- box-sizing: border-box;
28
- }
29
-
30
- .chosen-container .chosen-drop {
31
- position: absolute;
32
- top: 100%;
33
- z-index: 1010;
34
- width: 100%;
35
- border: 1px solid #aaa;
36
- border-top: 0;
37
- background: #fff;
38
- -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
39
- box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
40
- clip: rect(0, 0, 0, 0);
41
- -webkit-clip-path: inset(100% 100%);
42
- clip-path: inset(100% 100%);
43
- }
44
-
45
- .chosen-container.chosen-with-drop .chosen-drop {
46
- clip: auto;
47
- -webkit-clip-path: none;
48
- clip-path: none;
49
- }
50
-
51
- .chosen-container a {
52
- cursor: pointer;
53
- }
54
-
55
- .chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name {
56
- margin-right: 4px;
57
- overflow: hidden;
58
- white-space: nowrap;
59
- text-overflow: ellipsis;
60
- font-weight: normal;
61
- color: #999999;
62
- }
63
-
64
- .chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after {
65
- content: ":";
66
- padding-left: 2px;
67
- vertical-align: top;
68
- }
69
-
70
- /* @end */
71
- /* @group Single Chosen */
72
- .chosen-container-single .chosen-single {
73
- position: relative;
74
- display: block;
75
- overflow: hidden;
76
- padding: 0 0 0 8px;
77
- height: 25px;
78
- border: 1px solid #aaa;
79
- border-radius: 5px;
80
- background-color: #fff;
81
- background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #fff), color-stop(50%, #f6f6f6), color-stop(52%, #eee), to(#f4f4f4));
82
- background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
83
- background-clip: padding-box;
84
- -webkit-box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
85
- box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
86
- color: #444;
87
- text-decoration: none;
88
- white-space: nowrap;
89
- line-height: 24px;
90
- }
91
-
92
- .chosen-container-single .chosen-default {
93
- color: #999;
94
- }
95
-
96
- .chosen-container-single .chosen-single span {
97
- display: block;
98
- overflow: hidden;
99
- margin-right: 26px;
100
- text-overflow: ellipsis;
101
- white-space: nowrap;
102
- }
103
-
104
- .chosen-container-single .chosen-single-with-deselect span {
105
- margin-right: 38px;
106
- }
107
-
108
- .chosen-container-single .chosen-single abbr {
109
- position: absolute;
110
- top: 6px;
111
- right: 26px;
112
- display: block;
113
- width: 12px;
114
- height: 12px;
115
- background: url("chosen-sprite.png") -42px 1px no-repeat;
116
- font-size: 1px;
117
- }
118
-
119
- .chosen-container-single .chosen-single abbr:hover {
120
- background-position: -42px -10px;
121
- }
122
-
123
- .chosen-container-single.chosen-disabled .chosen-single abbr:hover {
124
- background-position: -42px -10px;
125
- }
126
-
127
- .chosen-container-single .chosen-single div {
128
- position: absolute;
129
- top: 0;
130
- right: 0;
131
- display: block;
132
- width: 18px;
133
- height: 100%;
134
- }
135
-
136
- .chosen-container-single .chosen-single div b {
137
- display: block;
138
- width: 100%;
139
- height: 100%;
140
- background: url("chosen-sprite.png") no-repeat 0px 2px;
141
- }
142
-
143
- .chosen-container-single .chosen-search {
144
- position: relative;
145
- z-index: 1010;
146
- margin: 0;
147
- padding: 3px 4px;
148
- white-space: nowrap;
149
- }
150
-
151
- .chosen-container-single .chosen-search input[type="text"] {
152
- margin: 1px 0;
153
- padding: 4px 20px 4px 5px;
154
- width: 100%;
155
- height: auto;
156
- outline: 0;
157
- border: 1px solid #aaa;
158
- background: url("chosen-sprite.png") no-repeat 100% -20px;
159
- font-size: 1em;
160
- font-family: sans-serif;
161
- line-height: normal;
162
- border-radius: 0;
163
- }
164
-
165
- .chosen-container-single .chosen-drop {
166
- margin-top: -1px;
167
- border-radius: 0 0 4px 4px;
168
- background-clip: padding-box;
169
- }
170
-
171
- .chosen-container-single.chosen-container-single-nosearch .chosen-search {
172
- position: absolute;
173
- clip: rect(0, 0, 0, 0);
174
- -webkit-clip-path: inset(100% 100%);
175
- clip-path: inset(100% 100%);
176
- }
177
-
178
- /* @end */
179
- /* @group Results */
180
- .chosen-container .chosen-results {
181
- color: #444;
182
- position: relative;
183
- overflow-x: hidden;
184
- overflow-y: auto;
185
- margin: 0 4px 4px 0;
186
- padding: 0 0 0 4px;
187
- max-height: 240px;
188
- -webkit-overflow-scrolling: touch;
189
- }
190
-
191
- .chosen-container .chosen-results li {
192
- display: none;
193
- margin: 0;
194
- padding: 5px 6px;
195
- list-style: none;
196
- line-height: 15px;
197
- word-wrap: break-word;
198
- -webkit-touch-callout: none;
199
- }
200
-
201
- .chosen-container .chosen-results li.active-result {
202
- display: list-item;
203
- cursor: pointer;
204
- }
205
-
206
- .chosen-container .chosen-results li.disabled-result {
207
- display: list-item;
208
- color: #ccc;
209
- cursor: default;
210
- }
211
-
212
- .chosen-container .chosen-results li.highlighted {
213
- background-color: #3875d7;
214
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
215
- background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
216
- color: #fff;
217
- }
218
-
219
- .chosen-container .chosen-results li.no-results {
220
- color: #777;
221
- display: list-item;
222
- background: #f4f4f4;
223
- }
224
-
225
- .chosen-container .chosen-results li.group-result {
226
- display: list-item;
227
- font-weight: bold;
228
- cursor: default;
229
- }
230
-
231
- .chosen-container .chosen-results li.group-option {
232
- padding-left: 15px;
233
- }
234
-
235
- .chosen-container .chosen-results li em {
236
- font-style: normal;
237
- text-decoration: underline;
238
- }
239
-
240
- /* @end */
241
- /* @group Multi Chosen */
242
- .chosen-container-multi .chosen-choices {
243
- position: relative;
244
- overflow: hidden;
245
- margin: 0;
246
- padding: 0 5px;
247
- width: 100%;
248
- height: auto;
249
- border: 1px solid #aaa;
250
- background-color: #fff;
251
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #eee), color-stop(15%, #fff));
252
- background-image: linear-gradient(#eee 1%, #fff 15%);
253
- cursor: text;
254
- }
255
-
256
- .chosen-container-multi .chosen-choices li {
257
- float: left;
258
- list-style: none;
259
- }
260
-
261
- .chosen-container-multi .chosen-choices li.search-field {
262
- margin: 0;
263
- padding: 0;
264
- white-space: nowrap;
265
- }
266
-
267
- .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
268
- margin: 1px 0;
269
- padding: 0;
270
- height: 25px;
271
- outline: 0;
272
- border: 0 !important;
273
- background: transparent !important;
274
- -webkit-box-shadow: none;
275
- box-shadow: none;
276
- color: #999;
277
- font-size: 100%;
278
- font-family: sans-serif;
279
- line-height: normal;
280
- border-radius: 0;
281
- width: 25px;
282
- }
283
-
284
- .chosen-container-multi .chosen-choices li.search-choice {
285
- position: relative;
286
- margin: 3px 5px 3px 0;
287
- padding: 3px 20px 3px 5px;
288
- border: 1px solid #aaa;
289
- max-width: 100%;
290
- border-radius: 3px;
291
- background-color: #eeeeee;
292
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee));
293
- background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
294
- background-size: 100% 19px;
295
- background-repeat: repeat-x;
296
- background-clip: padding-box;
297
- -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
298
- box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
299
- color: #333;
300
- line-height: 13px;
301
- cursor: default;
302
- }
303
-
304
- .chosen-container-multi .chosen-choices li.search-choice span {
305
- word-wrap: break-word;
306
- }
307
-
308
- .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
309
- position: absolute;
310
- top: 4px;
311
- right: 3px;
312
- display: block;
313
- width: 12px;
314
- height: 12px;
315
- background: url("chosen-sprite.png") -42px 1px no-repeat;
316
- font-size: 1px;
317
- }
318
-
319
- .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
320
- background-position: -42px -10px;
321
- }
322
-
323
- .chosen-container-multi .chosen-choices li.search-choice-disabled {
324
- padding-right: 5px;
325
- border: 1px solid #ccc;
326
- background-color: #e4e4e4;
327
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee));
328
- background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
329
- color: #666;
330
- }
331
-
332
- .chosen-container-multi .chosen-choices li.search-choice-focus {
333
- background: #d4d4d4;
334
- }
335
-
336
- .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
337
- background-position: -42px -10px;
338
- }
339
-
340
- .chosen-container-multi .chosen-results {
341
- margin: 0;
342
- padding: 0;
343
- }
344
-
345
- .chosen-container-multi .chosen-drop .result-selected {
346
- display: list-item;
347
- color: #ccc;
348
- cursor: default;
349
- }
350
-
351
- /* @end */
352
- /* @group Active */
353
- .chosen-container-active .chosen-single {
354
- border: 1px solid #5897fb;
355
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
356
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
357
- }
358
-
359
- .chosen-container-active.chosen-with-drop .chosen-single {
360
- border: 1px solid #aaa;
361
- border-bottom-right-radius: 0;
362
- border-bottom-left-radius: 0;
363
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #eee), color-stop(80%, #fff));
364
- background-image: linear-gradient(#eee 20%, #fff 80%);
365
- -webkit-box-shadow: 0 1px 0 #fff inset;
366
- box-shadow: 0 1px 0 #fff inset;
367
- }
368
-
369
- .chosen-container-active.chosen-with-drop .chosen-single div {
370
- border-left: none;
371
- background: transparent;
372
- }
373
-
374
- .chosen-container-active.chosen-with-drop .chosen-single div b {
375
- background-position: -18px 2px;
376
- }
377
-
378
- .chosen-container-active .chosen-choices {
379
- border: 1px solid #5897fb;
380
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
381
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
382
- }
383
-
384
- .chosen-container-active .chosen-choices li.search-field input[type="text"] {
385
- color: #222 !important;
386
- }
387
-
388
- /* @end */
389
- /* @group Disabled Support */
390
- .chosen-disabled {
391
- opacity: 0.5 !important;
392
- cursor: default;
393
- }
394
-
395
- .chosen-disabled .chosen-single {
396
- cursor: default;
397
- }
398
-
399
- .chosen-disabled .chosen-choices .search-choice .search-choice-close {
400
- cursor: default;
401
- }
402
-
403
- /* @end */
404
- /* @group Right to Left */
405
- .chosen-rtl {
406
- text-align: right;
407
- }
408
-
409
- .chosen-rtl .chosen-single {
410
- overflow: visible;
411
- padding: 0 8px 0 0;
412
- }
413
-
414
- .chosen-rtl .chosen-single span {
415
- margin-right: 0;
416
- margin-left: 26px;
417
- direction: rtl;
418
- }
419
-
420
- .chosen-rtl .chosen-single-with-deselect span {
421
- margin-left: 38px;
422
- }
423
-
424
- .chosen-rtl .chosen-single div {
425
- right: auto;
426
- left: 3px;
427
- }
428
-
429
- .chosen-rtl .chosen-single abbr {
430
- right: auto;
431
- left: 26px;
432
- }
433
-
434
- .chosen-rtl .chosen-choices li {
435
- float: right;
436
- }
437
-
438
- .chosen-rtl .chosen-choices li.search-field input[type="text"] {
439
- direction: rtl;
440
- }
441
-
442
- .chosen-rtl .chosen-choices li.search-choice {
443
- margin: 3px 5px 3px 0;
444
- padding: 3px 5px 3px 19px;
445
- }
446
-
447
- .chosen-rtl .chosen-choices li.search-choice .search-choice-close {
448
- right: auto;
449
- left: 4px;
450
- }
451
-
452
- .chosen-rtl.chosen-container-single .chosen-results {
453
- margin: 0 0 4px 4px;
454
- padding: 0 4px 0 0;
455
- }
456
-
457
- .chosen-rtl .chosen-results li.group-option {
458
- padding-right: 15px;
459
- padding-left: 0;
460
- }
461
-
462
- .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
463
- border-right: none;
464
- }
465
-
466
- .chosen-rtl .chosen-search input[type="text"] {
467
- padding: 4px 5px 4px 20px;
468
- background: url("chosen-sprite.png") no-repeat -30px -20px;
469
- direction: rtl;
470
- }
471
-
472
- .chosen-rtl.chosen-container-single .chosen-single div b {
473
- background-position: 6px 2px;
474
- }
475
-
476
- .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
477
- background-position: -12px 2px;
478
- }
479
-
480
- /* @end */
481
- /* @group Retina compatibility */
482
- @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
483
- .chosen-rtl .chosen-search input[type="text"],
484
- .chosen-container-single .chosen-single abbr,
485
- .chosen-container-single .chosen-single div b,
486
- .chosen-container-single .chosen-search input[type="text"],
487
- .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
488
- .chosen-container .chosen-results-scroll-down span,
489
- .chosen-container .chosen-results-scroll-up span {
490
- background-image: url("chosen-sprite@2x.png") !important;
491
- background-size: 52px 37px !important;
492
- background-repeat: no-repeat !important;
493
- }
494
- }
495
-
496
- /* @end */