testcentricity_web 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 449c4f5fd5eb44182009f95be69073a738d2580f
4
- data.tar.gz: 8fdaf6943f6778d4c396f790281dd26bcf5962a7
3
+ metadata.gz: d9f9c0750e07c39f6ed6f0682481b76e9a117592
4
+ data.tar.gz: 7b860948427e5f1661725a9dffbf1e80d51a8ddb
5
5
  SHA512:
6
- metadata.gz: ae73029e5f1ee59f658851678dd0505ce3d6f2c9443fcfc0d8a49269155846b0d326a803e1286a60823fdc4c9ac3a800f20be2e9e7921c5e72d3989904c9bc61
7
- data.tar.gz: 81fb0a83391716e45795a4b8e0e4dce570d9df7a0a6d2fc10811385e2d5487c540ca32b20f482d5626f7f8d2d8465861898c0ec40a755b199a5162c761fbb52a
6
+ metadata.gz: 8ff451ef1d203ea5b3151e150ca645079c673dc316afb4da0124cb6456374dc428d983227417dbba58fdb978839de81b616b5d53c4a1fdd3a9a1b867edf19a7c
7
+ data.tar.gz: 0cd5cf3c4cb3396fd72948dcd71e1e249b9e52ebd7307002ff5e9d212a69136a21bae9c6fe358709c9dd66755147b2c6149c2785f5ed640bfd759e6d2e74e1b9
data/README.md CHANGED
@@ -742,6 +742,7 @@ mobile web browsers, the `WEB_BROWSER` Environment Variable must be set to one o
742
742
  `kindle_fire` |`firefox` or `chrome` |1024 x 600 |landscape |
743
743
  `kindle_firehd7` |`firefox` or `chrome` |800 x 480 |landscape |Fire OS 3
744
744
  `kindle_firehd8` |`firefox` or `chrome` |1280 x 800 |landscape |Fire OS 5
745
+ `kindle_firehd10` |`firefox` or `chrome` |1920 x 1200 |landscape |Fire OS 5
745
746
  `surface` |`firefox` or `chrome` |1366 x 768 |landscape |
746
747
  `blackberry_playbook` |`firefox` or `chrome` |1024 x 600 |landscape |BlackBerry Tablet OS
747
748
  `samsung_galaxy_tab` |`firefox` or `chrome` |1280 x 800 |landscape |Android 4.0.4
@@ -757,7 +758,7 @@ mobile web browsers, the `WEB_BROWSER` Environment Variable must be set to one o
757
758
  `iphone7_plus` |`firefox` or `chrome` |414 x 736 |portrait |iOS 10
758
759
  `iphone7_chrome` |`firefox` or `chrome` |375 x 667 |portrait |iOS 10 - Mobile Chrome browser for iOS
759
760
  `iphone8` |`firefox` or `chrome` |375 x 667 |portrait |iOS 11
760
- `iphone9_plus` |`firefox` or `chrome` |414 x 736 |portrait |iOS 11
761
+ `iphone8_plus` |`firefox` or `chrome` |414 x 736 |portrait |iOS 11
761
762
  `iphonex` |`firefox` or `chrome` |375 x 812 |portrait |iOS 11
762
763
  `android_phone` |`firefox` or `chrome` |320 x 480 |portrait |Android 4
763
764
  `nexus6` |`firefox` or `chrome` |411 x 731 |portrait |Android 6
@@ -768,8 +769,11 @@ mobile web browsers, the `WEB_BROWSER` Environment Variable must be set to one o
768
769
  `samsung_galaxy_s6` |`firefox` or `chrome` |360 x 640 |portrait |Android 6.0.1
769
770
  `windows_phone7` |`firefox` or `chrome` |320 x 480 |portrait |Windows Phone OS 7.5
770
771
  `windows_phone8` |`firefox` or `chrome` |320 x 480 |portrait |Windows Phone OS 8.0
772
+ `lumia_950_xl` |`firefox` or `chrome` |360 x 640 |portrait |Windows Phone OS 10
771
773
  `blackberry_z10` |`firefox` or `chrome` |384 x 640 |portrait |BlackBerry 10 OS
772
774
  `blackberry_z30` |`firefox` or `chrome` |360 x 640 |portrait |BlackBerry 10 OS
775
+ `blackberry_leap` |`firefox` or `chrome` |360 x 640 |portrait |BlackBerry 10 OS
776
+ `blackberry_passport` |`firefox` or `chrome` |504 x 504 |square |BlackBerry 10 OS
773
777
 
774
778
  To change the emulated device's screen orientation from the default setting, set the `ORIENTATION` Environment Variable to either `portrait` or `landscape`.
775
779
 
@@ -1000,6 +1004,7 @@ service(s) that you intend to connect with.
1000
1004
  kindle_fire: WEB_BROWSER=kindle_fire HOST_BROWSER=firefox <%= mobile %>
1001
1005
  kindle_firehd7: WEB_BROWSER=kindle_firehd7 HOST_BROWSER=firefox <%= mobile %>
1002
1006
  kindle_firehd8: WEB_BROWSER=kindle_firehd8 HOST_BROWSER=firefox <%= mobile %>
1007
+ kindle_firehd10: WEB_BROWSER=kindle_firehd10 HOST_BROWSER=firefox <%= tablet %>
1003
1008
  surface: WEB_BROWSER=surface HOST_BROWSER=firefox <%= mobile %>
1004
1009
  blackberry_playbook: WEB_BROWSER=blackberry_playbook HOST_BROWSER=firefox <%= mobile %>
1005
1010
  samsung_galaxy_tab: WEB_BROWSER=samsung_galaxy_tab HOST_BROWSER=firefox <%= mobile %>
@@ -1013,8 +1018,11 @@ service(s) that you intend to connect with.
1013
1018
  pixel_xl: WEB_BROWSER=pixel_xl HOST_BROWSER=firefox <%= mobile %>
1014
1019
  windows_phone7: WEB_BROWSER=windows_phone7 HOST_BROWSER=firefox <%= mobile %>
1015
1020
  windows_phone8: WEB_BROWSER=windows_phone8 HOST_BROWSER=firefox <%= mobile %>
1021
+ lumia_950_xl: WEB_BROWSER=lumia_950_xl HOST_BROWSER=firefox <%= mobile %>
1016
1022
  blackberry_z10: WEB_BROWSER=blackberry_z10 HOST_BROWSER=firefox <%= mobile %>
1017
1023
  blackberry_z30: WEB_BROWSER=blackberry_z30 HOST_BROWSER=firefox <%= mobile %>
1024
+ blackberry_leap: WEB_BROWSER=blackberry_leap HOST_BROWSER=firefox <%= mobile %>
1025
+ blackberry_passport: WEB_BROWSER=blackberry_passport HOST_BROWSER=firefox <%= mobile %>
1018
1026
 
1019
1027
 
1020
1028
  #==============
@@ -138,6 +138,13 @@ nexus6:
138
138
  :css_height: 480
139
139
  :default_orientation: portrait
140
140
  :user_agent: "Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia 710)"
141
+ :lumia_950_xl:
142
+ :name: "Microsoft Lumia 950 XL"
143
+ :os: "windows"
144
+ :css_width: 360
145
+ :css_height: 640
146
+ :default_orientation: portrait
147
+ :user_agent: "Mozilla/5.0 (Windows Phone 10.0; Android 4.2; Microsoft; Lumia 950 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Mobile Safari/537.36 Edge/12.10240"
141
148
  :blackberry_z10:
142
149
  :name: "Blackberry Z10"
143
150
  :os: "blackberry"
@@ -152,6 +159,13 @@ nexus6:
152
159
  :css_height: 640
153
160
  :default_orientation: portrait
154
161
  :user_agent: "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+"
162
+ :blackberry_leap:
163
+ :name: "Blackberry Leap"
164
+ :os: "blackberry"
165
+ :css_width: 360
166
+ :css_height: 640
167
+ :default_orientation: portrait
168
+ :user_agent: "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.35+ (KHTML, like Gecko) Version/10.2.0.1791 Mobile Safari/537.35+"
155
169
  :ipad:
156
170
  :name: "iPad"
157
171
  :os: "ios"
@@ -208,6 +222,13 @@ nexus6:
208
222
  :css_height: 800
209
223
  :default_orientation: landscape
210
224
  :user_agent: "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true"
225
+ :kindle_firehd10:
226
+ :name: "Kindle Fire HD 10"
227
+ :os: "kindle"
228
+ :css_width: 1920
229
+ :css_height: 1200
230
+ :default_orientation: landscape
231
+ :user_agent: "Mozilla/5.0 (Linux; Android 5.1.1; KFTBWI Build/LMY47O) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/41.51020.2250.0238 Safari/537.36"
211
232
  :surface:
212
233
  :name: "Microsoft Surface"
213
234
  :os: "windows"
@@ -222,6 +243,13 @@ nexus6:
222
243
  :css_height: 600
223
244
  :default_orientation: landscape
224
245
  :user_agent: "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+"
246
+ :blackberry_passport:
247
+ :name: "Blackberry Passport"
248
+ :os: "blackberry"
249
+ :css_width: 504
250
+ :css_height: 504
251
+ :default_orientation: portrait
252
+ :user_agent: "Mozilla/5.0 (Linux; U; Android 4.3; en-us; Passport Build/10.3.2.148) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30"
225
253
  :samsung_galaxy_tab:
226
254
  :name: "Samsung Galaxy Tab series"
227
255
  :os: "android"
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
@@ -160,11 +160,18 @@ module TestCentricity
160
160
  when :firefox
161
161
  profile = Selenium::WebDriver::Firefox::Profile.new
162
162
  profile['general.useragent.override'] = user_agent
163
+ profile['intl.accept_languages'] = ENV['LOCALE'] if ENV['LOCALE']
163
164
  Capybara::Selenium::Driver.new(app, :profile => profile)
164
165
  when :chrome
165
166
  args = []
166
167
  args << "--user-agent='#{user_agent}'"
167
- Capybara::Selenium::Driver.new(app, :browser => :chrome, :args => args)
168
+ if ENV['LOCALE']
169
+ profile = Selenium::WebDriver::Chrome::Profile.new
170
+ profile['intl.accept_languages'] = ENV['LOCALE']
171
+ Capybara::Selenium::Driver.new(app, :browser => :chrome, :args => args, :profile => profile)
172
+ else
173
+ Capybara::Selenium::Driver.new(app, :browser => :chrome, :args => args)
174
+ end
168
175
  end
169
176
  end
170
177
  end
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.1.0
4
+ version: 2.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: 2017-09-23 00:00:00.000000000 Z
11
+ date: 2017-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler