-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzorki.logs
300 lines (275 loc) · 27.7 KB
/
zorki.logs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
I, [2022-08-30T16:45:02.755330 #62659] INFO -- : /Users/christopher/Repositories/zorki/lib/zorki/monkeypatch.rb is monkeypatching Selenium::WebDriver::DevTools.send_cmd
Run options: --seed 43507
# Running:
.E
Error:
UserTest#test_a_username_returns_properly_when_scraped:
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:4444 (Connection refused - connect(2) for 127.0.0.1:4444)
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:137:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `each'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `foreach'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:632:in `tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:998:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:971:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:67:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:61:in `http'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:118:in `response_for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:77:in `request'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:52:in `create_session'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:323:in `block in create_bridge'
<internal:kernel>:90:in `tap'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:321:in `create_bridge'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:74:in `initialize'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver.rb:89:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/capybara-3.37.1/lib/capybara/selenium/driver.rb:83:in `browser'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/scraper.rb:119:in `login'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/user_scraper.rb:19:in `parse'
/Users/christopher/Repositories/zorki/lib/zorki/user.rb:46:in `block in scrape'
/Users/christopher/Repositories/zorki/lib/zorki/user.rb:45:in `map'
/Users/christopher/Repositories/zorki/lib/zorki/user.rb:45:in `scrape'
/Users/christopher/Repositories/zorki/lib/zorki/user.rb:12:in `lookup'
/Users/christopher/Repositories/zorki/test/user_test.rb:9:in `test_a_username_returns_properly_when_scraped'
rails test Users/christopher/Repositories/zorki/test/user_test.rb:8
F
Failure:
PostTest#test_a_post_has_been_removed [/Users/christopher/Repositories/zorki/test/post_test.rb:51]:
[Zorki::ContentUnavailableError] exception expected, not
Class: <Errno::ECONNREFUSED>
Message: <"Failed to open TCP connection to localhost:4444 (Connection refused - connect(2) for 127.0.0.1:4444)">
---Backtrace---
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:137:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `each'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `foreach'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:632:in `tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:998:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:971:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:67:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:61:in `http'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:118:in `response_for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:77:in `request'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:52:in `create_session'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:323:in `block in create_bridge'
<internal:kernel>:90:in `tap'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:321:in `create_bridge'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:74:in `initialize'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver.rb:89:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/capybara-3.37.1/lib/capybara/selenium/driver.rb:83:in `browser'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/scraper.rb:119:in `login'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/post_scraper.rb:19:in `parse'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:40:in `block in scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `map'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:8:in `lookup'
/Users/christopher/Repositories/zorki/test/post_test.rb:52:in `block in test_a_post_has_been_removed'
---------------
rails test Users/christopher/Repositories/zorki/test/post_test.rb:50
E
Error:
PostTest#test_a_post_marked_as_misinfo_works_still:
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:4444 (Connection refused - connect(2) for 127.0.0.1:4444)
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:137:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `each'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `foreach'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:632:in `tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:998:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:971:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:67:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:61:in `http'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:118:in `response_for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:77:in `request'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:52:in `create_session'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:323:in `block in create_bridge'
<internal:kernel>:90:in `tap'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:321:in `create_bridge'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:74:in `initialize'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver.rb:89:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/capybara-3.37.1/lib/capybara/selenium/driver.rb:83:in `browser'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/scraper.rb:119:in `login'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/post_scraper.rb:19:in `parse'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:40:in `block in scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `map'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:8:in `lookup'
/Users/christopher/Repositories/zorki/test/post_test.rb:34:in `test_a_post_marked_as_misinfo_works_still'
rails test Users/christopher/Repositories/zorki/test/post_test.rb:33
E
Error:
PostTest#test_a_single_image_post_returns_properly_when_scraped:
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:4444 (Connection refused - connect(2) for 127.0.0.1:4444)
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:137:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `each'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `foreach'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:632:in `tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:998:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:971:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:67:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:61:in `http'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:118:in `response_for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:77:in `request'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:52:in `create_session'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:323:in `block in create_bridge'
<internal:kernel>:90:in `tap'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:321:in `create_bridge'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:74:in `initialize'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver.rb:89:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/capybara-3.37.1/lib/capybara/selenium/driver.rb:83:in `browser'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/scraper.rb:119:in `login'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/post_scraper.rb:19:in `parse'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:40:in `block in scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `map'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:8:in `lookup'
/Users/christopher/Repositories/zorki/test/post_test.rb:15:in `test_a_single_image_post_returns_properly_when_scraped'
rails test Users/christopher/Repositories/zorki/test/post_test.rb:14
E
Error:
PostTest#test_a_slideshow_post_returns_properly_when_scraped:
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:4444 (Connection refused - connect(2) for 127.0.0.1:4444)
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:137:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `each'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `foreach'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:632:in `tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:998:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:971:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:67:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:61:in `http'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:118:in `response_for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:77:in `request'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:52:in `create_session'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:323:in `block in create_bridge'
<internal:kernel>:90:in `tap'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:321:in `create_bridge'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:74:in `initialize'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver.rb:89:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/capybara-3.37.1/lib/capybara/selenium/driver.rb:83:in `browser'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/scraper.rb:119:in `login'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/post_scraper.rb:19:in `parse'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:40:in `block in scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `map'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:8:in `lookup'
/Users/christopher/Repositories/zorki/test/post_test.rb:20:in `test_a_slideshow_post_returns_properly_when_scraped'
rails test Users/christopher/Repositories/zorki/test/post_test.rb:19
E
Error:
PostTest#test_a_video_post_returns_properly_when_scraped:
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:4444 (Connection refused - connect(2) for 127.0.0.1:4444)
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:137:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `each'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `foreach'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:632:in `tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:998:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:971:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:67:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:61:in `http'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:118:in `response_for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:77:in `request'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:52:in `create_session'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:323:in `block in create_bridge'
<internal:kernel>:90:in `tap'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:321:in `create_bridge'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:74:in `initialize'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver.rb:89:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/capybara-3.37.1/lib/capybara/selenium/driver.rb:83:in `browser'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/scraper.rb:119:in `login'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/post_scraper.rb:19:in `parse'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:40:in `block in scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `map'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:8:in `lookup'
/Users/christopher/Repositories/zorki/test/post_test.rb:44:in `test_a_video_post_returns_properly_when_scraped'
rails test Users/christopher/Repositories/zorki/test/post_test.rb:43
E
Error:
PostTest#test_another_post_works:
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:4444 (Connection refused - connect(2) for 127.0.0.1:4444)
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:137:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `each'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:227:in `foreach'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/socket.rb:632:in `tcp'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:998:in `connect'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/3.1.0/net/http.rb:971:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:67:in `start'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:61:in `http'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:118:in `response_for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/default.rb:77:in `request'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/remote/bridge.rb:52:in `create_session'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:323:in `block in create_bridge'
<internal:kernel>:90:in `tap'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:321:in `create_bridge'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:74:in `initialize'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.4.0/lib/selenium/webdriver.rb:89:in `for'
/Users/christopher/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/capybara-3.37.1/lib/capybara/selenium/driver.rb:83:in `browser'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/scraper.rb:119:in `login'
/Users/christopher/Repositories/zorki/lib/zorki/scrapers/post_scraper.rb:19:in `parse'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:40:in `block in scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `map'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:39:in `scrape'
/Users/christopher/Repositories/zorki/lib/zorki/post.rb:8:in `lookup'
/Users/christopher/Repositories/zorki/test/post_test.rb:39:in `test_another_post_works'
rails test Users/christopher/Repositories/zorki/test/post_test.rb:38
Finished in 0.074277s, 107.7049 runs/s, 26.9262 assertions/s.
8 runs, 2 assertions, 1 failures, 6 errors, 0 skips