testcentricity 3.1.0 → 3.1.1

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: 2758825ab228a75d0bae37cbdc399b496ad7328864ec502004da2baddaf12fa8
4
- data.tar.gz: 986612a77b2c174bd8617744745d08a402cdda609df528851a9d5c78a4e40c6e
3
+ metadata.gz: d5085330706851742ef5bf4055e156a56229178f0acf7d53f050eb3c850f58f9
4
+ data.tar.gz: 54d503195507c5beb340236133e8e44710726fcc919a8b4af83074c9842edb15
5
5
  SHA512:
6
- metadata.gz: b1e22099243c98338cb90a1d9d67e42bb7a1e2c71cf2783f8d7afbde6470aedcd78f4e4a06a37ed341725b13d34fde5c6183ff6a0e99977a8781e799bbe89f30
7
- data.tar.gz: aa5f2334030c4911c8ed8ab6749c0d30d4aba8334688b2eac9298e932ed79f67182e931b9693ae998c10f38d0050251ff1ba705dbd7373a090a21dfff2259e39
6
+ metadata.gz: a010e6e698a1c653bd16f6ae1ab906c847a40eea0c81bea629e210991de6dd7226c6f52a9dccddde195d91c38cb1019b23aa9f74221946a0301cb95fe5fe517a
7
+ data.tar.gz: 2159f2f00e3ed85fa3e7287510514a364006a5db7c84c6da473e0dbb656c7a061397bab4a09d79e7819e350ed36e4281a706fef39664b56b06dad0012ed34b45
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
4
 
5
+ ## [3.1.1] - 04-AUGUST-2022
6
+
7
+ ### Fixed
8
+ * `AppiumConnect.available_contexts` now correctly returns a list of native app and web contexts when testing hybrid apps
9
+ with WebViews on iOS simulators.
10
+
11
+
5
12
  ## [3.1.0] - 02-AUGUST-2022
6
13
 
7
14
  ### Added
@@ -11,7 +18,10 @@ All notable changes to this project will be documented in this file.
11
18
  * ### Changed
12
19
  * The `WEB_BROWSER` Environment Variable is no longer used to specify the `appium`, `browserstack`, `saucelabs`, `testingbot`,
13
20
  or `lambdatest` driver.
14
- * TestCentricity now supports and integrates with Selenium-Webdriver version 4.3.
21
+
22
+ ### Updated
23
+ * Incorporated all changes from the [TestCentricity™ Web gem](https://rubygems.org/gems/testcentricity_web) version 4.3.0, which is
24
+ bundled with this gem.
15
25
 
16
26
 
17
27
  ## [3.0.6] - 21-JUNE-2022
@@ -24,7 +34,7 @@ hierarchy is `//android.widget.Button/android.widget.ViewGroup/android.widget.Te
24
34
  ## [3.0.5] - 12-JUNE-2022
25
35
 
26
36
  ### Fixed
27
- * Fix `gemspec` to no longer include specs and cuke tests as part of deployment package for gem.
37
+ * Fixed `gemspec` to no longer include specs and Cucumber tests as part of deployment package for the gem.
28
38
 
29
39
  ### Updated
30
40
  * Incorporated all changes from the [TestCentricity™ Web gem](https://rubygems.org/gems/testcentricity_web) version 4.2.6, which is
@@ -190,7 +190,7 @@ module TestCentricity
190
190
  end
191
191
 
192
192
  def self.webview_context
193
- contexts = available_contexts
193
+ contexts = $driver.available_contexts
194
194
  puts "Contexts = #{contexts}" if ENV['DEBUG']
195
195
  set_context(contexts.last)
196
196
  puts "Current context = #{$driver.current_context}" if ENV['DEBUG']
@@ -282,6 +282,7 @@ module TestCentricity
282
282
  caps[:xcodeSigningId] = ENV['TEAM_NAME'] if ENV['TEAM_NAME']
283
283
  caps[:appActivity] = ENV['APP_ACTIVITY'] if ENV['APP_ACTIVITY']
284
284
  caps[:appPackage] = ENV['APP_PACKAGE'] if ENV['APP_PACKAGE']
285
+ caps[:webviewConnectTimeout] = '90000'
285
286
 
286
287
  if ENV['BUNDLE_ID']
287
288
  caps[:bundleId] = ENV['BUNDLE_ID']
@@ -1,3 +1,3 @@
1
1
  module TestCentricity
2
- VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-02 00:00:00.000000000 Z
11
+ date: 2022-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler