kinney 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. data/README.markdown +2 -2
  2. data/Rakefile +4 -0
  3. data/app/admin/clips.rb +40 -1
  4. data/app/assets/javascripts/kinney/admin/video_preview.js +1 -1
  5. data/app/controllers/kinney/tracker_controller.rb +0 -34
  6. data/app/helpers/kinney/general_helper.rb +1 -1
  7. data/app/models/kinney/clip.rb +5 -2
  8. data/app/models/kinney/person.rb +11 -11
  9. data/app/views/{kinney/tracker → admin/kinney_clips}/_video_engagement_chart.html.erb +15 -0
  10. data/app/views/{kinney/tracker/analyze.html.erb → admin/kinney_clips/analyze_tracker.html.erb} +5 -3
  11. data/app/views/kinney/clips/show.html.erb +1 -1
  12. data/app/views/kinney/people/index.html.erb +4 -3
  13. data/app/views/kinney/sitemap/index.xml.builder +1 -1
  14. data/config/routes.rb +1 -1
  15. data/lib/kinney/version.rb +1 -1
  16. data/test/dummy/db/development.sqlite3 +0 -0
  17. data/test/dummy/db/test.sqlite3 +0 -0
  18. data/test/dummy/log/development.log +33694 -0
  19. data/test/dummy/log/test.log +29895 -0
  20. data/test/dummy/tmp/cache/assets/CBF/9B0/sprockets%2Fe283548d3ef4505c82279198e09b53fa +0 -0
  21. data/test/dummy/tmp/cache/assets/D0B/560/sprockets%2F33db47d8bb65ee7457b03336420a55fd +0 -0
  22. data/test/functional/kinney/admin_clips_controller_test.rb +24 -0
  23. data/test/functional/kinney/clips_controller_test.rb +5 -3
  24. data/test/functional/kinney/people_controller_test.rb +5 -3
  25. data/test/functional/kinney/tracker_controller_test.rb +0 -6
  26. data/test/integration/admin_clip_test.rb +14 -11
  27. data/test/integration/admin_images_test.rb +8 -7
  28. data/test/integration/clips_index_test.rb +9 -6
  29. data/test/integration/clips_show_test.rb +11 -8
  30. data/test/integration/microdata_test.rb +40 -0
  31. data/test/integration/navigation_test.rb +7 -5
  32. data/test/integration/people_index_test.rb +7 -4
  33. data/test/integration/people_show_test.rb +14 -12
  34. data/test/support/test_with_cassette.rb +38 -0
  35. data/test/test_helper.rb +18 -2
  36. data/test/unit/clip_test.rb +5 -0
  37. data/test/vcr_cassettes/admin_clip/add_a_description_for_a_clip.yml +272 -0
  38. data/test/vcr_cassettes/admin_clip/admin_user_can_create_new_clip.yml +114 -0
  39. data/test/vcr_cassettes/admin_clip/display_whether_there_is_a_VTT_file_for_a_clip.yml +613 -0
  40. data/test/vcr_cassettes/admin_clip/do_not_allow_submission_of_clip_if_there_is_no_webvtt_file.yml +567 -0
  41. data/test/vcr_cassettes/admin_images/user_should_not_be_able_to_create_slug.yml +967 -0
  42. data/test/vcr_cassettes/admin_images/user_should_see_associated_name_for_image_on_index_view.yml +561 -0
  43. data/test/vcr_cassettes/admin_images/user_should_see_associated_name_for_image_on_show_view.yml +162 -0
  44. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_edit_page.yml +186 -0
  45. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_new_image_page.yml +374 -0
  46. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_show_page.yml +193 -0
  47. data/test/vcr_cassettes/clips_controller/should_assign_a_webvtt_variable.yml +154 -0
  48. data/test/vcr_cassettes/clips_controller/should_assign_title_for_a_show_view.yml +136 -0
  49. data/test/vcr_cassettes/clips_controller/should_get_show.yml +136 -0
  50. data/test/vcr_cassettes/clips_index/clicking_on_a_video_thumbnail_should_go_to_a_video_clip.yml +154 -0
  51. data/test/vcr_cassettes/clips_show/should_expand/collapse_the_transcript.yml +154 -0
  52. data/test/vcr_cassettes/clips_show/should_have_link_to_other_videos_by_the_same_person.yml +136 -0
  53. data/test/vcr_cassettes/clips_show/should_have_link_to_profile.yml +136 -0
  54. data/test/vcr_cassettes/clips_show/should_not_see_More_videos_on_topics_with_link_under_video.yml +136 -0
  55. data/test/vcr_cassettes/clips_show/should_not_see_Video_Topics_section_on_page.yml +136 -0
  56. data/test/vcr_cassettes/clips_show/should_show_basic_information_about_a_clip.yml +136 -0
  57. data/test/vcr_cassettes/clips_show/should_show_other_clips_related_by_topic.yml +136 -0
  58. data/test/vcr_cassettes/clips_show/should_show_the_transcript.yml +154 -0
  59. data/test/vcr_cassettes/microdata/clip_show_view_should_have_microdata.yml +136 -0
  60. data/test/vcr_cassettes/microdata/person_show_view_should_have_microdata.yml +399 -0
  61. data/test/vcr_cassettes/navigation/there_should_be_a_link_to_People_in_the_global_navigation.yml +267 -0
  62. data/test/vcr_cassettes/people_controller/should_get_index.yml +267 -0
  63. data/test/vcr_cassettes/people_controller/should_get_show.yml +399 -0
  64. data/test/vcr_cassettes/people_controller/show_view_should_have_a_title.yml +399 -0
  65. data/test/vcr_cassettes/people_index/links_to_show_view_for_person_with_video.yml +663 -0
  66. data/test/vcr_cassettes/people_index/links_to_show_view_for_person_without_video.yml +267 -0
  67. data/test/vcr_cassettes/people_index/shows_people.yml +267 -0
  68. data/test/vcr_cassettes/people_index/sort_profile_images.yml +267 -0
  69. data/test/vcr_cassettes/people_show/if_there_is_only_one_image_and_it_is_a_top_pick_then_do_not_show_the_image_section_of_the_page.yml +135 -0
  70. data/test/vcr_cassettes/people_show/should_display_a_map_if_the_location_the_person_grew_up_is_known.yml +399 -0
  71. data/test/vcr_cassettes/people_show/should_display_the_information_like_description__interview_date_and_time_below_video_clip.yml +136 -0
  72. data/test/vcr_cassettes/people_show/should_give_a_link_to_other_videos_with_the_same_person.yml +534 -0
  73. data/test/vcr_cassettes/people_show/should_not_display_a_map_if_the_location_the_person_grew_up_is_not_known.yml +135 -0
  74. data/test/vcr_cassettes/people_show/should_not_see_the_top_pick_image_with_the_other_images.yml +399 -0
  75. data/test/vcr_cassettes/people_show/should_provide_a_link_to_a_video_as_an_image_and_make_it_a_top_pick.yml +399 -0
  76. data/test/vcr_cassettes/people_show/should_provide_a_link_to_other_videos_as_text_links.yml +399 -0
  77. data/test/vcr_cassettes/people_show/should_show_a_top_pick_image_near_the_biography.yml +399 -0
  78. data/test/vcr_cassettes/people_show/should_show_name_suffix_if_present.yml +135 -0
  79. data/test/vcr_cassettes/people_show/shows_person_content.yml +399 -0
  80. metadata +180 -59
  81. checksums.yaml +0 -7
  82. data/test/dummy/tmp/cache/assets/D36/B10/sprockets%2F3a3013990e54d3e944c21c6a9ed0b5de +0 -0
  83. data/test/dummy/tmp/cache/assets/D55/830/sprockets%2Fbd750c0ba01430d321ae77fbc2b238f9 +0 -0
  84. data/test/dummy/tmp/capybara/capybara-201209271510033933274391.html +0 -13
  85. data/test/dummy/tmp/capybara/capybara-201209271512386994415403.html +0 -13
  86. data/test/dummy/tmp/capybara/capybara-201209271515157873796042.html +0 -165
  87. data/test/dummy/tmp/capybara/capybara-201209271517053504547394.html +0 -165
  88. data/test/dummy/tmp/capybara/capybara-201209271520578220954785.html +0 -165
  89. data/test/dummy/tmp/capybara/capybara-201209271522457231789910.html +0 -165
  90. data/test/dummy/tmp/capybara/capybara-201209271524374294425819.html +0 -165
  91. data/test/dummy/tmp/capybara/capybara-201209271526597280429369.html +0 -165
  92. data/test/dummy/tmp/capybara/capybara-201209271529595570902080.html +0 -165
@@ -0,0 +1,567 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/url
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"url":"http://127.0.0.1:60316/admin/kinney_clips/new"}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json; charset=utf-8
14
+ Content-Length:
15
+ - '55'
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=UTF-8
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '87'
31
+ Server:
32
+ - httpd.js
33
+ Date:
34
+ - Fri, 29 Mar 2013 16:33:27 GMT
35
+ body:
36
+ encoding: UTF-8
37
+ string: '{"name":"get","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
38
+ http_version:
39
+ recorded_at: Fri, 29 Mar 2013 16:33:27 GMT
40
+ - request:
41
+ method: post
42
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
43
+ body:
44
+ encoding: UTF-8
45
+ string: '{"using":"xpath","value":".//*[@id = ''kinney_clip_submit_action'']//input[@disabled
46
+ = ''disabled'']"}'
47
+ headers:
48
+ Accept:
49
+ - application/json
50
+ Content-Type:
51
+ - application/json; charset=utf-8
52
+ Content-Length:
53
+ - '98'
54
+ Accept-Encoding:
55
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
56
+ User-Agent:
57
+ - Ruby
58
+ response:
59
+ status:
60
+ code: 200
61
+ message: OK
62
+ headers:
63
+ Content-Type:
64
+ - application/json; charset=UTF-8
65
+ Connection:
66
+ - close
67
+ Content-Length:
68
+ - '148'
69
+ Server:
70
+ - httpd.js
71
+ Date:
72
+ - Fri, 29 Mar 2013 16:33:27 GMT
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{b168c769-ef7c-4a11-b5b8-59594c807960}"}]}'
76
+ http_version:
77
+ recorded_at: Fri, 29 Mar 2013 16:33:27 GMT
78
+ - request:
79
+ method: post
80
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
81
+ body:
82
+ encoding: UTF-8
83
+ string: '{"using":"xpath","value":".//*[self::input | self::textarea][not(./@type
84
+ = ''submit'' or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox''
85
+ or ./@type = ''hidden'' or ./@type = ''file'')][(((./@id = ''Filename'' or
86
+ ./@name = ''Filename'') or ./@placeholder = ''Filename'') or ./@id = //label[contains(normalize-space(string(.)),
87
+ ''Filename'')]/@for)][not(./@disabled)] | .//label[contains(normalize-space(string(.)),
88
+ ''Filename'')]//.//*[self::input | self::textarea][not(./@type = ''submit''
89
+ or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox'' or
90
+ ./@type = ''hidden'' or ./@type = ''file'')][not(./@disabled)]"}'
91
+ headers:
92
+ Accept:
93
+ - application/json
94
+ Content-Type:
95
+ - application/json; charset=utf-8
96
+ Content-Length:
97
+ - '616'
98
+ Accept-Encoding:
99
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
100
+ User-Agent:
101
+ - Ruby
102
+ response:
103
+ status:
104
+ code: 200
105
+ message: OK
106
+ headers:
107
+ Content-Type:
108
+ - application/json; charset=UTF-8
109
+ Connection:
110
+ - close
111
+ Content-Length:
112
+ - '148'
113
+ Server:
114
+ - httpd.js
115
+ Date:
116
+ - Fri, 29 Mar 2013 16:33:27 GMT
117
+ body:
118
+ encoding: UTF-8
119
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{eb5bc411-dc6a-4a6d-9003-c627abf8e1e8}"}]}'
120
+ http_version:
121
+ recorded_at: Fri, 29 Mar 2013 16:33:27 GMT
122
+ - request:
123
+ method: get
124
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Beb5bc411-dc6a-4a6d-9003-c627abf8e1e8%7D/name
125
+ body:
126
+ encoding: US-ASCII
127
+ string: ''
128
+ headers:
129
+ Accept:
130
+ - application/json
131
+ Cache-Control:
132
+ - no-cache
133
+ Accept-Encoding:
134
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
135
+ User-Agent:
136
+ - Ruby
137
+ response:
138
+ status:
139
+ code: 200
140
+ message: OK
141
+ headers:
142
+ Content-Type:
143
+ - application/json; charset=UTF-8
144
+ Connection:
145
+ - close
146
+ Content-Length:
147
+ - '106'
148
+ Server:
149
+ - httpd.js
150
+ Date:
151
+ - Fri, 29 Mar 2013 16:33:27 GMT
152
+ body:
153
+ encoding: UTF-8
154
+ string: '{"name":"getElementTagName","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"input"}'
155
+ http_version:
156
+ recorded_at: Fri, 29 Mar 2013 16:33:27 GMT
157
+ - request:
158
+ method: get
159
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Beb5bc411-dc6a-4a6d-9003-c627abf8e1e8%7D/attribute/type
160
+ body:
161
+ encoding: US-ASCII
162
+ string: ''
163
+ headers:
164
+ Accept:
165
+ - application/json
166
+ Cache-Control:
167
+ - no-cache
168
+ Accept-Encoding:
169
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
170
+ User-Agent:
171
+ - Ruby
172
+ response:
173
+ status:
174
+ code: 200
175
+ message: OK
176
+ headers:
177
+ Content-Type:
178
+ - application/json; charset=UTF-8
179
+ Connection:
180
+ - close
181
+ Content-Length:
182
+ - '107'
183
+ Server:
184
+ - httpd.js
185
+ Date:
186
+ - Fri, 29 Mar 2013 16:33:27 GMT
187
+ body:
188
+ encoding: UTF-8
189
+ string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"text"}'
190
+ http_version:
191
+ recorded_at: Fri, 29 Mar 2013 16:33:27 GMT
192
+ - request:
193
+ method: post
194
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/execute
195
+ body:
196
+ encoding: UTF-8
197
+ string: '{"script":"arguments[0].value = ''''","args":[{"ELEMENT":"{eb5bc411-dc6a-4a6d-9003-c627abf8e1e8}"}]}'
198
+ headers:
199
+ Accept:
200
+ - application/json
201
+ Content-Type:
202
+ - application/json; charset=utf-8
203
+ Content-Length:
204
+ - '98'
205
+ Accept-Encoding:
206
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
207
+ User-Agent:
208
+ - Ruby
209
+ response:
210
+ status:
211
+ code: 200
212
+ message: OK
213
+ headers:
214
+ Content-Type:
215
+ - application/json; charset=UTF-8
216
+ Connection:
217
+ - close
218
+ Content-Length:
219
+ - '99'
220
+ Server:
221
+ - httpd.js
222
+ Date:
223
+ - Fri, 29 Mar 2013 16:33:27 GMT
224
+ body:
225
+ encoding: UTF-8
226
+ string: '{"name":"executeScript","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
227
+ http_version:
228
+ recorded_at: Fri, 29 Mar 2013 16:33:27 GMT
229
+ - request:
230
+ method: post
231
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Beb5bc411-dc6a-4a6d-9003-c627abf8e1e8%7D/value
232
+ body:
233
+ encoding: UTF-8
234
+ string: '{"value":["atkins-campuslife_fire"]}'
235
+ headers:
236
+ Accept:
237
+ - application/json
238
+ Content-Type:
239
+ - application/json; charset=utf-8
240
+ Content-Length:
241
+ - '36'
242
+ Accept-Encoding:
243
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
244
+ User-Agent:
245
+ - Ruby
246
+ response:
247
+ status:
248
+ code: 200
249
+ message: OK
250
+ headers:
251
+ Content-Type:
252
+ - application/json; charset=UTF-8
253
+ Connection:
254
+ - close
255
+ Content-Length:
256
+ - '101'
257
+ Server:
258
+ - httpd.js
259
+ Date:
260
+ - Fri, 29 Mar 2013 16:33:28 GMT
261
+ body:
262
+ encoding: UTF-8
263
+ string: '{"name":"sendKeysToElement","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
264
+ http_version:
265
+ recorded_at: Fri, 29 Mar 2013 16:33:28 GMT
266
+ - request:
267
+ method: post
268
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/execute
269
+ body:
270
+ encoding: UTF-8
271
+ string: '{"script":"$(''#kinney_clip_filename'').trigger(''focus'')","args":[]}'
272
+ headers:
273
+ Accept:
274
+ - application/json
275
+ Content-Type:
276
+ - application/json; charset=utf-8
277
+ Content-Length:
278
+ - '66'
279
+ Accept-Encoding:
280
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
281
+ User-Agent:
282
+ - Ruby
283
+ response:
284
+ status:
285
+ code: 200
286
+ message: OK
287
+ headers:
288
+ Content-Type:
289
+ - application/json; charset=UTF-8
290
+ Connection:
291
+ - close
292
+ Content-Length:
293
+ - '99'
294
+ Server:
295
+ - httpd.js
296
+ Date:
297
+ - Fri, 29 Mar 2013 16:33:28 GMT
298
+ body:
299
+ encoding: UTF-8
300
+ string: '{"name":"executeScript","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
301
+ http_version:
302
+ recorded_at: Fri, 29 Mar 2013 16:33:28 GMT
303
+ - request:
304
+ method: post
305
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
306
+ body:
307
+ encoding: UTF-8
308
+ string: '{"using":"xpath","value":".//*[@id = ''kinney_clip_submit'' and @disabled
309
+ = ''disabled'']"}'
310
+ headers:
311
+ Accept:
312
+ - application/json
313
+ Content-Type:
314
+ - application/json; charset=utf-8
315
+ Content-Length:
316
+ - '87'
317
+ Accept-Encoding:
318
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
319
+ User-Agent:
320
+ - Ruby
321
+ response:
322
+ status:
323
+ code: 200
324
+ message: OK
325
+ headers:
326
+ Content-Type:
327
+ - application/json; charset=UTF-8
328
+ Connection:
329
+ - close
330
+ Content-Length:
331
+ - '96'
332
+ Server:
333
+ - httpd.js
334
+ Date:
335
+ - Fri, 29 Mar 2013 16:33:28 GMT
336
+ body:
337
+ encoding: UTF-8
338
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[]}'
339
+ http_version:
340
+ recorded_at: Fri, 29 Mar 2013 16:33:28 GMT
341
+ - request:
342
+ method: post
343
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
344
+ body:
345
+ encoding: UTF-8
346
+ string: '{"using":"xpath","value":".//*[self::input | self::textarea][not(./@type
347
+ = ''submit'' or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox''
348
+ or ./@type = ''hidden'' or ./@type = ''file'')][(((./@id = ''Filename'' or
349
+ ./@name = ''Filename'') or ./@placeholder = ''Filename'') or ./@id = //label[contains(normalize-space(string(.)),
350
+ ''Filename'')]/@for)][not(./@disabled)] | .//label[contains(normalize-space(string(.)),
351
+ ''Filename'')]//.//*[self::input | self::textarea][not(./@type = ''submit''
352
+ or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox'' or
353
+ ./@type = ''hidden'' or ./@type = ''file'')][not(./@disabled)]"}'
354
+ headers:
355
+ Accept:
356
+ - application/json
357
+ Content-Type:
358
+ - application/json; charset=utf-8
359
+ Content-Length:
360
+ - '616'
361
+ Accept-Encoding:
362
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
363
+ User-Agent:
364
+ - Ruby
365
+ response:
366
+ status:
367
+ code: 200
368
+ message: OK
369
+ headers:
370
+ Content-Type:
371
+ - application/json; charset=UTF-8
372
+ Connection:
373
+ - close
374
+ Content-Length:
375
+ - '148'
376
+ Server:
377
+ - httpd.js
378
+ Date:
379
+ - Fri, 29 Mar 2013 16:33:28 GMT
380
+ body:
381
+ encoding: UTF-8
382
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{eb5bc411-dc6a-4a6d-9003-c627abf8e1e8}"}]}'
383
+ http_version:
384
+ recorded_at: Fri, 29 Mar 2013 16:33:28 GMT
385
+ - request:
386
+ method: get
387
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Beb5bc411-dc6a-4a6d-9003-c627abf8e1e8%7D/name
388
+ body:
389
+ encoding: US-ASCII
390
+ string: ''
391
+ headers:
392
+ Accept:
393
+ - application/json
394
+ Cache-Control:
395
+ - no-cache
396
+ Accept-Encoding:
397
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
398
+ User-Agent:
399
+ - Ruby
400
+ response:
401
+ status:
402
+ code: 200
403
+ message: OK
404
+ headers:
405
+ Content-Type:
406
+ - application/json; charset=UTF-8
407
+ Connection:
408
+ - close
409
+ Content-Length:
410
+ - '106'
411
+ Server:
412
+ - httpd.js
413
+ Date:
414
+ - Fri, 29 Mar 2013 16:33:28 GMT
415
+ body:
416
+ encoding: UTF-8
417
+ string: '{"name":"getElementTagName","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"input"}'
418
+ http_version:
419
+ recorded_at: Fri, 29 Mar 2013 16:33:28 GMT
420
+ - request:
421
+ method: get
422
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Beb5bc411-dc6a-4a6d-9003-c627abf8e1e8%7D/attribute/type
423
+ body:
424
+ encoding: US-ASCII
425
+ string: ''
426
+ headers:
427
+ Accept:
428
+ - application/json
429
+ Cache-Control:
430
+ - no-cache
431
+ Accept-Encoding:
432
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
433
+ User-Agent:
434
+ - Ruby
435
+ response:
436
+ status:
437
+ code: 200
438
+ message: OK
439
+ headers:
440
+ Content-Type:
441
+ - application/json; charset=UTF-8
442
+ Connection:
443
+ - close
444
+ Content-Length:
445
+ - '107'
446
+ Server:
447
+ - httpd.js
448
+ Date:
449
+ - Fri, 29 Mar 2013 16:33:28 GMT
450
+ body:
451
+ encoding: UTF-8
452
+ string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"text"}'
453
+ http_version:
454
+ recorded_at: Fri, 29 Mar 2013 16:33:28 GMT
455
+ - request:
456
+ method: post
457
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/execute
458
+ body:
459
+ encoding: UTF-8
460
+ string: '{"script":"arguments[0].value = ''''","args":[{"ELEMENT":"{eb5bc411-dc6a-4a6d-9003-c627abf8e1e8}"}]}'
461
+ headers:
462
+ Accept:
463
+ - application/json
464
+ Content-Type:
465
+ - application/json; charset=utf-8
466
+ Content-Length:
467
+ - '98'
468
+ Accept-Encoding:
469
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
470
+ User-Agent:
471
+ - Ruby
472
+ response:
473
+ status:
474
+ code: 200
475
+ message: OK
476
+ headers:
477
+ Content-Type:
478
+ - application/json; charset=UTF-8
479
+ Connection:
480
+ - close
481
+ Content-Length:
482
+ - '99'
483
+ Server:
484
+ - httpd.js
485
+ Date:
486
+ - Fri, 29 Mar 2013 16:33:28 GMT
487
+ body:
488
+ encoding: UTF-8
489
+ string: '{"name":"executeScript","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
490
+ http_version:
491
+ recorded_at: Fri, 29 Mar 2013 16:33:28 GMT
492
+ - request:
493
+ method: post
494
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Beb5bc411-dc6a-4a6d-9003-c627abf8e1e8%7D/value
495
+ body:
496
+ encoding: UTF-8
497
+ string: '{"value":["atkins-campuslife"]}'
498
+ headers:
499
+ Accept:
500
+ - application/json
501
+ Content-Type:
502
+ - application/json; charset=utf-8
503
+ Content-Length:
504
+ - '31'
505
+ Accept-Encoding:
506
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
507
+ User-Agent:
508
+ - Ruby
509
+ response:
510
+ status:
511
+ code: 200
512
+ message: OK
513
+ headers:
514
+ Content-Type:
515
+ - application/json; charset=UTF-8
516
+ Connection:
517
+ - close
518
+ Content-Length:
519
+ - '101'
520
+ Server:
521
+ - httpd.js
522
+ Date:
523
+ - Fri, 29 Mar 2013 16:33:28 GMT
524
+ body:
525
+ encoding: UTF-8
526
+ string: '{"name":"sendKeysToElement","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
527
+ http_version:
528
+ recorded_at: Fri, 29 Mar 2013 16:33:28 GMT
529
+ - request:
530
+ method: post
531
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
532
+ body:
533
+ encoding: UTF-8
534
+ string: '{"using":"xpath","value":".//*[@id = ''kinney_clip_submit_action'']//input[@disabled
535
+ = ''disabled'']"}'
536
+ headers:
537
+ Accept:
538
+ - application/json
539
+ Content-Type:
540
+ - application/json; charset=utf-8
541
+ Content-Length:
542
+ - '98'
543
+ Accept-Encoding:
544
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
545
+ User-Agent:
546
+ - Ruby
547
+ response:
548
+ status:
549
+ code: 200
550
+ message: OK
551
+ headers:
552
+ Content-Type:
553
+ - application/json; charset=UTF-8
554
+ Connection:
555
+ - close
556
+ Content-Length:
557
+ - '148'
558
+ Server:
559
+ - httpd.js
560
+ Date:
561
+ - Fri, 29 Mar 2013 16:33:28 GMT
562
+ body:
563
+ encoding: UTF-8
564
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{b168c769-ef7c-4a11-b5b8-59594c807960}"}]}'
565
+ http_version:
566
+ recorded_at: Fri, 29 Mar 2013 16:33:29 GMT
567
+ recorded_with: VCR 2.4.0