eyes_selenium 4.6.3 → 6.0.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 569cec349c48466c12fec616dcf7ee0519b32f9bc94b671ad5238b0d21e3df42
4
- data.tar.gz: 2dd45a62281bbe48aa746fdc1a7a82b7a8a8eca6e33c2a3c2faad1d1c901a7e5
3
+ metadata.gz: ab533b777755a603d1793a1a6cedc305ab99a9d32c8b9179d516ca2ebb0b1b8d
4
+ data.tar.gz: 569a33aabaa91b9c7e2f540ae1b04c8b20ee70b9336e55aff7a11d877ecd0289
5
5
  SHA512:
6
- metadata.gz: c61cd245cefc145d7db8016c0cf81cd2a85c1d0bf3dca3bb5718063efcd927750dfe632cccfe5271ccb586b30d6c143be7b8495418341cc9970bffb98bf5c59e
7
- data.tar.gz: 0ea56d6dac57d740df69252f038e81fa37bacb9cf9a4947c0aa9c0773cc10621d77ceedb9105e0b499be951c5adf163bdcc63dc87ee567eb1333031c88d2fb29
6
+ metadata.gz: a7f01b4c691a6b6df9af1fb6a1f04b393b06a5f575cb39dac70f2f16ab7ec8a02b7d374abc34ffb8dc6cd3a0f0a5bd5a5ca3ad70c6df632a64842412816558ae
7
+ data.tar.gz: bc6552d61b437caa1964dd4890e617b989051869998d271e1327d4da16ff09166650e526ec7a5bb9e4cdca375e2690ad580ed63db10d5161cc3719e6b2156424
data/CHANGELOG.md ADDED
@@ -0,0 +1,558 @@
1
+ # Changelog
2
+
3
+ ## [6.0.4] (2024-02-05)
4
+
5
+ * ### Bug Fixes
6
+ * Move from state_machine to state_machines gem (ROR with i18n compatability issue)
7
+
8
+ ## [6.0.3] (2024-02-02)
9
+
10
+ * ### Bug Fixes
11
+ * Fix Ruby 3 compatability issue with i18n integration
12
+ * Fix locate id parsing
13
+
14
+ * ### Features
15
+ * Add configure block-style of eyes_images configuration
16
+
17
+ ### Dependencies
18
+
19
+ * ### Updated
20
+ * Update version of Universal SDK Core to 4.7.0
21
+
22
+ * ### Features
23
+ * added support of proxy server url env var
24
+
25
+ * ### Bug Fixes
26
+ * losing root context after layout breakpoints reload
27
+ * add environment variable for setting ufg server ufg
28
+ * remove local environment id
29
+
30
+ ## [6.0.2] (2024-01-03)
31
+
32
+ ### Updated
33
+ * Update version of Universal SDK Core to 4.5.2
34
+
35
+ ### Dependencies
36
+
37
+ * ### Features
38
+ * sign windows binaries
39
+ * support updated applitools lib protocol
40
+ * add set of env variables to skip/ignore some optional automations
41
+
42
+ * ### Bug Fixes
43
+
44
+ * layout breakpoints reload and lazy load
45
+ * fix safe selector generation
46
+ * fixed issue when page wasn't reloaded for one of the breakpoints if the initial viewport size matches it
47
+ * avoid caching concurrency
48
+ * environment for each check for local environment
49
+ * fixed concurrency splank logging
50
+ * fixed the issue when custom os name passed through configuration wasn't respected
51
+
52
+
53
+ ## [6.0.1] (2023-12-13)
54
+ ### Bug Fixes
55
+ * fix code loading error (NameError in environment_sdk)
56
+
57
+ ## [6.0.0] (2023-12-13)
58
+
59
+ ### Dependencies
60
+
61
+ ### Breaking Changes:
62
+ * #### Features
63
+ * Update version of Universal SDK Core to v4
64
+
65
+ * #### Added
66
+ * new api eyes.get_results to get results
67
+
68
+ * #### Removed
69
+ * eyes.checks now returns nil (added new eyes.get_results to get a results)
70
+
71
+ ### Features
72
+ * added notification about outdated sdk version
73
+ * log driver environment info to splank
74
+ * show aborted tests in Eyes dashboard
75
+ * allowed running multiple classic test with different devices for applitoolsified native apps
76
+ * add more logs for tunnel worker
77
+ * added warning when driver used with capabilities that may conflict with applitools lib workflow
78
+ ### Bug Fixes
79
+ * fix custom sequence_name in BatchInfo
80
+ * suppport coded regions with layoutBreakpoints reload
81
+ * update dom-snapshot to support xml pages and parens inside css URLs
82
+ * upgrade dom-capture to get font-family in DOM
83
+ * change expiration time of the tunnel
84
+ * async cache should wait for upload
85
+ * async cache race condition
86
+ * allow css scrolling when taking screenshot of the webview
87
+ * generate safe selectors as close as possible to taking dom snapshot
88
+ * added retries on ufg requests that respond with 503 status code
89
+ * fix incorrect stitchMode mapping in checkSettings
90
+ * handled duplicated style properties in inline style tags
91
+ * fixed issue that caused dom snapshots to be taken for different viewport sizes when layout breakpoints were explicitly turned off
92
+ * remove some connection timeout in case of a long running tasks
93
+ * return result when error in the ufg
94
+ * send devtool commands in chromium
95
+ * preserve css declarations order in dom-snapshot
96
+ * do not block concurrency when server response is 503
97
+ ### Code Refactoring
98
+ * reorganized code between gems
99
+
100
+ ## [5.0.0] - 2023-07-11
101
+ ### Breaking Changes:
102
+ - get_all_test_results return TestResultSummary with additional info
103
+ - TestResults Array now in get_all_test_results.results or can be accessed old-style with get_all_test_results[0]
104
+ - eyes.close always return first result, even when have failed check
105
+ - eyes.abort on closed/aborted eye now return nil
106
+ ### Added
107
+ - Add support for reloading the page when using layout_breakpoints
108
+ - add errors to TestResults
109
+ ### Updated
110
+ - Update version of Universal SDK Core to 3.6.0
111
+ ### Features
112
+ - ability to skip deserialize dom snapshot
113
+ - prevent animated gif images from playing in ufg
114
+ - support custom property per renderer
115
+ ### Bug fixes
116
+ - fixed issue that caused creation of unnecessary tunnels
117
+ - start tunnels with proper regional server
118
+ ## [4.6.3] - 2023-07-04
119
+ ### Updated
120
+ - Update version of Universal SDK Core to 3.4.0
121
+ ### Added
122
+ - Add api for mobile (set_nmg_capabilities, set_mobile_capabilities, use_system_screenshot)
123
+ ### Features
124
+ - Drop support of legacy vhs extraction
125
+ - Add an API to send logEvents
126
+ - Add support for reloading the page when using layoutBreakpoints
127
+ - Fixed issue with failed find element responses in EC
128
+ - Fixed issue when on certain browser versions test didn't target a previously created baseline
129
+ - added a new mode for taking native app screenshots
130
+ ### Bug fixes
131
+ - Increase timeout for rendering results polling
132
+ - Fixed issue when logs are not show up
133
+ - Add isProcess property when calling makeCoreServer
134
+ - Fixed issue with Safari mobile screenshots
135
+ - Fixed issue with default settings in extractText
136
+ - Fixed issue with viewport information extraction when switched to webview
137
+ - apply default scrolling mode
138
+ ## [4.6.2] - 2023-05-10
139
+ ### Added
140
+ - Add remove_duplicate_tests option & set_remove_duplicate_tests method to eyes runner
141
+ ### Updated
142
+ - Update version of Universal SDK Core to 2.5.8
143
+ ### Features
144
+ - Added functional session feature
145
+ - Add a timeout and max concurrency for fetching resources
146
+ ### Bug fixes
147
+ - Fixed issue in dom snapshot that prevented urls that start with a whitespace to be mapped
148
+ - Improved appium prefixed capabilities parsing
149
+ - Fix issue when locate return wrong type of the region, with left and top properties instead of x and y
150
+ - Fixed issue with when webview were wasn't recognized as web compatible world
151
+ - Fixed the issue with session metadata extraction
152
+ - Fixed functional test feature issues in ec client
153
+ - Fixed typo in ec custom property
154
+ - Fixed issue with hanging requests
155
+ - Fixed platform name formatting
156
+ - Prevented driver metadata extraction during check in ufg eyes
157
+ - Fixed dynamic import issue in universal binaries
158
+ - Fixed detection of emulated mobile drivers
159
+ - Remove 'Execution Cloud' custom property
160
+ ## [4.6.1] - 2023-04-12
161
+ ### Changed
162
+ - Packaging server core inside eyes_universal
163
+ ### Updated
164
+ - Update version of Universal SDK Core to 2.4.8
165
+ ### Features
166
+ - Added removeDuplicateTests property to the GetManagerResultsSettings
167
+ - Changed makeManager api to accept settings
168
+ - Improved extraction of nml element
169
+ - Update broker url using last response instead of using driver
170
+ ### Bug fixes
171
+ - Fixed screenshot framing
172
+ - Fixed issue with css fetching for dom capture
173
+ - Fixed issue with emulation driver detection
174
+ - Fixed relative url resolution in css files
175
+ - Added timeout to css fetching during preparing dom capture
176
+ - Improve performance in DOM snapshot
177
+ - Fixed retry interval during poll requests to eyes back-end
178
+ - Fixed issue with concurrency of the renders in ufg mode
179
+ - Fixed issue with concurrency of the renders in ufg mode
180
+ - Fixed ufg concurrency regression
181
+ - Replaced broker url cache with nml element cache
182
+ - Fixed selector transformation for scroll root elements for ufg
183
+ - Upgrade tunnel version
184
+ ## [4.6.0] - 2023-03-06
185
+ ### Changed
186
+ - change server package to @applitools/core
187
+ ### Updated
188
+ - Improve logging in core server
189
+ - Passing density metric for PPI support in the sdk
190
+ ### Added
191
+ - Integrate universal protocol to run core via transport
192
+ - Added Resize stitch mode value
193
+ - Add NML support for Android
194
+ - Add makeECClient api
195
+ ### Bug fixes
196
+ - upgrade dom-snapshot with a fix to CSP
197
+ - Fixed issue when .visualgrid was not added to agent id
198
+ - Fixed issue with aborting ufg tests
199
+ ## [4.5.5] - 2023-01-06
200
+ ### Updated
201
+ - Update version of Universal SDK to 3.2.2
202
+ ## [4.5.4] - 2023-01-04
203
+ ### Updated
204
+ - Update version of Universal SDK to 3.2.1
205
+ - Update arm64-darwin server recognition
206
+ ### Features
207
+ - Filter styles and resources with non-screen media queries
208
+ ### Bug fixes
209
+ - Fixed issue with parsing capabilities for iOS with native app
210
+ ## [4.5.3] - 2022-12-30
211
+ ### Fixed
212
+ - skip yanked gem versions
213
+ ## [4.5.2] - 2022-12-30
214
+ ### Updated
215
+ - Update version of Universal SDK to 3.2.0
216
+ ### Added
217
+ - Add dont_close_batches flag to eyes [Trello 3093](https://trello.com/c/3E0ilb0A)
218
+ ### Features
219
+ - Add server support for arm
220
+ - Additional internal event logs
221
+ ### Bug fixes
222
+ - Fixed OCR functionality with latest eyes server
223
+ - Fixed issue when helper lib inputs were not cleaned up before calling new command
224
+ - Fixed issue with element scroll position not being restored after screenshot is taken on native platforms
225
+ - Handed error during polling in long requests to eyes server
226
+ - Handle fake shadowRoot with UFG
227
+ ## [4.5.1] - 2022-11-28
228
+ ### Fixed
229
+ - releasing as stable all eyes
230
+ ## [4.0.0.alpha-eyes-images] - 2022-11-28
231
+ ### Added
232
+ - eyes_images updated to universal server sdk(v3)
233
+ ### Deprecated (eyes_images)
234
+ - eyes_images inputs Applitools::Screenshot and ChunkyPNG::Image now are image_path and image (examples in spec/images/eyes_images_functional_spec.rb)
235
+ ### Added (eyes_images)
236
+ - eyes_images: Applitools::MatchLevel::IGNORE_COLORS
237
+ ## [4.5.0.alpha] - 2022-11-23
238
+ - Update version of Universal SDK to v3 (sdk: 3.0.2)
239
+ ## [4.4.1] - 2022-10-03
240
+ ### Added
241
+ - Added iPhone 14 and iPhone 14 Pro Max devices [Trello 73](https://trello.com/c/M1YiwtHb)
242
+ ## [4.4.0] - 2022-09-16
243
+ ### Updated
244
+ - Update version of Universal SDK to 2.12.3
245
+ ### Added
246
+ - Created testing client for eyes-universal
247
+ ### Fixed
248
+ - Using lazyLoad.waitingTime as a delay between stitches by default
249
+ - Using proxy while polling for the result of the nml command
250
+ ## [4.3.0] - 2022-09-16
251
+ ### Updated
252
+ - Update version of Universal SDK to 2.12.0
253
+ ### Added
254
+ - Add proxy support when using NML for NMG
255
+ - Add NML NMG support for iOS
256
+ - Added support for lazy loading views in android native apps
257
+ - tests for alpine
258
+ ### Fixed
259
+ - Sending correct commands with android helper lib
260
+ - Fixed issue that prevented NMG from working when NML was enabled
261
+ ## [4.2.0] - 2022-09-05
262
+ ### Removed
263
+ - removed device name Galaxy S8, S8 Plus, Note 8
264
+ ## [4.1.4] - 2022-09-02
265
+ ### Updated
266
+ - Update version of Universal SDK to 2.10.8
267
+ ### Changed
268
+ - U-SDK server spawn once per process
269
+ - U-SDK server shutdown-mode changed
270
+ ## [4.1.4.alpha] - 2022-08-15
271
+ ### Updated
272
+ - Update version of Universal SDK to 2.10.5
273
+ ### Changed
274
+ - ci moved to github
275
+ ## [4.1.3] - 2022-08-04
276
+ ### Added
277
+ - add enum for edge-2 (EDGE_CHROMIUM_TWO_VERSIONS_BACK)
278
+ - Android 12 device name [Trello 54](https://trello.com/c/SZAPDKSI)
279
+ ### Updated
280
+ - Update version of Universal SDK to 2.10.3
281
+ ## [4.1.2] - 2022-07-07
282
+ ### Added
283
+ - add padding support for regions [Trello 2929](https://trello.com/c/kHbnEdC7), [Trello 42](https://trello.com/c/PYKqJLbg)
284
+ - add custom region id support for regions [Trello 47](https://trello.com/c/pv51sCYA)
285
+ ### Updated
286
+ - Update version of Universal SDK to 2.9.5
287
+ ### Fixed
288
+ - fix freeze in communication with universal server
289
+ - fix floating region bounds option(as 4 numbers) parsing
290
+ ## [4.1.1] - 2022-06-16
291
+ ### Added
292
+ - add support lazy loading as part of the check-api [Trello](https://trello.com/c/BIHFMhVk)
293
+ ### Updated
294
+ - Update version of Universal SDK to 2.8.0
295
+ ## [4.1.0] - 2022-06-16
296
+ ### Removed
297
+ - alpha flag from version number
298
+ ## [4.1.0.alpha] - 2022-06-13
299
+ ### Updated
300
+ - Update version of Universal SDK to 2.7.2
301
+ ## Removed
302
+ - removed eventmachine from eyes_core
303
+ ## [4.0.5.4] - 2022-06-10
304
+ ### Updated
305
+ - Update version of Universal SDK to 2.7.1
306
+ ### Fixed
307
+ - Fix default boolean field transition to server(like full page screenshot)
308
+ ## [4.0.5.3] - 2022-06-02
309
+ ### Updated
310
+ - Update version of Universal SDK to 2.5.19
311
+ ### Fixed
312
+ - fix ruby-3.1 installation collision
313
+ ## [4.0.5.2] - 2022-05-24
314
+ ### Updated
315
+ - Update version of Universal SDK to 2.5.17
316
+ ### Fixed
317
+ - Fix closing batches with closeManager
318
+ ## Removed
319
+ - removed nokogiri frozen version
320
+ - remove old&unused js(now processed by universal server)
321
+ ## [4.0.5.1] - 2022-05-18
322
+ ### Fixed
323
+ - Fix wrong gem yank
324
+ ## [4.0.5] - 2022-05-18
325
+ ### Updated
326
+ - Update version of Universal SDK to 2.5.11
327
+ ### Fixed
328
+ - Fix for default notify_on_completion value(moved to universal server)
329
+ ## [4.0.4] - 2022-05-13
330
+ ### Fixed
331
+ - Fix for mingw
332
+ ## [4.0.3] - 2022-05-13
333
+ ### Updated
334
+ - Update version of Universal SDK to 2.5.7
335
+ ### Added
336
+ - added api: wait_before_capture, page_id
337
+ - api for native ufg: add_mobile_device, add_mobile_devices
338
+ - new ios devices
339
+ - AndroidDeviceName and AndroidDeviceInfo
340
+ ### Fixed
341
+ - Fix installing universal server issues on windows
342
+ - fix getting connection info for universal server on ci
343
+ ## Removed
344
+ - png processing lib dependecies
345
+ ## [4.0.2] - 2022-02-08
346
+ ### Updated
347
+ - Update version of Universal SDK to 1.0.9
348
+ ### Fixed
349
+ - Fix installing issues with latest ruby version and installing on windows
350
+ ## [4.0.1] - 2022-02-08 - unreleased
351
+ ### Updated
352
+ - Update version of Universal SDK to 1.0.7
353
+ ## [4.0.0] - 2022-01-24
354
+ ### Changed
355
+ - Library is now based on Universal SDK
356
+ ## [3.18.4] - 2021-08-31
357
+ ### Fixed
358
+ - Fix Appium runner option [Trello 2697](https://trello.com/c/F6dLF1VF)
359
+ - Fix parsing css transition [Trello 2647](https://trello.com/c/CIzoKPNY)
360
+ - Fix require warning: No such file or directory @ dir_chdir - lib/applitools/selenium/scripts/node_modules [Trello 2148](https://trello.com/c/j5sAPSBa)
361
+ ## [3.18.3] - 2021-06-24
362
+ ### Added
363
+ - Support cross origin iframes in UFG [Trello 2259](https://trello.com/c/iJKPvd75), [Trello 2584](https://trello.com/c/QyLzmnGl)
364
+ ## [3.18.2] - 2021-05-05
365
+ ### Added
366
+ - Support variation_group_id and agentRunId [Trello 2527](https://trello.com/c/6SyxJXVZ)
367
+ ## [3.18.1] - 2021-04-28
368
+ ### Added
369
+ - Allow defining custom properties at the batch level [Trello 2445](https://trello.com/c/IKTydXLv)
370
+ ## [3.18.0] - 2021-04-20
371
+ ### Fixed
372
+ - Fix Selenium and Appium libraries conflict [Trello 2500](https://trello.com/c/UOwzI2s8)
373
+ ## Deprecated
374
+ - Ruby 1.9 support for Appium lib (Requirement 2.2+)
375
+ ## [3.17.23] - 2021-01-22
376
+ ### Fixed
377
+ - Fix viewport rect of a native app at some android devices [Trello 2079](https://trello.com/c/sQJLgtUL)
378
+ ### Updated
379
+ - Update Ruby Coverege Tests to v2
380
+ ## [3.17.22] - 2021-01-12
381
+ ### Added
382
+ - Supporting check full element with ufg [Trello 2145](https://trello.com/c/8tPAnz66)
383
+ ### Updated
384
+ - Supporting iPhone 12 in `IosDeviceName` class. [Trello 2269](https://trello.com/c/yWFy2pRE)
385
+ ### Fixed
386
+ - Restart on calling eyes.open with started driver [Trello 2162](https://trello.com/c/1SCQUUnW), [Trello 2233](https://trello.com/c/yPY3jhjW)
387
+ ## [3.17.21] - 2020-08-20
388
+ ### added
389
+ - UFG: the ability to set :visual_grid_options for the UFG SDK (Both globally and through the fluent interface) [Trello_2089](https://trello.com/c/d4zggQes/2089-ufg-sdks-visualgridoptionspolyfilladoptedstylesheets)
390
+ ## [3.17.20] - 2020-08-20
391
+ ### fixed
392
+ - Skip resources list: the errorStatusCode is passed to the server for UFG resources (if present) [Trello_2101](https://trello.com/c/vw3Ag8eO/2101-sdk-doesnt-pass-errorstatuscode-for-ufg-resources-if-an-error-occurred)
393
+ ## [3.17.19] - 2020-08-18
394
+ ### Updated
395
+ - Skip resources list for UFG is implemented [Trello_1974](https://trello.com/c/44xq8dze/1974-dom-snapshot-should-accept-a-skip-list-for-fetched-resources)
396
+ ## [3.17.18] - 2020-08-01
397
+ ### Fixed
398
+ - appium region screenshot issue [Trello_1996](https://trello.com/c/bmD4fCbs/1996-appium-native-ruby-error-with-png-signature-for-targetregion)
399
+ ## [3.17.17] - 2020-07-29
400
+ ### Fixed
401
+ - The availability to set :notify_on_completion manually for Applitools::BatchInfo. [Trello_2012](https://trello.com/c/OdYXtkFI/2012-batch-sequence-and-batch-notifications-are-not-working-in-the-ruby-selenium-sdk)
402
+ ### Updated
403
+ - Screenshot retry mechanism is now more efficient. [Trello 1866](https://trello.com/c/KyxkI6Bu)
404
+ ## [3.17.16] - 2020-07-16
405
+ ### Fixed
406
+ - The test name is not updated in case of double open->check->close call. [Trello 2011](https://trello.com/c/7UN1AbYU/2011-ruby-ufg-tests-creates-tests-out-of-order-when-classic-eyesopen-is-used)
407
+ ## [3.17.15] - 2020-07-16
408
+ ### Added
409
+ - Added `VisualViewport` for UFG client. [Trello 1957](https://trello.com/c/jWvdBwex/1957-add-visual-viewport-support-in-the-ui-for-mobile-devices)
410
+ ## [3.17.14] - 2020-07-9
411
+ ### Updated
412
+ - Added missing `StitchingService` URI field in `RenderRequest`. [Trello 1988](https://trello.com/c/Yr6EsUlL)
413
+ ## [3.17.13] - 2020-07-03
414
+ ## Fixed
415
+ - eyes_appium: Coded Floating Regions Incorrectly Placed [Trello_1960](https://trello.com/c/j6nJh1LS/1960-ruby-native-app-coded-floating-regions-incorrectly-placed)
416
+ - eyes_images: Simple eyes_images test is broken [Trello_1949](https://trello.com/c/dHQbz96i/1949-eyesimages-seem-to-be-broken)
417
+ ## [3.17.12] - 2020-07-02
418
+ ## Fixed
419
+ - :match_timeout property is moved to configuration object [Trello_1935](https://trello.com/c/2Z070Qgs/1935-ruby-selenium-matchtimeout-not-available-in-the-configuration-object)
420
+ ## [3.17.11] - 2020-06-25
421
+ ## Fixed
422
+ - IosDeviceOrientation is replaced by Orientation [Trello_1944](https://trello.com/c/EzyG7525/1944-ufg-safari-on-ios-orientations-changes)
423
+ ## [Eyes.sdk.ruby 3.17.10] - 2020-06-20
424
+ ## Fixed
425
+ - a configuration shared between Eyes instances in Rspec [Trello_1938](https://trello.com/c/qOQkbDO7/1938-a-configuration-shared-between-eyes-instances-in-rspec)
426
+ ## [Eyes.sdk.ruby 3.17.9] - 2020-06-19
427
+ ## Fixed
428
+ - Call :clone on a NilClass for ruby 2.3 [Trello_1855](https://trello.com/c/LCBhnTMd/1885-selenium-ruby-cant-clone-nilclass)
429
+ ## [Eyes.sdk.ruby 3.17.7] - 2020-06-18
430
+ ## Added
431
+ - eyes.ignore_displacements= and eyes.ignore_displacements methods [Trello_841](https://trello.com/c/uwrYb1Vj/841-add-a-general-method-for-ignoredisplacements?menu=filter&filter=visual%20loca,due:notdue)
432
+ ## Fixed
433
+ - Encoded regions for 'selector' mode [Trello_1915](https://trello.com/c/BQIrbCfC/1915-ruby-ultrafast-grid-incorrect-placement-of-coded-regions-for-targetregion)
434
+ ## [Eyes.sdk.ruby 3.17.6] - 2020-06-16
435
+ ## Fixed
436
+ - config.add_device_emulation(name, orientation) is fixed [Trello_1914](https://trello.com/c/l7WRvhSP/1914-ruby-ultrafast-grid-adddeviceemulation-throws-error-after-upgrading-to-3175?menu=filter&filter=due:notdue)
437
+ ## Added
438
+ - Appium driver support is ectended (Applitools::Appium::Eyes.new(driver: Appium::Driver.new)) [Trello_1913](https://trello.com/c/wQTgRNrN/1913-appium-ruby-regression-unknown-driver-appiumdriver0x00007fbaf9903448-applitoolseyeserror?menu=filter&filter=due:notdue)
439
+ ## [Eyes.sdk.ruby 3.17.5] - 2020-06-15
440
+ ## Added
441
+ - The ability to set :baseline_env_name for DesktopBrowserInfo, IosDeviceInfo and ChromeEmulationInfo
442
+ ## Fixed
443
+ - IosScreenOrientation instead of the IosScreenshotOrientation
444
+ ## [Eyes.sdk.ruby 3.17.4] - 2020-06-11
445
+ ## Fixed
446
+ - restricted to set emulation_info && ios_device_info for DesktopBrowserInfo
447
+ ## [Eyes.sdk.ruby 3.17.3] - 2020-06-06
448
+ ## Deprecated
449
+ - BrowserTypes module is deprecated in a favor of BrowserType
450
+ - Orientations module is deprecated in a favor of Orientation
451
+ ## Fixed
452
+ - IosDeviceOrientation instead of IosDeviceOrientations(plural)
453
+ ## Deprecated
454
+ ## [Eyes.sdk.ruby 3.17.2] - 2020-06-06
455
+ ## Added
456
+ - safari on ios device emulation for UFG [Trello_1872](https://trello.com/c/bykk2rzB/1872-ufg-safari-on-ios-simulators-support)
457
+ ## [Eyes.sdk.ruby 3.17.1] - 2020-05-26
458
+ ## Fixed
459
+ - eyes.properties for VG [Trello_1804](https://trello.com/c/Jt2BYz0e/1804-ruby-selenium-addproperty-method-not-recognized-when-running-with-visualgridrunner)
460
+ - SessionStartInfo parameters were not passed to Json correctly
461
+ ## [Eyes.sdk.ruby 3.17.0] - 2020-05-18
462
+ ## Added
463
+ - eyes.accessibility_validation(Applitools::AccessibilitySettings.new(Applitools::AccessibilityLevel::AA, Applitools::AccessibilityVersion::WCAG_2_0)) - [Trello_1767](https://trello.com/c/gq69woeK/1767-all-sdks-accessibility-accessiblity-guidelines-version-support-and-additional-verifications?menu=filter&filter=due:notdue)
464
+ ## Removed
465
+ - eyes.accessibility_level
466
+ ## [Eyes.sdk.ruby 3.16.16] - 2020-04-28
467
+ ## Added
468
+ - Regions support for eyes_appium (Target#ignore, Target#floating, Target#accessibility, Target#layout, etc.)
469
+ ## [Eyes.sdk.ruby 3.16.15] - 2020-04-24
470
+ ## Deprecated
471
+ - BrowserTypes::EDGE is deprecated. Please change it to either "EDGE_LEGACY" for the legacy version or to "EDGE_CHROMIUM" for the new Chromium-based version. [Trello 1757](https://trello.com/c/LUe43aee/1757-all-ultrafast-sdks-edge-chromium-support)
472
+ ## [Eyes.sdk.ruby 3.16.14] - 2020-04-10
473
+ ## Added
474
+ - new_session? flag is taken from start_session server response with fallback to the status code [Trello_1715](https://trello.com/c/DcVzWbeR/1715-all-sdks-updated-long-running-task-mode-for-startsession)
475
+ ## [Eyes.sdk.ruby 3.16.13] - 2020-04-06
476
+ ## Fixed
477
+ - eyes#hide_scrollbars is true by default [Trello 1592](https://trello.com/c/MXixwLnj/1592-upload-dom-directly-to-azure)
478
+ - eyes#ignore_caret has been included tothe configuration object [Trello)_1706](https://trello.com/c/16JqYlYb/1706-ignorecaret-globally-is-missing-ruby)
479
+ - Irrelevant URLs are excluded from SVG resource parsing results [Trello 1691](https://trello.com/c/EAIpEh8s/1691-ruby-vg-parsing-of-irrelevant-urls-from-css-and-svg-resources)
480
+ ## Added
481
+ - x-applitools-eyes-client header for all API requests [Trello_1697](https://trello.com/c/CzhUxOqE/1697-all-sdks-should-report-their-version-in-all-requests-to-the-eyes-server)
482
+ ## [Eyes.sdk.ruby 3.16.12] - 2020-03-30
483
+ ## Fixed
484
+ - eyes#send_dom didn't work [Trello 1659](https://trello.com/c/9CfD0fhn/1659-disable-dom-capturing-is-not-working-on-the-test-level-ruby)
485
+ ## [Eyes.sdk.ruby 3.16.11] - 2020-03-27
486
+ ## Fixed
487
+ - dom_capture threw an exception on a particular page [Trello 1658](https://trello.com/c/x0uYFwx0/1658-test-is-being-aborted-when-trying-to-capture-dom-ruby)
488
+ ## [Eyes.sdk.ruby 3.16.10] - 2020-03-24
489
+ ## Added
490
+ - The ability to use different Faraday adapters instead the default one [Trello 1683](https://trello.com/c/6IASHoBB/1683-add-http2-support-to-the-communication-library)
491
+ - The ability to set up timeout for HTTP request
492
+ - The ability to set up timeout for an Applitools::Future
493
+ ## [Eyes.sdk.ruby 3.16.9] - 2020-03-17
494
+ ## Fixed
495
+ - Agent ID for eyes_appium set to eyes.appium.ruby/version
496
+ ## [Eyes.sdk.ruby 3.16.8] - 2020-03-13
497
+ ## Fixed
498
+ - SDK fetch resources: the request header 'Accept-Language' is used along with 'User-Agent'
499
+ - Timeout for Thread.join is increased up to Faraday's connection timeout
500
+ - Error handling for resources that failed to fetch
501
+ ## Added
502
+ - Log messages for resource fetching now include the URL and status code
503
+ ## [Eyes.sdk.ruby 3.16.7] - 2020-03-06
504
+ ### Added
505
+ - dom_snapshot is uploaded directly to Azure storage
506
+ ### Fixed
507
+ - dom_snapshot script updated to 7.1.3
508
+ - send_dom is true by default for EyesSelenium
509
+ ## [Eyes.sdk.ruby 3.16.6] - 2020-03-05
510
+ ### Fixed
511
+ - eyes#check might be called as #check(tag, target) as well as #check(target)
512
+ - Selenium Eyes: ignore regions in the current target caused an exception
513
+ ## [Eyes.sdk.ruby 3.16.5] - 2020-03-02
514
+ ### Fixed
515
+ - double slash issue for custom server URL
516
+ ## [Eyes.sdk.ruby 3.16.2] - 2020-02-06
517
+ ### Fixed
518
+ - DefaultMatchSettings being overridden incorrectly by ImageMatchSettings
519
+ ## [Eyes.sdk.ruby 3.16.1] - 2020-01-29
520
+ ### Fixed
521
+ - eyes_appium crashed trying to get viewport_size
522
+ ### Added
523
+ - long_requests are used for start session
524
+ ## [Eyes.sdk.ruby 3.16.0] - 2020-01-24
525
+ ### Added
526
+ - Screenshot uploading direct to cloud store
527
+ ## [Eyes.sdk.ruby 3.15.48] - 2020-01-20
528
+ ### Added
529
+ - New browser types for the VisualGrid (CHROME, CHROME_ONE_VERSION_BACK, CHROME_TWO_VERSIONS_BACK, FIREFOX, FIREFOX_ONE_VERSION_BACK, FIREFOX_TWO_VERSIONS_BACK, SAFARI, SAFARI_ONE_VERSION_BACK, SAFARI_TWO_VERSIONS_BACK, IE_10, IE_11, EDGE)
530
+ ## [Eyes.sdk.ruby 3.15.47] - 2020-01-08
531
+ ### Fixed
532
+ - eyes_images throws "undefined method `each' for nil:NilClass (NoMethodError)"
533
+ ## [Eyes.sdk.ruby 3.15.43] - 2019-12-20
534
+ ### Removed
535
+ - delta compression for screenshots
536
+ ## [Eyes.sdk.ruby 3.15.43] - 2019-12-19
537
+ ### Added
538
+ - eyes.abort_async method implementation
539
+ ### Fixed
540
+ - save_new_tests is true by default
541
+ - tests are aborted instead of being closed on render fail
542
+ ## [Eyes.sdk.ruby 3.15.43] - 2019-12-12
543
+ ### Added
544
+ - Return empty test if the render fails
545
+ - eyes.abort method
546
+ ## [Eyes.sdk.ruby 3.15.42] - 2019-12-10
547
+ ### Fixed
548
+ - CSS paring & fetching font urls
549
+ - VisualGridEyes#config renamed to #configuration
550
+ - VisualGridEyes.configuration returns a clone of a configuration object
551
+ ## [Eyes.sdk.ruby 3.15.41] - 2019-11-06
552
+ ### Fixed
553
+ - Various VG related bugs
554
+ ## [Eyes.sdk.ruby 3.15.39] - 2019-11-06
555
+ ### Added
556
+ - This CHANGELOG file.
557
+ ### Fixed
558
+ - Chrome 78 css stitching bug
data/Rakefile ADDED
@@ -0,0 +1,86 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rake/clean'
4
+ require 'securerandom'
5
+
6
+ require 'bundler/gem_helper'
7
+ # Monkey patch the Bundler release class to change tags for eyes_images
8
+ module Bundler
9
+ class GemHelper
10
+
11
+ def version_tag
12
+ ruby_tag = "@applitools/ruby"
13
+ "#{ruby_tag}/#{gemspec.name}@#{version}"
14
+ end
15
+
16
+ end
17
+ end
18
+
19
+ Bundler::GemHelper.install_tasks
20
+
21
+ namespace 'github' do
22
+ task :set_batch_info do
23
+ batch_id = SecureRandom.uuid
24
+ # next if ENV['APPLITOOLS_BATCH_ID'] && !ENV['APPLITOOLS_BATCH_ID'].empty?
25
+ ENV['APPLITOOLS_DONT_CLOSE_BATCHES'] = 'true'
26
+ ENV['APPLITOOLS_BATCH_ID'] = batch_id unless ENV['APPLITOOLS_BATCH_ID'] && !ENV['APPLITOOLS_BATCH_ID'].empty?
27
+ ENV['APPLITOOLS_BATCH_NAME'] = "Eyes Ruby SDK(#{RUBY_VERSION} | #{RUBY_PLATFORM})"
28
+ end
29
+
30
+ task :check do
31
+ puts "Batch ID: #{ENV['APPLITOOLS_BATCH_ID']}"
32
+ puts "Batch NAME: #{ENV['APPLITOOLS_BATCH_NAME']}"
33
+ end
34
+
35
+ # require 'rspec/core/rake_task'
36
+ # namespace :unit_tests do
37
+ # RSpec::Core::RakeTask.new(:core) do |t|
38
+ # t.pattern = 'spec/core'
39
+ # end
40
+ #
41
+ # RSpec::Core::RakeTask.new(:visual_grid) do |t|
42
+ # t.pattern = 'spec/visual_grid'
43
+ # end
44
+ #
45
+ # RSpec::Core::RakeTask.new(:selenium) do |t|
46
+ # t.pattern = 'spec/selenium'
47
+ # end
48
+ #
49
+ # RSpec::Core::RakeTask.new(:regression) do |t|
50
+ # t.pattern = 'spec/regression'
51
+ # end
52
+ #
53
+ # RSpec::Core::RakeTask.new(:bugfix) do |t|
54
+ # t.pattern = 'spec/bugfix'
55
+ # end
56
+ #
57
+ # RSpec::Core::RakeTask.new(:calabash) do |t|
58
+ # t.pattern = 'spec/calabash'
59
+ # end
60
+ #
61
+ # RSpec::Core::RakeTask.new(:images) do |t|
62
+ # t.pattern = 'spec/images'
63
+ # end
64
+ #
65
+ # task :github => [:regression, :bugfix, :core, :selenium, :visual_grid, :calabash, :images]
66
+ # end
67
+ #
68
+ # task :unit_tests => [:set_batch_info, :check, 'unit_tests:github']
69
+ #
70
+ # task :vg_tests => [:set_batch_info, :check] do
71
+ # sh('bundle exec parallel_rspec -n 1 -- --tag visual_grid -- spec/integration/*_spec.rb')
72
+ # end
73
+
74
+ # task :travis_selenium => ['webdrivers:chromedriver:update', :set_batch_info, :check] do
75
+ # sh('bundle exec parallel_rspec -n 4 -- --tag selenium -- spec/integration/*_spec.rb')
76
+ # end
77
+ #
78
+ # task :travis_vg => ['webdrivers:chromedriver:update', :set_batch_info, :check] do
79
+ # sh('bundle exec parallel_rspec -n 1 -- --tag visual_grid -- spec/integration/*_spec.rb')
80
+ # end
81
+
82
+ # task :vg_tests => ['webdrivers:chromedriver:update', :set_batch_info, :check] do
83
+ # sh('bundle exec parallel_rspec -n 1 -- --tag visual_grid -- spec/integration/*_spec.rb')
84
+ # end
85
+
86
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
6
+ require 'applitools/eyes_selenium/version'
7
+
8
+ Gem::Specification.new do |spec|
9
+ spec.name = 'eyes_selenium'
10
+ spec.version = Applitools::EyesSelenium::VERSION
11
+ spec.authors = ['Applitools Team']
12
+ spec.email = ['team@applitools.com']
13
+ spec.description = 'Provides SDK for writing Applitools Selenium-based tests'
14
+ spec.summary = 'Applitools Ruby Selenium SDK'
15
+ spec.homepage = 'https://www.applitools.com'
16
+ spec.license = 'Applitools'
17
+
18
+ spec.files = `git ls-files lib/applitools/selenium`.split($RS) + [
19
+ 'lib/eyes_selenium.rb',
20
+ 'lib/applitools/eyes_selenium/version.rb',
21
+ 'CHANGELOG.md',
22
+ 'eyes_selenium.gemspec',
23
+ 'Rakefile',
24
+ ]
25
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
26
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
27
+ spec.require_paths = %w(lib)
28
+ spec.add_dependency 'eyes_core', "= #{Applitools::EyesSelenium::VERSION}"
29
+ spec.add_dependency 'selenium-webdriver', '>= 3'
30
+ spec.add_dependency 'css_parser'
31
+ spec.add_dependency 'crass'
32
+ spec.add_dependency 'state_machines'
33
+ end