testcentricity_web 2.0.18 → 2.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -11
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/webdriver_helper.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8bd8ebc445be947ca83437351971a92a2f3d26b
|
4
|
+
data.tar.gz: 79cb6e193ab43c95e6c82222aab102b7e92115bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7867d9e20555f952ac6ae4cf33e9019ddb586e8e1574e9ae1e3428934aecb82e0db50a1da71f10265f0637e0dc846ea9bd10c3df542ca20adb7ecd2bc65d6a46
|
7
|
+
data.tar.gz: 2c1d095a6c11287d057a64dac382e9771b8eb4403d9fb5e2b02f7f49dd6f2a4ef53d6fb444eaf5c78508043ab4d4e511569b3e3f479315edad3d2692862ed344
|
data/README.md
CHANGED
@@ -821,17 +821,18 @@ the table below. Refer to the [Browserstack-specific capabilities chart page](ht
|
|
821
821
|
for information regarding the specific capabilities.
|
822
822
|
|
823
823
|
**Environment Variable** | **Description**
|
824
|
-
---------------
|
825
|
-
`WEB_BROWSER`
|
826
|
-
`BS_USERNAME`
|
827
|
-
`BS_AUTHKEY`
|
828
|
-
`BS_BROWSER`
|
829
|
-
`BS_PLATFORM`
|
830
|
-
`BS_DEVICE`
|
831
|
-
`
|
832
|
-
`
|
833
|
-
`
|
834
|
-
`
|
824
|
+
--------------- | ----------------
|
825
|
+
`WEB_BROWSER` | Must be set to `browserstack`
|
826
|
+
`BS_USERNAME` | Must be set to your BrowserStack account user name
|
827
|
+
`BS_AUTHKEY` | Must be set to your BrowserStack account access key
|
828
|
+
`BS_BROWSER` | Must be set to `iPhone`, `iPad`, or `android`
|
829
|
+
`BS_PLATFORM` | Must be set to `MAC` (for iOS) or `ANDROID`
|
830
|
+
`BS_DEVICE` | Refer to `device` capability in chart
|
831
|
+
`BS_REAL_MOBILE` | Set to `true` if running against a real device
|
832
|
+
`TUNNELING` | Must be `true` if you are testing against internal/local servers (`true` or `false`)
|
833
|
+
`ORIENTATION` | [Optional] Set to `portrait` or `landscape`
|
834
|
+
`RECORD_VIDEO` | [Optional] Enable screen video recording during test execution (`true` or `false`)
|
835
|
+
`TIME_ZONE` | [Optional] Specify custom time zone. Refer to `browserstack.timezone` capability in chart
|
835
836
|
|
836
837
|
|
837
838
|
|
@@ -1069,6 +1070,8 @@ service(s) that you intend to connect with.
|
|
1069
1070
|
|
1070
1071
|
# BrowserStack iOS mobile browser profiles
|
1071
1072
|
bs_iphone: --profile bs_mobile BS_PLATFORM=MAC BS_BROWSER=iPhone
|
1073
|
+
bs_iphone7_plus: --profile bs_mobile BS_REAL_MOBILE="true" BS_DEVICE="iPhone 7 Plus"
|
1074
|
+
bs_iphone7: --profile bs_mobile BS_REAL_MOBILE="true" BS_DEVICE="iPhone 7"
|
1072
1075
|
bs_iphone6s_plus: --profile bs_iphone BS_DEVICE="iPhone 6S Plus"
|
1073
1076
|
bs_iphone6s: --profile bs_iphone BS_DEVICE="iPhone 6S"
|
1074
1077
|
bs_iphone6_plus: --profile bs_iphone BS_DEVICE="iPhone 6 Plus"
|
@@ -1083,6 +1086,12 @@ service(s) that you intend to connect with.
|
|
1083
1086
|
|
1084
1087
|
# BrowserStack Android mobile browser profiles
|
1085
1088
|
bs_android: --profile bs_mobile BS_PLATFORM=ANDROID BS_BROWSER=android
|
1089
|
+
bs_google_pixel: --profile bs_mobile BS_REAL_MOBILE="true" BS_DEVICE="Google Pixel"
|
1090
|
+
bs_nexus9: --profile bs_mobile BS_REAL_MOBILE="true" BS_DEVICE="Google Nexus 9"
|
1091
|
+
bs_nexus6: --profile bs_mobile BS_REAL_MOBILE="true" BS_DEVICE="Google Nexus 6"
|
1092
|
+
bs_galaxy_s7: --profile bs_mobile BS_REAL_MOBILE="true" BS_DEVICE="Samsung Galaxy S7"
|
1093
|
+
bs_galaxy_s6: --profile bs_mobile BS_REAL_MOBILE="true" BS_DEVICE="Samsung Galaxy S6"
|
1094
|
+
bs_galaxy_note4: --profile bs_mobile BS_REAL_MOBILE="true" BS_DEVICE="Samsung Galaxy Note 4"
|
1086
1095
|
bs_galaxy_s5: --profile bs_android BS_DEVICE="Samsung Galaxy S5"
|
1087
1096
|
bs_kindle_fire_hd89: --profile bs_android BS_DEVICE="Amazon Kindle Fire HD 8.9"
|
1088
1097
|
bs_kindle_fire_hdx7: --profile bs_android BS_DEVICE="Amazon Kindle Fire HDX 7"
|
@@ -168,6 +168,12 @@ module TestCentricity
|
|
168
168
|
Environ.device = true
|
169
169
|
Environ.device_type = ENV['BS_DEVICE']
|
170
170
|
capabilities['deviceOrientation'] = ENV['ORIENTATION'] if ENV['ORIENTATION']
|
171
|
+
elsif ENV['BS_REAL_MOBILE']
|
172
|
+
capabilities['device'] = ENV['BS_DEVICE']
|
173
|
+
capabilities['realMobile'] = true
|
174
|
+
Environ.platform = :mobile
|
175
|
+
Environ.device = true
|
176
|
+
Environ.device_type = ENV['BS_DEVICE']
|
171
177
|
end
|
172
178
|
|
173
179
|
capabilities['browserstack.timezone'] = ENV['TIME_ZONE'] if ENV['TIME_ZONE']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.19
|
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: 2017-07-
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|