testcentricity_mobile 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2894278a8226d3d37f275f7d299f691ce28e4eb769d0c8969b358ad189d1b96c
4
+ data.tar.gz: '02197371a41219b95303d1cdda959b2f70793b0b598a7e388ae9943d8043d504'
5
+ SHA512:
6
+ metadata.gz: b8f3398f188d3c0d4c184c4ede14f5c5aacd5e961b4bc6d1a7f314de02dfc2be69d6565f33af183009a5acfa26fe9e27ee019fafc85070763b30fd16fd3a4130
7
+ data.tar.gz: df5f7a5a7fc95ac181fc627a03f7b41d83c832ddbdc9669f475c3d84029781cf783986e468578441a5359ae26982f7896a11b5f4e1beb82912aea1534640738d
data/.yardopts ADDED
@@ -0,0 +1,3 @@
1
+ --markup markdown
2
+ --markup-provider redcarpet
3
+ --no-private - README.md CHANGELOG.md LICENSE.md
data/CHANGELOG.md ADDED
@@ -0,0 +1,105 @@
1
+ # CHANGELOG
2
+ All notable changes to this project will be documented in this file.
3
+
4
+
5
+ ## [4.0.0] - 26-MAR-2024
6
+
7
+ ### Fixed
8
+ * `DataPresenter.initialize` no longer fails if `data` parameter is `nil`.
9
+ * `ScreenObject.load_screen` now supports deeplinks on iOS physical devices.
10
+
11
+ ### Added
12
+ * Added support for specifying and connecting to mobile devices and simulators on unsupported cloud hosting services using
13
+ `custom` user-defined driver and capabilities.
14
+ * Added the following new gesture methods:
15
+ * `AppUIElement.scroll_into_view`
16
+ * `AppUIElement.drag_by`
17
+ * `AppUIElement.drag_and_drop`
18
+ * `AppUIElement.swipe_gesture`
19
+ * `ScreenObject.swipe_gesture`
20
+ * `ScreenSection.swipe_gesture`
21
+ * `ScreenSection.scroll_into_view`
22
+ * Added `AppUIElement.count` method.
23
+ * Added `AppAlert.buttons` and `AppAlert.get_caption` methods.
24
+ * Added the following biometrics methods:
25
+ * `AppiumConnect.is_biometric_enrolled?`
26
+ * `AppiumConnect.set_biometric_enrollment`
27
+ * `AppiumConnect.biometric_match`
28
+
29
+ ### Changed
30
+ * `AppiumConnect.initialize_appium` method now accepts an optional `options` hash for specifying desired capabilities
31
+ (using W3C protocol), driver, driver name, endpoint URL, global driver setting, and device type information.
32
+ * Updated `ScreenObject.verify_ui_states` and `ScreenSection.verify_ui_states` methods to support automatically scrolling
33
+ to offscreen UI elements.
34
+ * All touch and gesture methods refactored to no longer depend on deprecated `TouchAction` and `MultiTouchAction` classes.
35
+ * Ruby version 3.0.0 or greater is now required.
36
+ * Updated `appium_lib` gem to version 14.0.0.
37
+ * Updated `selenium-webdriver` gem to version 4.18.1.
38
+
39
+ ### Removed
40
+ * Support for test data assets stored in Excel `.xls` has been removed because `.xls` files cannot be properly tracked
41
+ and diffed by source control tools like git.
42
+ * `ExcelData` and `ExcelDataSource` classes removed.
43
+ * Removed dependence on `spreadsheet` gem.
44
+ * Removed the following deprecated methods:
45
+ * `AppiumConnect.switch_to_default_context`
46
+ * `AppiumConnect.reset_app`
47
+ * `AppiumConnect.launch_app`
48
+ * `AppiumConnect.close_app`
49
+
50
+
51
+ ## [3.1.1] - 04-AUGUST-2022
52
+
53
+ ### Fixed
54
+ * `AppiumConnect.available_contexts` now correctly returns a list of native app and web contexts when testing hybrid apps
55
+ with WebViews on iOS simulators.
56
+
57
+
58
+ ## [3.1.0] - 02-AUGUST-2022
59
+
60
+ ### Added
61
+ * The `DRIVER` Environment Variable is now used to specify the `appium`, `browserstack`, `saucelabs`, `testingbot`,
62
+ or `lambdatest` driver.
63
+
64
+
65
+ ## [3.0.6] - 21-JUNE-2022
66
+
67
+ ### Fixed
68
+ * `AppButton.get_caption` correctly returns captions of React Native buttons on Android platform where button caption object
69
+ hierarchy is `//android.widget.Button/android.widget.ViewGroup/android.widget.TextView`.
70
+
71
+
72
+ ## [3.0.5] - 12-JUNE-2022
73
+
74
+ ### Fixed
75
+ * Fixed `gemspec` to no longer include specs and Cucumber tests as part of deployment package for the gem.
76
+
77
+
78
+ ## [3.0.4] - 02-JUNE-2022
79
+
80
+ ### Added
81
+ * Added `AppUIElement.wait_until_enabled` method.
82
+
83
+
84
+ ## [3.0.3] - 30-MAY-2022
85
+
86
+ ### Added
87
+ * Added `AppAlert.await_and_respond` method.
88
+
89
+
90
+ ## [3.0.2] - 26-MAY-2022
91
+
92
+ ### Fixed
93
+ * Added runtime dependencies `curb` and `json` to gemspec.
94
+ * Fixed CHANGELOG url in gemspec.
95
+
96
+
97
+ ## [3.0.1] - 26-MAY-2022
98
+
99
+ ### Added
100
+ * Added support for testing on cloud hosted iOS and Android simulators and real devices on BrowserStack, SauceLabs, and TestingBot services.
101
+ * `ScreenObject.load_page` method adds support for using deep links to directly load screens/pages of native apps.
102
+ * `AppiumConnect.upload_app` method adds support for uploading native apps to BrowserStack and TestingBot services prior to running tests.
103
+
104
+ ### Changed
105
+ * Ruby version 2.7 or greater is required.
data/LICENSE.md ADDED
@@ -0,0 +1,27 @@
1
+ Copyright (c) 2014-2024, Tony Mrozinski
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
9
+
10
+ 2. Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ 3. Neither the name of the copyright holder nor the names of its contributors
15
+ may be used to endorse or promote products derived from this software without
16
+ specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
24
+ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
+ POSSIBILITY OF SUCH DAMAGE.