testcentricity_web 4.1.1 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -3
- data/README.md +526 -357
- data/lib/devices/devices.yml +0 -16
- data/lib/testcentricity_web/appium_server.rb +2 -2
- data/lib/testcentricity_web/version.rb +1 -1
- data/test_site/test_page.html +11 -0
- metadata +3 -3
- data/my_templates/default/method_details/setup.rb +0 -3
data/lib/devices/devices.yml
CHANGED
@@ -134,14 +134,6 @@
|
|
134
134
|
:css_height: 869
|
135
135
|
:default_orientation: portrait
|
136
136
|
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 13_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Mobile/15E148 Safari/604.1"
|
137
|
-
:android_phone:
|
138
|
-
:name: "Generic Android phone"
|
139
|
-
:os: android
|
140
|
-
:type: phone
|
141
|
-
:css_width: 360
|
142
|
-
:css_height: 640
|
143
|
-
:default_orientation: portrait
|
144
|
-
:user_agent: "Mozilla/5.0 (Linux; Android 4.2.1; en-us; Nexus 5 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19"
|
145
137
|
nexus6:
|
146
138
|
:name: "Nexus 6 or 6P phone"
|
147
139
|
:os: android
|
@@ -302,14 +294,6 @@ nexus6:
|
|
302
294
|
:css_height: 768
|
303
295
|
:default_orientation: landscape
|
304
296
|
:user_agent: "Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 EdgiOS/44.2.1 Mobile/15E148 Safari/605.1.15"
|
305
|
-
:android_tablet:
|
306
|
-
:name: "Generic Android tablet"
|
307
|
-
:os: android
|
308
|
-
:type: tablet
|
309
|
-
:css_width: 1024
|
310
|
-
:css_height: 768
|
311
|
-
:default_orientation: landscape
|
312
|
-
:user_agent: "Mozilla/5.0 (Linux; U; Android 3.0; en-us; GT-P7100 Build/HRI83) AppleWebkit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13"
|
313
297
|
:kindle_fire:
|
314
298
|
:name: "Kindle Fire"
|
315
299
|
:os: kindle
|
@@ -26,7 +26,7 @@ module TestCentricity
|
|
26
26
|
puts 'Appium Server is starting'
|
27
27
|
end
|
28
28
|
# start new Appium Server
|
29
|
-
@process = ChildProcess.build
|
29
|
+
@process = ChildProcess.build(*parameters)
|
30
30
|
process.start
|
31
31
|
# wait until confirmation that Appium Server is running
|
32
32
|
wait = Selenium::WebDriver::Wait.new(timeout: 30)
|
@@ -40,7 +40,7 @@ module TestCentricity
|
|
40
40
|
def running?
|
41
41
|
response = nil
|
42
42
|
begin
|
43
|
-
response = Net::HTTP.get_response(URI('http://
|
43
|
+
response = Net::HTTP.get_response(URI('http://0.0.0.0:4723/wd/hub/sessions'))
|
44
44
|
rescue
|
45
45
|
end
|
46
46
|
response && response.code_type == Net::HTTPOK
|
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: 4.1.
|
4
|
+
version: 4.1.3
|
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-03-
|
11
|
+
date: 2022-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -293,7 +293,7 @@ files:
|
|
293
293
|
- lib/testcentricity_web/web_elements/ui_elements_helper.rb
|
294
294
|
- lib/testcentricity_web/web_elements/video.rb
|
295
295
|
- lib/testcentricity_web/world_extensions.rb
|
296
|
-
-
|
296
|
+
- test_site/test_page.html
|
297
297
|
- testcentricity_web.gemspec
|
298
298
|
homepage: ''
|
299
299
|
licenses:
|