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