kinney 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +2 -2
- data/Rakefile +4 -0
- data/app/admin/clips.rb +40 -1
- data/app/assets/javascripts/kinney/admin/video_preview.js +1 -1
- data/app/controllers/kinney/tracker_controller.rb +0 -34
- data/app/helpers/kinney/general_helper.rb +1 -1
- data/app/models/kinney/clip.rb +5 -2
- data/app/models/kinney/person.rb +11 -11
- data/app/views/{kinney/tracker → admin/kinney_clips}/_video_engagement_chart.html.erb +15 -0
- data/app/views/{kinney/tracker/analyze.html.erb → admin/kinney_clips/analyze_tracker.html.erb} +5 -3
- data/app/views/kinney/clips/show.html.erb +1 -1
- data/app/views/kinney/people/index.html.erb +4 -3
- data/app/views/kinney/sitemap/index.xml.builder +1 -1
- data/config/routes.rb +1 -1
- data/lib/kinney/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +33694 -0
- data/test/dummy/log/test.log +29895 -0
- data/test/dummy/tmp/cache/assets/CBF/9B0/sprockets%2Fe283548d3ef4505c82279198e09b53fa +0 -0
- data/test/dummy/tmp/cache/assets/D0B/560/sprockets%2F33db47d8bb65ee7457b03336420a55fd +0 -0
- data/test/functional/kinney/admin_clips_controller_test.rb +24 -0
- data/test/functional/kinney/clips_controller_test.rb +5 -3
- data/test/functional/kinney/people_controller_test.rb +5 -3
- data/test/functional/kinney/tracker_controller_test.rb +0 -6
- data/test/integration/admin_clip_test.rb +14 -11
- data/test/integration/admin_images_test.rb +8 -7
- data/test/integration/clips_index_test.rb +9 -6
- data/test/integration/clips_show_test.rb +11 -8
- data/test/integration/microdata_test.rb +40 -0
- data/test/integration/navigation_test.rb +7 -5
- data/test/integration/people_index_test.rb +7 -4
- data/test/integration/people_show_test.rb +14 -12
- data/test/support/test_with_cassette.rb +38 -0
- data/test/test_helper.rb +18 -2
- data/test/unit/clip_test.rb +5 -0
- data/test/vcr_cassettes/admin_clip/add_a_description_for_a_clip.yml +272 -0
- data/test/vcr_cassettes/admin_clip/admin_user_can_create_new_clip.yml +114 -0
- data/test/vcr_cassettes/admin_clip/display_whether_there_is_a_VTT_file_for_a_clip.yml +613 -0
- data/test/vcr_cassettes/admin_clip/do_not_allow_submission_of_clip_if_there_is_no_webvtt_file.yml +567 -0
- data/test/vcr_cassettes/admin_images/user_should_not_be_able_to_create_slug.yml +967 -0
- data/test/vcr_cassettes/admin_images/user_should_see_associated_name_for_image_on_index_view.yml +561 -0
- data/test/vcr_cassettes/admin_images/user_should_see_associated_name_for_image_on_show_view.yml +162 -0
- data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_edit_page.yml +186 -0
- data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_new_image_page.yml +374 -0
- data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_show_page.yml +193 -0
- data/test/vcr_cassettes/clips_controller/should_assign_a_webvtt_variable.yml +154 -0
- data/test/vcr_cassettes/clips_controller/should_assign_title_for_a_show_view.yml +136 -0
- data/test/vcr_cassettes/clips_controller/should_get_show.yml +136 -0
- data/test/vcr_cassettes/clips_index/clicking_on_a_video_thumbnail_should_go_to_a_video_clip.yml +154 -0
- data/test/vcr_cassettes/clips_show/should_expand/collapse_the_transcript.yml +154 -0
- data/test/vcr_cassettes/clips_show/should_have_link_to_other_videos_by_the_same_person.yml +136 -0
- data/test/vcr_cassettes/clips_show/should_have_link_to_profile.yml +136 -0
- data/test/vcr_cassettes/clips_show/should_not_see_More_videos_on_topics_with_link_under_video.yml +136 -0
- data/test/vcr_cassettes/clips_show/should_not_see_Video_Topics_section_on_page.yml +136 -0
- data/test/vcr_cassettes/clips_show/should_show_basic_information_about_a_clip.yml +136 -0
- data/test/vcr_cassettes/clips_show/should_show_other_clips_related_by_topic.yml +136 -0
- data/test/vcr_cassettes/clips_show/should_show_the_transcript.yml +154 -0
- data/test/vcr_cassettes/microdata/clip_show_view_should_have_microdata.yml +136 -0
- data/test/vcr_cassettes/microdata/person_show_view_should_have_microdata.yml +399 -0
- data/test/vcr_cassettes/navigation/there_should_be_a_link_to_People_in_the_global_navigation.yml +267 -0
- data/test/vcr_cassettes/people_controller/should_get_index.yml +267 -0
- data/test/vcr_cassettes/people_controller/should_get_show.yml +399 -0
- data/test/vcr_cassettes/people_controller/show_view_should_have_a_title.yml +399 -0
- data/test/vcr_cassettes/people_index/links_to_show_view_for_person_with_video.yml +663 -0
- data/test/vcr_cassettes/people_index/links_to_show_view_for_person_without_video.yml +267 -0
- data/test/vcr_cassettes/people_index/shows_people.yml +267 -0
- data/test/vcr_cassettes/people_index/sort_profile_images.yml +267 -0
- 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
- data/test/vcr_cassettes/people_show/should_display_a_map_if_the_location_the_person_grew_up_is_known.yml +399 -0
- data/test/vcr_cassettes/people_show/should_display_the_information_like_description__interview_date_and_time_below_video_clip.yml +136 -0
- data/test/vcr_cassettes/people_show/should_give_a_link_to_other_videos_with_the_same_person.yml +534 -0
- data/test/vcr_cassettes/people_show/should_not_display_a_map_if_the_location_the_person_grew_up_is_not_known.yml +135 -0
- data/test/vcr_cassettes/people_show/should_not_see_the_top_pick_image_with_the_other_images.yml +399 -0
- 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
- data/test/vcr_cassettes/people_show/should_provide_a_link_to_other_videos_as_text_links.yml +399 -0
- data/test/vcr_cassettes/people_show/should_show_a_top_pick_image_near_the_biography.yml +399 -0
- data/test/vcr_cassettes/people_show/should_show_name_suffix_if_present.yml +135 -0
- data/test/vcr_cassettes/people_show/shows_person_content.yml +399 -0
- metadata +180 -59
- checksums.yaml +0 -7
- data/test/dummy/tmp/cache/assets/D36/B10/sprockets%2F3a3013990e54d3e944c21c6a9ed0b5de +0 -0
- data/test/dummy/tmp/cache/assets/D55/830/sprockets%2Fbd750c0ba01430d321ae77fbc2b238f9 +0 -0
- data/test/dummy/tmp/capybara/capybara-201209271510033933274391.html +0 -13
- data/test/dummy/tmp/capybara/capybara-201209271512386994415403.html +0 -13
- data/test/dummy/tmp/capybara/capybara-201209271515157873796042.html +0 -165
- data/test/dummy/tmp/capybara/capybara-201209271517053504547394.html +0 -165
- data/test/dummy/tmp/capybara/capybara-201209271520578220954785.html +0 -165
- data/test/dummy/tmp/capybara/capybara-201209271522457231789910.html +0 -165
- data/test/dummy/tmp/capybara/capybara-201209271524374294425819.html +0 -165
- data/test/dummy/tmp/capybara/capybara-201209271526597280429369.html +0 -165
- data/test/dummy/tmp/capybara/capybara-201209271529595570902080.html +0 -165
@@ -0,0 +1,186 @@
|
|
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_images/814402043/edit"}'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json; charset=utf-8
|
14
|
+
Content-Length:
|
15
|
+
- '67'
|
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:53 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:53 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 = ''preview_image'']"}'
|
46
|
+
headers:
|
47
|
+
Accept:
|
48
|
+
- application/json
|
49
|
+
Content-Type:
|
50
|
+
- application/json; charset=utf-8
|
51
|
+
Content-Length:
|
52
|
+
- '55'
|
53
|
+
Accept-Encoding:
|
54
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
response:
|
58
|
+
status:
|
59
|
+
code: 200
|
60
|
+
message: OK
|
61
|
+
headers:
|
62
|
+
Content-Type:
|
63
|
+
- application/json; charset=UTF-8
|
64
|
+
Connection:
|
65
|
+
- close
|
66
|
+
Content-Length:
|
67
|
+
- '148'
|
68
|
+
Server:
|
69
|
+
- httpd.js
|
70
|
+
Date:
|
71
|
+
- Fri, 29 Mar 2013 16:33:53 GMT
|
72
|
+
body:
|
73
|
+
encoding: UTF-8
|
74
|
+
string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{f9356863-325e-4616-9bba-7959239ef407}"}]}'
|
75
|
+
http_version:
|
76
|
+
recorded_at: Fri, 29 Mar 2013 16:33:53 GMT
|
77
|
+
- request:
|
78
|
+
method: post
|
79
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bf9356863-325e-4616-9bba-7959239ef407%7D/elements
|
80
|
+
body:
|
81
|
+
encoding: UTF-8
|
82
|
+
string: '{"using":"xpath","value":".//img"}'
|
83
|
+
headers:
|
84
|
+
Accept:
|
85
|
+
- application/json
|
86
|
+
Content-Type:
|
87
|
+
- application/json; charset=utf-8
|
88
|
+
Content-Length:
|
89
|
+
- '34'
|
90
|
+
Accept-Encoding:
|
91
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
92
|
+
User-Agent:
|
93
|
+
- Ruby
|
94
|
+
response:
|
95
|
+
status:
|
96
|
+
code: 200
|
97
|
+
message: OK
|
98
|
+
headers:
|
99
|
+
Content-Type:
|
100
|
+
- application/json; charset=UTF-8
|
101
|
+
Connection:
|
102
|
+
- close
|
103
|
+
Content-Length:
|
104
|
+
- '153'
|
105
|
+
Server:
|
106
|
+
- httpd.js
|
107
|
+
Date:
|
108
|
+
- Fri, 29 Mar 2013 16:33:53 GMT
|
109
|
+
body:
|
110
|
+
encoding: UTF-8
|
111
|
+
string: '{"name":"findChildElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{bffb9b50-21b9-4111-a334-3f86e08d45f3}"}]}'
|
112
|
+
http_version:
|
113
|
+
recorded_at: Fri, 29 Mar 2013 16:33:53 GMT
|
114
|
+
- request:
|
115
|
+
method: post
|
116
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
|
117
|
+
body:
|
118
|
+
encoding: UTF-8
|
119
|
+
string: '{"using":"xpath","value":".//*[@id = ''preview_image'']//img"}'
|
120
|
+
headers:
|
121
|
+
Accept:
|
122
|
+
- application/json
|
123
|
+
Content-Type:
|
124
|
+
- application/json; charset=utf-8
|
125
|
+
Content-Length:
|
126
|
+
- '60'
|
127
|
+
Accept-Encoding:
|
128
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
129
|
+
User-Agent:
|
130
|
+
- Ruby
|
131
|
+
response:
|
132
|
+
status:
|
133
|
+
code: 200
|
134
|
+
message: OK
|
135
|
+
headers:
|
136
|
+
Content-Type:
|
137
|
+
- application/json; charset=UTF-8
|
138
|
+
Connection:
|
139
|
+
- close
|
140
|
+
Content-Length:
|
141
|
+
- '148'
|
142
|
+
Server:
|
143
|
+
- httpd.js
|
144
|
+
Date:
|
145
|
+
- Fri, 29 Mar 2013 16:33:53 GMT
|
146
|
+
body:
|
147
|
+
encoding: UTF-8
|
148
|
+
string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{bffb9b50-21b9-4111-a334-3f86e08d45f3}"}]}'
|
149
|
+
http_version:
|
150
|
+
recorded_at: Fri, 29 Mar 2013 16:33:53 GMT
|
151
|
+
- request:
|
152
|
+
method: get
|
153
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bbffb9b50-21b9-4111-a334-3f86e08d45f3%7D/attribute/src
|
154
|
+
body:
|
155
|
+
encoding: US-ASCII
|
156
|
+
string: ''
|
157
|
+
headers:
|
158
|
+
Accept:
|
159
|
+
- application/json
|
160
|
+
Cache-Control:
|
161
|
+
- no-cache
|
162
|
+
Accept-Encoding:
|
163
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
164
|
+
User-Agent:
|
165
|
+
- Ruby
|
166
|
+
response:
|
167
|
+
status:
|
168
|
+
code: 200
|
169
|
+
message: OK
|
170
|
+
headers:
|
171
|
+
Content-Type:
|
172
|
+
- application/json; charset=UTF-8
|
173
|
+
Connection:
|
174
|
+
- close
|
175
|
+
Content-Length:
|
176
|
+
- '305'
|
177
|
+
Server:
|
178
|
+
- httpd.js
|
179
|
+
Date:
|
180
|
+
- Fri, 29 Mar 2013 16:33:53 GMT
|
181
|
+
body:
|
182
|
+
encoding: UTF-8
|
183
|
+
string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=si-ag1962-p100-tolson&svc.level=2&svc_id=info%3Alanl-repo%2Fsvc%2FgetRegion&svc_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajpeg2000&url_ver=Z39.88-2004"}'
|
184
|
+
http_version:
|
185
|
+
recorded_at: Fri, 29 Mar 2013 16:33:53 GMT
|
186
|
+
recorded_with: VCR 2.4.0
|
data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_new_image_page.yml
ADDED
@@ -0,0 +1,374 @@
|
|
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_images/new"}'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json; charset=utf-8
|
14
|
+
Content-Length:
|
15
|
+
- '56'
|
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:57 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:57 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":".//*[self::input | self::textarea][not(./@type
|
46
|
+
= ''submit'' or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox''
|
47
|
+
or ./@type = ''hidden'' or ./@type = ''file'')][(((./@id = ''Filename'' or
|
48
|
+
./@name = ''Filename'') or ./@placeholder = ''Filename'') or ./@id = //label[contains(normalize-space(string(.)),
|
49
|
+
''Filename'')]/@for)][not(./@disabled)] | .//label[contains(normalize-space(string(.)),
|
50
|
+
''Filename'')]//.//*[self::input | self::textarea][not(./@type = ''submit''
|
51
|
+
or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox'' or
|
52
|
+
./@type = ''hidden'' or ./@type = ''file'')][not(./@disabled)]"}'
|
53
|
+
headers:
|
54
|
+
Accept:
|
55
|
+
- application/json
|
56
|
+
Content-Type:
|
57
|
+
- application/json; charset=utf-8
|
58
|
+
Content-Length:
|
59
|
+
- '616'
|
60
|
+
Accept-Encoding:
|
61
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
62
|
+
User-Agent:
|
63
|
+
- Ruby
|
64
|
+
response:
|
65
|
+
status:
|
66
|
+
code: 200
|
67
|
+
message: OK
|
68
|
+
headers:
|
69
|
+
Content-Type:
|
70
|
+
- application/json; charset=UTF-8
|
71
|
+
Connection:
|
72
|
+
- close
|
73
|
+
Content-Length:
|
74
|
+
- '148'
|
75
|
+
Server:
|
76
|
+
- httpd.js
|
77
|
+
Date:
|
78
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
79
|
+
body:
|
80
|
+
encoding: UTF-8
|
81
|
+
string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{57a391ab-91f0-4083-83fd-5427be0f08d0}"}]}'
|
82
|
+
http_version:
|
83
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
84
|
+
- request:
|
85
|
+
method: get
|
86
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B57a391ab-91f0-4083-83fd-5427be0f08d0%7D/name
|
87
|
+
body:
|
88
|
+
encoding: US-ASCII
|
89
|
+
string: ''
|
90
|
+
headers:
|
91
|
+
Accept:
|
92
|
+
- application/json
|
93
|
+
Cache-Control:
|
94
|
+
- no-cache
|
95
|
+
Accept-Encoding:
|
96
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
97
|
+
User-Agent:
|
98
|
+
- Ruby
|
99
|
+
response:
|
100
|
+
status:
|
101
|
+
code: 200
|
102
|
+
message: OK
|
103
|
+
headers:
|
104
|
+
Content-Type:
|
105
|
+
- application/json; charset=UTF-8
|
106
|
+
Connection:
|
107
|
+
- close
|
108
|
+
Content-Length:
|
109
|
+
- '106'
|
110
|
+
Server:
|
111
|
+
- httpd.js
|
112
|
+
Date:
|
113
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
114
|
+
body:
|
115
|
+
encoding: UTF-8
|
116
|
+
string: '{"name":"getElementTagName","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"input"}'
|
117
|
+
http_version:
|
118
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
119
|
+
- request:
|
120
|
+
method: get
|
121
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B57a391ab-91f0-4083-83fd-5427be0f08d0%7D/attribute/type
|
122
|
+
body:
|
123
|
+
encoding: US-ASCII
|
124
|
+
string: ''
|
125
|
+
headers:
|
126
|
+
Accept:
|
127
|
+
- application/json
|
128
|
+
Cache-Control:
|
129
|
+
- no-cache
|
130
|
+
Accept-Encoding:
|
131
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
132
|
+
User-Agent:
|
133
|
+
- Ruby
|
134
|
+
response:
|
135
|
+
status:
|
136
|
+
code: 200
|
137
|
+
message: OK
|
138
|
+
headers:
|
139
|
+
Content-Type:
|
140
|
+
- application/json; charset=UTF-8
|
141
|
+
Connection:
|
142
|
+
- close
|
143
|
+
Content-Length:
|
144
|
+
- '107'
|
145
|
+
Server:
|
146
|
+
- httpd.js
|
147
|
+
Date:
|
148
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
149
|
+
body:
|
150
|
+
encoding: UTF-8
|
151
|
+
string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"text"}'
|
152
|
+
http_version:
|
153
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
154
|
+
- request:
|
155
|
+
method: post
|
156
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/execute
|
157
|
+
body:
|
158
|
+
encoding: UTF-8
|
159
|
+
string: '{"script":"arguments[0].value = ''''","args":[{"ELEMENT":"{57a391ab-91f0-4083-83fd-5427be0f08d0}"}]}'
|
160
|
+
headers:
|
161
|
+
Accept:
|
162
|
+
- application/json
|
163
|
+
Content-Type:
|
164
|
+
- application/json; charset=utf-8
|
165
|
+
Content-Length:
|
166
|
+
- '98'
|
167
|
+
Accept-Encoding:
|
168
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
169
|
+
User-Agent:
|
170
|
+
- Ruby
|
171
|
+
response:
|
172
|
+
status:
|
173
|
+
code: 200
|
174
|
+
message: OK
|
175
|
+
headers:
|
176
|
+
Content-Type:
|
177
|
+
- application/json; charset=UTF-8
|
178
|
+
Connection:
|
179
|
+
- close
|
180
|
+
Content-Length:
|
181
|
+
- '99'
|
182
|
+
Server:
|
183
|
+
- httpd.js
|
184
|
+
Date:
|
185
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
186
|
+
body:
|
187
|
+
encoding: UTF-8
|
188
|
+
string: '{"name":"executeScript","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
|
189
|
+
http_version:
|
190
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B57a391ab-91f0-4083-83fd-5427be0f08d0%7D/value
|
194
|
+
body:
|
195
|
+
encoding: UTF-8
|
196
|
+
string: '{"value":["0000001"]}'
|
197
|
+
headers:
|
198
|
+
Accept:
|
199
|
+
- application/json
|
200
|
+
Content-Type:
|
201
|
+
- application/json; charset=utf-8
|
202
|
+
Content-Length:
|
203
|
+
- '21'
|
204
|
+
Accept-Encoding:
|
205
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
206
|
+
User-Agent:
|
207
|
+
- Ruby
|
208
|
+
response:
|
209
|
+
status:
|
210
|
+
code: 200
|
211
|
+
message: OK
|
212
|
+
headers:
|
213
|
+
Content-Type:
|
214
|
+
- application/json; charset=UTF-8
|
215
|
+
Connection:
|
216
|
+
- close
|
217
|
+
Content-Length:
|
218
|
+
- '101'
|
219
|
+
Server:
|
220
|
+
- httpd.js
|
221
|
+
Date:
|
222
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
223
|
+
body:
|
224
|
+
encoding: UTF-8
|
225
|
+
string: '{"name":"sendKeysToElement","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
|
226
|
+
http_version:
|
227
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
228
|
+
- request:
|
229
|
+
method: post
|
230
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
|
231
|
+
body:
|
232
|
+
encoding: UTF-8
|
233
|
+
string: '{"using":"xpath","value":".//*[@id = ''preview_image'']"}'
|
234
|
+
headers:
|
235
|
+
Accept:
|
236
|
+
- application/json
|
237
|
+
Content-Type:
|
238
|
+
- application/json; charset=utf-8
|
239
|
+
Content-Length:
|
240
|
+
- '55'
|
241
|
+
Accept-Encoding:
|
242
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
243
|
+
User-Agent:
|
244
|
+
- Ruby
|
245
|
+
response:
|
246
|
+
status:
|
247
|
+
code: 200
|
248
|
+
message: OK
|
249
|
+
headers:
|
250
|
+
Content-Type:
|
251
|
+
- application/json; charset=UTF-8
|
252
|
+
Connection:
|
253
|
+
- close
|
254
|
+
Content-Length:
|
255
|
+
- '148'
|
256
|
+
Server:
|
257
|
+
- httpd.js
|
258
|
+
Date:
|
259
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
260
|
+
body:
|
261
|
+
encoding: UTF-8
|
262
|
+
string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{1f900915-508d-4be4-a389-68c2c9b82b0f}"}]}'
|
263
|
+
http_version:
|
264
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
265
|
+
- request:
|
266
|
+
method: post
|
267
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B1f900915-508d-4be4-a389-68c2c9b82b0f%7D/elements
|
268
|
+
body:
|
269
|
+
encoding: UTF-8
|
270
|
+
string: '{"using":"xpath","value":".//img"}'
|
271
|
+
headers:
|
272
|
+
Accept:
|
273
|
+
- application/json
|
274
|
+
Content-Type:
|
275
|
+
- application/json; charset=utf-8
|
276
|
+
Content-Length:
|
277
|
+
- '34'
|
278
|
+
Accept-Encoding:
|
279
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
280
|
+
User-Agent:
|
281
|
+
- Ruby
|
282
|
+
response:
|
283
|
+
status:
|
284
|
+
code: 200
|
285
|
+
message: OK
|
286
|
+
headers:
|
287
|
+
Content-Type:
|
288
|
+
- application/json; charset=UTF-8
|
289
|
+
Connection:
|
290
|
+
- close
|
291
|
+
Content-Length:
|
292
|
+
- '153'
|
293
|
+
Server:
|
294
|
+
- httpd.js
|
295
|
+
Date:
|
296
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
297
|
+
body:
|
298
|
+
encoding: UTF-8
|
299
|
+
string: '{"name":"findChildElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{bea6d0bc-1500-43af-a30d-6e4cb6bd5f91}"}]}'
|
300
|
+
http_version:
|
301
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
302
|
+
- request:
|
303
|
+
method: post
|
304
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
|
305
|
+
body:
|
306
|
+
encoding: UTF-8
|
307
|
+
string: '{"using":"xpath","value":".//*[@id = ''preview_image'']//img"}'
|
308
|
+
headers:
|
309
|
+
Accept:
|
310
|
+
- application/json
|
311
|
+
Content-Type:
|
312
|
+
- application/json; charset=utf-8
|
313
|
+
Content-Length:
|
314
|
+
- '60'
|
315
|
+
Accept-Encoding:
|
316
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
317
|
+
User-Agent:
|
318
|
+
- Ruby
|
319
|
+
response:
|
320
|
+
status:
|
321
|
+
code: 200
|
322
|
+
message: OK
|
323
|
+
headers:
|
324
|
+
Content-Type:
|
325
|
+
- application/json; charset=UTF-8
|
326
|
+
Connection:
|
327
|
+
- close
|
328
|
+
Content-Length:
|
329
|
+
- '148'
|
330
|
+
Server:
|
331
|
+
- httpd.js
|
332
|
+
Date:
|
333
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
334
|
+
body:
|
335
|
+
encoding: UTF-8
|
336
|
+
string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{bea6d0bc-1500-43af-a30d-6e4cb6bd5f91}"}]}'
|
337
|
+
http_version:
|
338
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
339
|
+
- request:
|
340
|
+
method: get
|
341
|
+
uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bbea6d0bc-1500-43af-a30d-6e4cb6bd5f91%7D/attribute/src
|
342
|
+
body:
|
343
|
+
encoding: US-ASCII
|
344
|
+
string: ''
|
345
|
+
headers:
|
346
|
+
Accept:
|
347
|
+
- application/json
|
348
|
+
Cache-Control:
|
349
|
+
- no-cache
|
350
|
+
Accept-Encoding:
|
351
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
352
|
+
User-Agent:
|
353
|
+
- Ruby
|
354
|
+
response:
|
355
|
+
status:
|
356
|
+
code: 200
|
357
|
+
message: OK
|
358
|
+
headers:
|
359
|
+
Content-Type:
|
360
|
+
- application/json; charset=UTF-8
|
361
|
+
Connection:
|
362
|
+
- close
|
363
|
+
Content-Length:
|
364
|
+
- '291'
|
365
|
+
Server:
|
366
|
+
- httpd.js
|
367
|
+
Date:
|
368
|
+
- Fri, 29 Mar 2013 16:33:57 GMT
|
369
|
+
body:
|
370
|
+
encoding: UTF-8
|
371
|
+
string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"http://scrc.lib.ncsu.edu/adore-djatoka/resolver?rft_id=0000001&svc.level=2&svc_id=info%3Alanl-repo%2Fsvc%2FgetRegion&svc_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajpeg2000&url_ver=Z39.88-2004"}'
|
372
|
+
http_version:
|
373
|
+
recorded_at: Fri, 29 Mar 2013 16:33:57 GMT
|
374
|
+
recorded_with: VCR 2.4.0
|