jasmine-selenium-sauce 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis.yml +1 -0
- data/CHANGELOG.md +16 -0
- data/README.md +65 -44
- data/jasmine-selenium-sauce.gemspec +5 -4
- data/lib/jasmine-selenium-sauce.rb +19 -1
- data/lib/jasmine-selenium-sauce/drivers/selenium_browser_driver.rb +0 -2
- data/lib/jasmine-selenium-sauce/drivers/selenium_saucelabs_driver.rb +0 -2
- data/lib/jasmine-selenium-sauce/local_sauce_config.rb +19 -0
- data/lib/jasmine-selenium-sauce/tasks/jasmine_selenium_sauce.rake +16 -0
- data/lib/jasmine-selenium-sauce/tasks/rake_browser_runner.rb +1 -1
- data/lib/jasmine-selenium-sauce/tasks/rake_local_sauce_runner.rb +22 -0
- data/lib/jasmine-selenium-sauce/tasks/rake_sauce_runner.rb +1 -1
- data/lib/jasmine-selenium-sauce/version.rb +1 -1
- data/lib/localtunnel_patch.rb +28 -0
- data/spec/fixtures/config_fixtures.rb +79 -0
- data/spec/fixtures/vcr_cassettes/jasmine_browser_success.yml +8 -8
- data/spec/fixtures/vcr_cassettes/jasmine_local_saucelabs_failures.yml +352 -0
- data/spec/fixtures/vcr_cassettes/jasmine_local_saucelabs_success.yml +340 -0
- data/spec/fixtures/vcr_cassettes/jasmine_saucelabs_failures.yml +55 -52
- data/spec/fixtures/vcr_cassettes/jasmine_saucelabs_success.yml +43 -41
- data/spec/jasmine-selenium-sauce/browser_config_spec.rb +41 -0
- data/spec/jasmine-selenium-sauce/drivers/selenium_browser_driver_spec.rb +1 -0
- data/spec/jasmine-selenium-sauce/local_sauce_config_spec.rb +61 -0
- data/spec/jasmine-selenium-sauce/sauce_config_spec.rb +3 -70
- data/spec/jasmine-selenium-sauce/selenium_runner_spec.rb +3 -3
- data/spec/jasmine-selenium-sauce_spec.rb +67 -36
- data/spec/support/reporter_fake.rb +2 -2
- data/spec/vcr_helper.rb +8 -1
- metadata +50 -70
- data/lib/jasmine-selenium-sauce/drivers.rb +0 -4
@@ -25,23 +25,23 @@ http_interactions:
|
|
25
25
|
transfer-encoding:
|
26
26
|
- chunked
|
27
27
|
date:
|
28
|
-
-
|
28
|
+
- Mon, 01 Oct 2012 04:47:31 GMT
|
29
29
|
connection:
|
30
30
|
- close
|
31
31
|
content-type:
|
32
32
|
- text/html
|
33
33
|
location:
|
34
|
-
- http://ondemand.saucelabs.com/wd/hub/session/
|
34
|
+
- http://ondemand.saucelabs.com/wd/hub/session/ac1313f82b59423d8875dc9a9661caa7
|
35
35
|
server:
|
36
36
|
- monocle/0.17
|
37
37
|
body:
|
38
38
|
encoding: US-ASCII
|
39
39
|
string: ''
|
40
40
|
http_version: '1.1'
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Mon, 01 Oct 2012 04:47:39 GMT
|
42
42
|
- request:
|
43
43
|
method: get
|
44
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
44
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/ac1313f82b59423d8875dc9a9661caa7
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
47
|
string: ''
|
@@ -60,7 +60,7 @@ http_interactions:
|
|
60
60
|
transfer-encoding:
|
61
61
|
- chunked
|
62
62
|
date:
|
63
|
-
-
|
63
|
+
- Mon, 01 Oct 2012 04:47:39 GMT
|
64
64
|
connection:
|
65
65
|
- close
|
66
66
|
content-type:
|
@@ -69,8 +69,8 @@ http_interactions:
|
|
69
69
|
- monocle/0.17
|
70
70
|
body:
|
71
71
|
encoding: US-ASCII
|
72
|
-
string: ! '{"status": 0, "sessionId": "
|
73
|
-
|
72
|
+
string: ! '{"status": 0, "sessionId": "ac1313f82b59423d8875dc9a9661caa7", "hCode":
|
73
|
+
25537913, "value": {"rotatable": false, "browserConnectionEnabled": false,
|
74
74
|
"acceptSslCerts": false, "cssSelectorsEnabled": true, "javascriptEnabled":
|
75
75
|
true, "nativeEvents": true, "databaseEnabled": false, "chrome.chromedriverVersion":
|
76
76
|
"21.0.1180.4", "locationContextEnabled": false, "platform": "XP", "browserName":
|
@@ -78,10 +78,10 @@ http_interactions:
|
|
78
78
|
"applicationCacheEnabled": false, "webStorageEnabled": true, "handlesAlerts":
|
79
79
|
true, "chrome.nativeEvents": false}, "class": "org.openqa.selenium.remote.Response"}'
|
80
80
|
http_version: '1.1'
|
81
|
-
recorded_at:
|
81
|
+
recorded_at: Mon, 01 Oct 2012 04:47:41 GMT
|
82
82
|
- request:
|
83
83
|
method: post
|
84
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
84
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/ac1313f82b59423d8875dc9a9661caa7/url
|
85
85
|
body:
|
86
86
|
encoding: UTF-8
|
87
87
|
string: ! '{"url":"http://jasmine.server.com/jasmine"}'
|
@@ -102,7 +102,7 @@ http_interactions:
|
|
102
102
|
message: No Content
|
103
103
|
headers:
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Mon, 01 Oct 2012 04:47:41 GMT
|
106
106
|
connection:
|
107
107
|
- close
|
108
108
|
content-type:
|
@@ -113,10 +113,10 @@ http_interactions:
|
|
113
113
|
encoding: US-ASCII
|
114
114
|
string: ''
|
115
115
|
http_version: '1.1'
|
116
|
-
recorded_at:
|
116
|
+
recorded_at: Mon, 01 Oct 2012 04:47:48 GMT
|
117
117
|
- request:
|
118
118
|
method: post
|
119
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
119
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/ac1313f82b59423d8875dc9a9661caa7/execute
|
120
120
|
body:
|
121
121
|
encoding: UTF-8
|
122
122
|
string: ! '{"script":"return jsApiReporter && jsApiReporter.started","args":[]}'
|
@@ -139,7 +139,7 @@ http_interactions:
|
|
139
139
|
transfer-encoding:
|
140
140
|
- chunked
|
141
141
|
date:
|
142
|
-
-
|
142
|
+
- Mon, 01 Oct 2012 04:47:48 GMT
|
143
143
|
connection:
|
144
144
|
- close
|
145
145
|
content-type:
|
@@ -148,13 +148,13 @@ http_interactions:
|
|
148
148
|
- monocle/0.17
|
149
149
|
body:
|
150
150
|
encoding: US-ASCII
|
151
|
-
string: ! '{"status": 0, "sessionId": "
|
152
|
-
|
151
|
+
string: ! '{"status": 0, "sessionId": "ac1313f82b59423d8875dc9a9661caa7", "hCode":
|
152
|
+
8886368, "class": "org.openqa.selenium.remote.Response", "value": true}'
|
153
153
|
http_version: '1.1'
|
154
|
-
recorded_at:
|
154
|
+
recorded_at: Mon, 01 Oct 2012 04:47:49 GMT
|
155
155
|
- request:
|
156
156
|
method: post
|
157
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
157
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/ac1313f82b59423d8875dc9a9661caa7/execute
|
158
158
|
body:
|
159
159
|
encoding: UTF-8
|
160
160
|
string: ! '{"script":"var result = jsApiReporter.suites(); if (window.Prototype
|
@@ -179,7 +179,7 @@ http_interactions:
|
|
179
179
|
transfer-encoding:
|
180
180
|
- chunked
|
181
181
|
date:
|
182
|
-
-
|
182
|
+
- Mon, 01 Oct 2012 04:47:49 GMT
|
183
183
|
connection:
|
184
184
|
- close
|
185
185
|
content-type:
|
@@ -188,17 +188,19 @@ http_interactions:
|
|
188
188
|
- monocle/0.17
|
189
189
|
body:
|
190
190
|
encoding: US-ASCII
|
191
|
-
string: ! '{"status": 0, "sessionId": "
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
191
|
+
string: ! '{"status": 0, "sessionId": "ac1313f82b59423d8875dc9a9661caa7", "hCode":
|
192
|
+
32644176, "class": "org.openqa.selenium.remote.Response", "value": "[{\"id\":0,\"name\":\"Document
|
193
|
+
Model\",\"type\":\"suite\",\"children\":[{\"id\":1,\"name\":\"URL\",\"type\":\"suite\",\"children\":[{\"id\":0,\"name\":\"when
|
194
|
+
new\",\"type\":\"spec\",\"children\":[]},{\"id\":1,\"name\":\"when is not
|
195
|
+
new\",\"type\":\"spec\",\"children\":[]}]}]},{\"id\":2,\"name\":\"Documents
|
196
|
+
Router\",\"type\":\"suite\",\"children\":[{\"id\":3,\"name\":\"routes\",\"type\":\"suite\",\"children\":[{\"id\":2,\"name\":\"fires
|
197
|
+
index on blank hash\",\"type\":\"spec\",\"children\":[]},{\"id\":3,\"name\":\"fires
|
198
|
+
new\",\"type\":\"spec\",\"children\":[]},{\"id\":4,\"name\":\"fires edit\",\"type\":\"spec\",\"children\":[]}]}]}]"}'
|
197
199
|
http_version: '1.1'
|
198
|
-
recorded_at:
|
200
|
+
recorded_at: Mon, 01 Oct 2012 04:47:49 GMT
|
199
201
|
- request:
|
200
202
|
method: post
|
201
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
203
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/ac1313f82b59423d8875dc9a9661caa7/execute
|
202
204
|
body:
|
203
205
|
encoding: UTF-8
|
204
206
|
string: ! '{"script":"return jsApiReporter.finished","args":[]}'
|
@@ -221,7 +223,7 @@ http_interactions:
|
|
221
223
|
transfer-encoding:
|
222
224
|
- chunked
|
223
225
|
date:
|
224
|
-
-
|
226
|
+
- Mon, 01 Oct 2012 04:47:49 GMT
|
225
227
|
connection:
|
226
228
|
- close
|
227
229
|
content-type:
|
@@ -230,17 +232,17 @@ http_interactions:
|
|
230
232
|
- monocle/0.17
|
231
233
|
body:
|
232
234
|
encoding: US-ASCII
|
233
|
-
string: ! '{"status": 0, "sessionId": "
|
234
|
-
|
235
|
+
string: ! '{"status": 0, "sessionId": "ac1313f82b59423d8875dc9a9661caa7", "hCode":
|
236
|
+
14513572, "class": "org.openqa.selenium.remote.Response", "value": true}'
|
235
237
|
http_version: '1.1'
|
236
|
-
recorded_at:
|
238
|
+
recorded_at: Mon, 01 Oct 2012 04:47:50 GMT
|
237
239
|
- request:
|
238
240
|
method: post
|
239
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
241
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/ac1313f82b59423d8875dc9a9661caa7/execute
|
240
242
|
body:
|
241
243
|
encoding: UTF-8
|
242
|
-
string: ! '{"script":"var result = jsApiReporter.resultsForSpecs([0,1,2]);
|
243
|
-
(window.Prototype && Object.toJSON) { return Object.toJSON(result) } else
|
244
|
+
string: ! '{"script":"var result = jsApiReporter.resultsForSpecs([0,1,2,3,4]);
|
245
|
+
if (window.Prototype && Object.toJSON) { return Object.toJSON(result) } else
|
244
246
|
{ return JSON.stringify(result) }","args":[]}'
|
245
247
|
headers:
|
246
248
|
accept:
|
@@ -248,7 +250,7 @@ http_interactions:
|
|
248
250
|
content-type:
|
249
251
|
- application/json; charset=utf-8
|
250
252
|
content-length:
|
251
|
-
- '
|
253
|
+
- '190'
|
252
254
|
user-agent:
|
253
255
|
- Ruby
|
254
256
|
authorization:
|
@@ -261,7 +263,7 @@ http_interactions:
|
|
261
263
|
transfer-encoding:
|
262
264
|
- chunked
|
263
265
|
date:
|
264
|
-
-
|
266
|
+
- Mon, 01 Oct 2012 04:47:50 GMT
|
265
267
|
connection:
|
266
268
|
- close
|
267
269
|
content-type:
|
@@ -270,24 +272,25 @@ http_interactions:
|
|
270
272
|
- monocle/0.17
|
271
273
|
body:
|
272
274
|
encoding: US-ASCII
|
273
|
-
string: ! '{"status": 0, "sessionId": "
|
274
|
-
|
275
|
-
''
|
276
|
-
to equal ''
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
jasmine.
|
281
|
-
jasmine.Queue.
|
282
|
-
jasmine.
|
283
|
-
jasmine.
|
284
|
-
jasmine.Queue.
|
285
|
-
|
275
|
+
string: ! '{"status": 0, "sessionId": "ac1313f82b59423d8875dc9a9661caa7", "hCode":
|
276
|
+
13926634, "class": "org.openqa.selenium.remote.Response", "value": "{\"0\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]},\"1\":{\"result\":\"failed\",\"messages\":[{\"passed\":false,\"type\":\"expect\",\"message\":\"Expected
|
277
|
+
''documents/1'' to equal ''documents/2''.\",\"trace\":{\"stack\":\"Error:
|
278
|
+
Expected ''documents/1'' to equal ''documents/2''.\\n at new jasmine.ExpectationResult
|
279
|
+
(http://jasmine.server.com/assets/jasmine.js?body=1:102:32)\\n at null.toEqual
|
280
|
+
(http://jasmine.server.com/assets/jasmine.js?body=1:1166:29)\\n at null.<anonymous>
|
281
|
+
(http://jasmine.server.com/assets/app/models/document_spec.js?body=1:13:43)\\n at
|
282
|
+
jasmine.Block.execute (http://jasmine.server.com/assets/jasmine.js?body=1:996:15)\\n at
|
283
|
+
jasmine.Queue.next_ (http://jasmine.server.com/assets/jasmine.js?body=1:1785:31)\\n at
|
284
|
+
jasmine.Queue.start (http://jasmine.server.com/assets/jasmine.js?body=1:1738:8)\\n at
|
285
|
+
jasmine.Spec.execute (http://jasmine.server.com/assets/jasmine.js?body=1:2065:14)\\n at
|
286
|
+
jasmine.Queue.next_ (http://jasmine.server.com/assets/jasmine.js?body=1:1785:31)\\n at
|
287
|
+
onComplete (http://jasmine.server.com/assets/jasmine.js?body=1:1781:18)\\n at
|
288
|
+
jasmine.Spec.finish (http://jasmine.server.com/assets/jasmine.js?body=1:2039:5)\"}}]},\"2\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]},\"3\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]},\"4\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}},{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]}}"}'
|
286
289
|
http_version: '1.1'
|
287
|
-
recorded_at:
|
290
|
+
recorded_at: Mon, 01 Oct 2012 04:47:51 GMT
|
288
291
|
- request:
|
289
292
|
method: delete
|
290
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
293
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/ac1313f82b59423d8875dc9a9661caa7
|
291
294
|
body:
|
292
295
|
encoding: US-ASCII
|
293
296
|
string: ''
|
@@ -304,7 +307,7 @@ http_interactions:
|
|
304
307
|
message: No Content
|
305
308
|
headers:
|
306
309
|
date:
|
307
|
-
-
|
310
|
+
- Mon, 01 Oct 2012 04:47:51 GMT
|
308
311
|
connection:
|
309
312
|
- close
|
310
313
|
content-type:
|
@@ -315,5 +318,5 @@ http_interactions:
|
|
315
318
|
encoding: US-ASCII
|
316
319
|
string: ''
|
317
320
|
http_version: '1.1'
|
318
|
-
recorded_at:
|
321
|
+
recorded_at: Mon, 01 Oct 2012 04:47:54 GMT
|
319
322
|
recorded_with: VCR 2.2.5
|
@@ -25,23 +25,23 @@ http_interactions:
|
|
25
25
|
transfer-encoding:
|
26
26
|
- chunked
|
27
27
|
date:
|
28
|
-
-
|
28
|
+
- Mon, 01 Oct 2012 04:48:26 GMT
|
29
29
|
connection:
|
30
30
|
- close
|
31
31
|
content-type:
|
32
32
|
- text/html
|
33
33
|
location:
|
34
|
-
- http://ondemand.saucelabs.com/wd/hub/session/
|
34
|
+
- http://ondemand.saucelabs.com/wd/hub/session/848d2b8c5d0a4ea0bb4e537ba71b03b2
|
35
35
|
server:
|
36
36
|
- monocle/0.17
|
37
37
|
body:
|
38
38
|
encoding: US-ASCII
|
39
39
|
string: ''
|
40
40
|
http_version: '1.1'
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Mon, 01 Oct 2012 04:48:34 GMT
|
42
42
|
- request:
|
43
43
|
method: get
|
44
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
44
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/848d2b8c5d0a4ea0bb4e537ba71b03b2
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
47
|
string: ''
|
@@ -60,7 +60,7 @@ http_interactions:
|
|
60
60
|
transfer-encoding:
|
61
61
|
- chunked
|
62
62
|
date:
|
63
|
-
-
|
63
|
+
- Mon, 01 Oct 2012 04:48:34 GMT
|
64
64
|
connection:
|
65
65
|
- close
|
66
66
|
content-type:
|
@@ -69,8 +69,8 @@ http_interactions:
|
|
69
69
|
- monocle/0.17
|
70
70
|
body:
|
71
71
|
encoding: US-ASCII
|
72
|
-
string: ! '{"status": 0, "sessionId": "
|
73
|
-
|
72
|
+
string: ! '{"status": 0, "sessionId": "848d2b8c5d0a4ea0bb4e537ba71b03b2", "hCode":
|
73
|
+
24854782, "value": {"rotatable": false, "browserConnectionEnabled": false,
|
74
74
|
"acceptSslCerts": false, "cssSelectorsEnabled": true, "javascriptEnabled":
|
75
75
|
true, "nativeEvents": true, "databaseEnabled": false, "chrome.chromedriverVersion":
|
76
76
|
"21.0.1180.4", "locationContextEnabled": false, "platform": "XP", "browserName":
|
@@ -78,10 +78,10 @@ http_interactions:
|
|
78
78
|
"applicationCacheEnabled": false, "webStorageEnabled": true, "handlesAlerts":
|
79
79
|
true, "chrome.nativeEvents": false}, "class": "org.openqa.selenium.remote.Response"}'
|
80
80
|
http_version: '1.1'
|
81
|
-
recorded_at:
|
81
|
+
recorded_at: Mon, 01 Oct 2012 04:48:35 GMT
|
82
82
|
- request:
|
83
83
|
method: post
|
84
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
84
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/848d2b8c5d0a4ea0bb4e537ba71b03b2/url
|
85
85
|
body:
|
86
86
|
encoding: UTF-8
|
87
87
|
string: ! '{"url":"http://jasmine.server.com/jasmine"}'
|
@@ -102,7 +102,7 @@ http_interactions:
|
|
102
102
|
message: No Content
|
103
103
|
headers:
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Mon, 01 Oct 2012 04:48:34 GMT
|
106
106
|
connection:
|
107
107
|
- close
|
108
108
|
content-type:
|
@@ -113,10 +113,10 @@ http_interactions:
|
|
113
113
|
encoding: US-ASCII
|
114
114
|
string: ''
|
115
115
|
http_version: '1.1'
|
116
|
-
recorded_at:
|
116
|
+
recorded_at: Mon, 01 Oct 2012 04:48:40 GMT
|
117
117
|
- request:
|
118
118
|
method: post
|
119
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
119
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/848d2b8c5d0a4ea0bb4e537ba71b03b2/execute
|
120
120
|
body:
|
121
121
|
encoding: UTF-8
|
122
122
|
string: ! '{"script":"return jsApiReporter && jsApiReporter.started","args":[]}'
|
@@ -139,7 +139,7 @@ http_interactions:
|
|
139
139
|
transfer-encoding:
|
140
140
|
- chunked
|
141
141
|
date:
|
142
|
-
-
|
142
|
+
- Mon, 01 Oct 2012 04:48:39 GMT
|
143
143
|
connection:
|
144
144
|
- close
|
145
145
|
content-type:
|
@@ -148,13 +148,13 @@ http_interactions:
|
|
148
148
|
- monocle/0.17
|
149
149
|
body:
|
150
150
|
encoding: US-ASCII
|
151
|
-
string: ! '{"status": 0, "sessionId": "
|
152
|
-
|
151
|
+
string: ! '{"status": 0, "sessionId": "848d2b8c5d0a4ea0bb4e537ba71b03b2", "hCode":
|
152
|
+
22447700, "class": "org.openqa.selenium.remote.Response", "value": true}'
|
153
153
|
http_version: '1.1'
|
154
|
-
recorded_at:
|
154
|
+
recorded_at: Mon, 01 Oct 2012 04:48:40 GMT
|
155
155
|
- request:
|
156
156
|
method: post
|
157
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
157
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/848d2b8c5d0a4ea0bb4e537ba71b03b2/execute
|
158
158
|
body:
|
159
159
|
encoding: UTF-8
|
160
160
|
string: ! '{"script":"var result = jsApiReporter.suites(); if (window.Prototype
|
@@ -179,7 +179,7 @@ http_interactions:
|
|
179
179
|
transfer-encoding:
|
180
180
|
- chunked
|
181
181
|
date:
|
182
|
-
-
|
182
|
+
- Mon, 01 Oct 2012 04:48:39 GMT
|
183
183
|
connection:
|
184
184
|
- close
|
185
185
|
content-type:
|
@@ -188,17 +188,19 @@ http_interactions:
|
|
188
188
|
- monocle/0.17
|
189
189
|
body:
|
190
190
|
encoding: US-ASCII
|
191
|
-
string: ! '{"status": 0, "sessionId": "
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
191
|
+
string: ! '{"status": 0, "sessionId": "848d2b8c5d0a4ea0bb4e537ba71b03b2", "hCode":
|
192
|
+
9293149, "class": "org.openqa.selenium.remote.Response", "value": "[{\"id\":0,\"name\":\"Document
|
193
|
+
Model\",\"type\":\"suite\",\"children\":[{\"id\":1,\"name\":\"URL\",\"type\":\"suite\",\"children\":[{\"id\":0,\"name\":\"when
|
194
|
+
new\",\"type\":\"spec\",\"children\":[]},{\"id\":1,\"name\":\"when is not
|
195
|
+
new\",\"type\":\"spec\",\"children\":[]}]}]},{\"id\":2,\"name\":\"Documents
|
196
|
+
Router\",\"type\":\"suite\",\"children\":[{\"id\":3,\"name\":\"routes\",\"type\":\"suite\",\"children\":[{\"id\":2,\"name\":\"fires
|
197
|
+
index on blank hash\",\"type\":\"spec\",\"children\":[]},{\"id\":3,\"name\":\"fires
|
198
|
+
new\",\"type\":\"spec\",\"children\":[]},{\"id\":4,\"name\":\"fires edit\",\"type\":\"spec\",\"children\":[]}]}]}]"}'
|
197
199
|
http_version: '1.1'
|
198
|
-
recorded_at:
|
200
|
+
recorded_at: Mon, 01 Oct 2012 04:48:40 GMT
|
199
201
|
- request:
|
200
202
|
method: post
|
201
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
203
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/848d2b8c5d0a4ea0bb4e537ba71b03b2/execute
|
202
204
|
body:
|
203
205
|
encoding: UTF-8
|
204
206
|
string: ! '{"script":"return jsApiReporter.finished","args":[]}'
|
@@ -221,7 +223,7 @@ http_interactions:
|
|
221
223
|
transfer-encoding:
|
222
224
|
- chunked
|
223
225
|
date:
|
224
|
-
-
|
226
|
+
- Mon, 01 Oct 2012 04:48:40 GMT
|
225
227
|
connection:
|
226
228
|
- close
|
227
229
|
content-type:
|
@@ -230,17 +232,17 @@ http_interactions:
|
|
230
232
|
- monocle/0.17
|
231
233
|
body:
|
232
234
|
encoding: US-ASCII
|
233
|
-
string: ! '{"status": 0, "sessionId": "
|
234
|
-
|
235
|
+
string: ! '{"status": 0, "sessionId": "848d2b8c5d0a4ea0bb4e537ba71b03b2", "hCode":
|
236
|
+
21411547, "class": "org.openqa.selenium.remote.Response", "value": true}'
|
235
237
|
http_version: '1.1'
|
236
|
-
recorded_at:
|
238
|
+
recorded_at: Mon, 01 Oct 2012 04:48:40 GMT
|
237
239
|
- request:
|
238
240
|
method: post
|
239
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
241
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/848d2b8c5d0a4ea0bb4e537ba71b03b2/execute
|
240
242
|
body:
|
241
243
|
encoding: UTF-8
|
242
|
-
string: ! '{"script":"var result = jsApiReporter.resultsForSpecs([0,1,2]);
|
243
|
-
(window.Prototype && Object.toJSON) { return Object.toJSON(result) } else
|
244
|
+
string: ! '{"script":"var result = jsApiReporter.resultsForSpecs([0,1,2,3,4]);
|
245
|
+
if (window.Prototype && Object.toJSON) { return Object.toJSON(result) } else
|
244
246
|
{ return JSON.stringify(result) }","args":[]}'
|
245
247
|
headers:
|
246
248
|
accept:
|
@@ -248,7 +250,7 @@ http_interactions:
|
|
248
250
|
content-type:
|
249
251
|
- application/json; charset=utf-8
|
250
252
|
content-length:
|
251
|
-
- '
|
253
|
+
- '190'
|
252
254
|
user-agent:
|
253
255
|
- Ruby
|
254
256
|
authorization:
|
@@ -261,7 +263,7 @@ http_interactions:
|
|
261
263
|
transfer-encoding:
|
262
264
|
- chunked
|
263
265
|
date:
|
264
|
-
-
|
266
|
+
- Mon, 01 Oct 2012 04:48:40 GMT
|
265
267
|
connection:
|
266
268
|
- close
|
267
269
|
content-type:
|
@@ -270,13 +272,13 @@ http_interactions:
|
|
270
272
|
- monocle/0.17
|
271
273
|
body:
|
272
274
|
encoding: US-ASCII
|
273
|
-
string: ! '{"status": 0, "sessionId": "
|
274
|
-
|
275
|
+
string: ! '{"status": 0, "sessionId": "848d2b8c5d0a4ea0bb4e537ba71b03b2", "hCode":
|
276
|
+
20545116, "class": "org.openqa.selenium.remote.Response", "value": "{\"0\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]},\"1\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]},\"2\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]},\"3\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]},\"4\":{\"result\":\"passed\",\"messages\":[{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}},{\"passed\":true,\"type\":\"expect\",\"message\":\"Passed.\",\"trace\":{}}]}}"}'
|
275
277
|
http_version: '1.1'
|
276
|
-
recorded_at:
|
278
|
+
recorded_at: Mon, 01 Oct 2012 04:48:41 GMT
|
277
279
|
- request:
|
278
280
|
method: delete
|
279
|
-
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/
|
281
|
+
uri: http://username:password@ondemand.saucelabs.com/wd/hub/session/848d2b8c5d0a4ea0bb4e537ba71b03b2
|
280
282
|
body:
|
281
283
|
encoding: US-ASCII
|
282
284
|
string: ''
|
@@ -293,7 +295,7 @@ http_interactions:
|
|
293
295
|
message: No Content
|
294
296
|
headers:
|
295
297
|
date:
|
296
|
-
-
|
298
|
+
- Mon, 01 Oct 2012 04:48:40 GMT
|
297
299
|
connection:
|
298
300
|
- close
|
299
301
|
content-type:
|
@@ -304,5 +306,5 @@ http_interactions:
|
|
304
306
|
encoding: US-ASCII
|
305
307
|
string: ''
|
306
308
|
http_version: '1.1'
|
307
|
-
recorded_at:
|
309
|
+
recorded_at: Mon, 01 Oct 2012 04:48:43 GMT
|
308
310
|
recorded_with: VCR 2.2.5
|