regressy_common 1.2.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +43 -25
- data/lib/regressy_common/capabilities/cap_android_10_0_pixel_3.rb +16 -0
- data/lib/regressy_common/capabilities/cap_android_9_0_galaxy_s9.rb +16 -0
- data/lib/regressy_common/capabilities/cap_ios_10_3_iphone_6.rb +16 -0
- data/lib/regressy_common/capabilities/cap_ios_11_4_iphone_7.rb +16 -0
- data/lib/regressy_common/capabilities/cap_ios_13_1_iphone_8.rb +16 -0
- data/lib/regressy_common/capabilities/cap_local_firefox.rb +14 -0
- data/lib/regressy_common/capabilities/cap_real_galaxy_s8.rb +16 -0
- data/lib/regressy_common/capabilities/cap_real_iphone_6x.rb +16 -0
- data/lib/regressy_common/capabilities/cap_win10_ie11.rb +18 -0
- data/lib/regressy_common/capabilities/capability.rb +22 -0
- data/lib/regressy_common/driver_creator.rb +80 -0
- data/lib/regressy_common/test_sets/base.rb +66 -0
- data/lib/regressy_common/utils/standard_logger.rb +11 -0
- data/lib/regressy_common/version.rb +1 -1
- data/lib/regressy_common.rb +4 -0
- data/regressy_common.gemspec +5 -4
- metadata +49 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1874b2b8e591a44f19ac98f59f7916fe62159a2909a68b0b10756eb319f9b1b
|
4
|
+
data.tar.gz: 4ab25613b2a752a7acc6391f3669d250f39cf103ee4848f26bbcaff8c42ef933
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36441f0bca9f5f5549924b53b510c8e4484fd0a1a1db18796d413486fb4050545d053585a25658cd46bb195ca5afc239b3638657178da017010076eb32e58df4
|
7
|
+
data.tar.gz: ed4e0babfd46c9e5819692646c613118b9cecd85eff97f61e7240554d59eac573450dcf8a4d35b3b0fa32405063febc0e52c26f87a1af913ee4d47438f9256ad
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
regressy_common (1.
|
5
|
-
activesupport (~> 6.0)
|
6
|
-
|
4
|
+
regressy_common (1.3.1)
|
5
|
+
activesupport (~> 6.0.1)
|
6
|
+
appium_lib (~> 10.5.0)
|
7
|
+
httpclient (~> 2.8.3)
|
8
|
+
selenium-webdriver (~> 3.142.3)
|
7
9
|
|
8
10
|
GEM
|
9
11
|
remote: https://rubygems.org/
|
@@ -14,22 +16,35 @@ GEM
|
|
14
16
|
minitest (~> 5.1)
|
15
17
|
tzinfo (~> 1.1)
|
16
18
|
zeitwerk (~> 2.2)
|
17
|
-
addressable (2.
|
18
|
-
public_suffix (>= 2.0.2, <
|
19
|
+
addressable (2.7.0)
|
20
|
+
public_suffix (>= 2.0.2, < 5.0)
|
21
|
+
appium_lib (10.5.0)
|
22
|
+
appium_lib_core (~> 3.3)
|
23
|
+
nokogiri (~> 1.8, >= 1.8.1)
|
24
|
+
tomlrb (~> 1.1)
|
25
|
+
appium_lib_core (3.3.0)
|
26
|
+
faye-websocket (~> 0.10.0)
|
27
|
+
selenium-webdriver (~> 3.14, >= 3.14.1)
|
19
28
|
byebug (11.0.1)
|
20
|
-
childprocess (
|
21
|
-
rake (< 13.0)
|
29
|
+
childprocess (3.0.0)
|
22
30
|
coderay (1.1.2)
|
23
31
|
concurrent-ruby (1.1.5)
|
24
32
|
crack (0.4.3)
|
25
33
|
safe_yaml (~> 1.0.0)
|
26
34
|
diff-lcs (1.3)
|
35
|
+
eventmachine (1.2.7)
|
36
|
+
faye-websocket (0.10.9)
|
37
|
+
eventmachine (>= 0.12.0)
|
38
|
+
websocket-driver (>= 0.5.1)
|
27
39
|
hashdiff (1.0.0)
|
28
40
|
httpclient (2.8.3)
|
29
41
|
i18n (1.7.0)
|
30
42
|
concurrent-ruby (~> 1.0)
|
31
43
|
method_source (0.9.2)
|
44
|
+
mini_portile2 (2.4.0)
|
32
45
|
minitest (5.13.0)
|
46
|
+
nokogiri (1.10.7)
|
47
|
+
mini_portile2 (~> 2.4.0)
|
33
48
|
power_assert (1.1.5)
|
34
49
|
pry (0.12.2)
|
35
50
|
coderay (~> 1.1.0)
|
@@ -37,35 +52,39 @@ GEM
|
|
37
52
|
pry-byebug (3.7.0)
|
38
53
|
byebug (~> 11.0)
|
39
54
|
pry (~> 0.10)
|
40
|
-
public_suffix (
|
55
|
+
public_suffix (4.0.1)
|
41
56
|
rake (10.5.0)
|
42
|
-
rspec (3.
|
43
|
-
rspec-core (~> 3.
|
44
|
-
rspec-expectations (~> 3.
|
45
|
-
rspec-mocks (~> 3.
|
46
|
-
rspec-core (3.
|
47
|
-
rspec-support (~> 3.
|
48
|
-
rspec-expectations (3.
|
57
|
+
rspec (3.9.0)
|
58
|
+
rspec-core (~> 3.9.0)
|
59
|
+
rspec-expectations (~> 3.9.0)
|
60
|
+
rspec-mocks (~> 3.9.0)
|
61
|
+
rspec-core (3.9.0)
|
62
|
+
rspec-support (~> 3.9.0)
|
63
|
+
rspec-expectations (3.9.0)
|
49
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
50
|
-
rspec-support (~> 3.
|
51
|
-
rspec-mocks (3.
|
65
|
+
rspec-support (~> 3.9.0)
|
66
|
+
rspec-mocks (3.9.0)
|
52
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
53
|
-
rspec-support (~> 3.
|
54
|
-
rspec-support (3.
|
55
|
-
rubyzip (
|
68
|
+
rspec-support (~> 3.9.0)
|
69
|
+
rspec-support (3.9.0)
|
70
|
+
rubyzip (2.0.0)
|
56
71
|
safe_yaml (1.0.5)
|
57
|
-
selenium-webdriver (3.142.
|
58
|
-
childprocess (>= 0.5, <
|
59
|
-
rubyzip (
|
72
|
+
selenium-webdriver (3.142.6)
|
73
|
+
childprocess (>= 0.5, < 4.0)
|
74
|
+
rubyzip (>= 1.2.2)
|
60
75
|
test-unit (3.3.4)
|
61
76
|
power_assert
|
62
77
|
thread_safe (0.3.6)
|
78
|
+
tomlrb (1.2.9)
|
63
79
|
tzinfo (1.2.5)
|
64
80
|
thread_safe (~> 0.1)
|
65
81
|
webmock (3.6.2)
|
66
82
|
addressable (>= 2.3.6)
|
67
83
|
crack (>= 0.3.2)
|
68
84
|
hashdiff (>= 0.4.0, < 2.0.0)
|
85
|
+
websocket-driver (0.7.1)
|
86
|
+
websocket-extensions (>= 0.1.0)
|
87
|
+
websocket-extensions (0.1.4)
|
69
88
|
zeitwerk (2.2.2)
|
70
89
|
|
71
90
|
PLATFORMS
|
@@ -77,8 +96,7 @@ DEPENDENCIES
|
|
77
96
|
rake (~> 10.0)
|
78
97
|
regressy_common!
|
79
98
|
rspec (~> 3.0)
|
80
|
-
|
81
|
-
test-unit (~> 3)
|
99
|
+
test-unit (~> 3.3.4)
|
82
100
|
webmock (~> 3.6.2)
|
83
101
|
|
84
102
|
BUNDLED WITH
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module RegressyCommon
|
2
|
+
module Capabilities
|
3
|
+
def self.android_10_0_pixel_3
|
4
|
+
caps = {}
|
5
|
+
caps["name"] = "android_10_0_pixel_3"
|
6
|
+
caps["browserName"] = "Chrome"
|
7
|
+
caps["platform"] = "ANDROID"
|
8
|
+
caps["version"] = "10.0"
|
9
|
+
caps["deviceName"] = "Pixel 3"
|
10
|
+
caps["platformName"] = "Android"
|
11
|
+
caps["record_video"] = true
|
12
|
+
caps["timeZone"] = "Tokyo"
|
13
|
+
caps
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module RegressyCommon
|
2
|
+
module Capabilities
|
3
|
+
def self.android_9_0_galaxy_s9
|
4
|
+
caps = {}
|
5
|
+
caps["name"] = "android_9_0_galaxy_s9"
|
6
|
+
caps["browserName"] = "Chrome"
|
7
|
+
caps["platform"] = "ANDROID"
|
8
|
+
caps["version"] = "9.0"
|
9
|
+
caps["deviceName"] = "Galaxy S9"
|
10
|
+
caps["platformName"] = "Android"
|
11
|
+
caps["record_video"] = true
|
12
|
+
caps["timeZone"] = "Tokyo" # for TestingBot
|
13
|
+
caps
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module RegressyCommon
|
2
|
+
module Capabilities
|
3
|
+
def self.ios_10_3_iphone_6
|
4
|
+
caps = {}
|
5
|
+
caps["name"] = "ios_10_3_iphone_6"
|
6
|
+
caps["browserName"] = "safari"
|
7
|
+
caps["platform"] = "SIERRA"
|
8
|
+
caps["version"] = "10.3"
|
9
|
+
caps["deviceName"] = "iPhone 6"
|
10
|
+
caps["platformName"] = "iOS"
|
11
|
+
caps["record_video"] = true
|
12
|
+
caps["timeZone"] = "Tokyo"
|
13
|
+
caps
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module RegressyCommon
|
2
|
+
module Capabilities
|
3
|
+
def self.ios_11_4_iphone_7
|
4
|
+
caps = {}
|
5
|
+
caps["name"] = "ios_11_4_iphone_7"
|
6
|
+
caps["browserName"] = "safari"
|
7
|
+
caps["platform"] = "HIGH-SIERRA"
|
8
|
+
caps["version"] = "11.4"
|
9
|
+
caps["deviceName"] = "iPhone 7"
|
10
|
+
caps["platformName"] = "iOS"
|
11
|
+
caps["record_video"] = true
|
12
|
+
caps["timeZone"] = "Tokyo"
|
13
|
+
caps
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module RegressyCommon
|
2
|
+
module Capabilities
|
3
|
+
def self.ios_13_1_iphone_8
|
4
|
+
caps = {}
|
5
|
+
caps["name"] = "ios_13_1_iphone_8"
|
6
|
+
caps["browserName"] = "safari"
|
7
|
+
caps["platform"] = "CATALINA"
|
8
|
+
caps["version"] = "13.1"
|
9
|
+
caps["deviceName"] = "iPhone 8"
|
10
|
+
caps["platformName"] = "iOS"
|
11
|
+
caps["record_video"] = true
|
12
|
+
caps["timeZone"] = "Tokyo" # for TestingBot
|
13
|
+
caps
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'selenium-webdriver'
|
2
|
+
module RegressyCommon
|
3
|
+
module Capabilities
|
4
|
+
def self.local_firefox
|
5
|
+
caps = Selenium::WebDriver::Remote::Capabilities.new
|
6
|
+
caps["name"] = "local_firefox"
|
7
|
+
caps["local"] = true
|
8
|
+
caps["browserName"] = "firefox"
|
9
|
+
caps["record_video"] = true
|
10
|
+
caps["timeZone"] = "Tokyo" # for TestingBot
|
11
|
+
caps
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module RegressyCommon
|
2
|
+
module Capabilities
|
3
|
+
def self.galaxy_s8_real
|
4
|
+
caps = {}
|
5
|
+
caps["name"] = "galaxy_s8_real"
|
6
|
+
caps["version"] = "9.0"
|
7
|
+
caps["app"] = "https://testingbot.com/appium/sample.apk"
|
8
|
+
caps["deviceName"] = "Galaxy S8"
|
9
|
+
caps["realDevice"] = true
|
10
|
+
caps["platformName"] = "Android"
|
11
|
+
caps["record_video"] = true
|
12
|
+
caps["timeZone"] = "Tokyo" # for TestingBot
|
13
|
+
caps
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module RegressyCommon
|
2
|
+
module Capabilities
|
3
|
+
def self.real_iphone_6x
|
4
|
+
caps = {}
|
5
|
+
caps["name"] = "iphone_6x_real"
|
6
|
+
caps["version"] = "12.1"
|
7
|
+
caps["app"] = "https://testingbot.com/appium/sample.ipa"
|
8
|
+
caps["deviceName"] = "iPhone 6s"
|
9
|
+
caps["realDevice"] = true
|
10
|
+
caps["platformName"] = "iOS"
|
11
|
+
caps["record_video"] = true
|
12
|
+
caps["timeZone"] = "Tokyo" # for TestingBot
|
13
|
+
caps
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'selenium-webdriver'
|
2
|
+
module RegressyCommon
|
3
|
+
module Capabilities
|
4
|
+
def self.win10_ie11
|
5
|
+
caps = Selenium::WebDriver::Remote::Capabilities.new
|
6
|
+
caps["name"] = "win10_ie11"
|
7
|
+
caps["browserName"] = "internet explorer"
|
8
|
+
caps["platform"] = "WIN10"
|
9
|
+
caps["version"] = "11"
|
10
|
+
caps["record_video"] = true
|
11
|
+
caps["cssSelectorsEnabled"] = true
|
12
|
+
caps["javascriptEnabled"] = true
|
13
|
+
caps["nativeEvents"] = true
|
14
|
+
caps["timeZone"] = "Tokyo" # for TestingBot
|
15
|
+
caps
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
Dir[File.expand_path('../cap_*.rb', __FILE__)].each do |file|
|
2
|
+
require file
|
3
|
+
end
|
4
|
+
module RegressyCommon
|
5
|
+
module Capabilities
|
6
|
+
class Capability
|
7
|
+
attr_accessor(:capability_name, :caps)
|
8
|
+
def initialize(capability_name)
|
9
|
+
@capability_name = capability_name
|
10
|
+
@caps = Capabilities.send(capability_name)
|
11
|
+
end
|
12
|
+
|
13
|
+
def is_local?
|
14
|
+
!@caps["local"].nil?
|
15
|
+
end
|
16
|
+
|
17
|
+
def is_smartphone?
|
18
|
+
!@caps["platformName"].nil?
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
require 'selenium-webdriver'
|
2
|
+
require 'appium_lib'
|
3
|
+
module RegressyCommon
|
4
|
+
class DriverCreator
|
5
|
+
def initialize(capability)
|
6
|
+
@capability = capability
|
7
|
+
end
|
8
|
+
|
9
|
+
def create_driver
|
10
|
+
if @capability && !@capability.is_local?
|
11
|
+
create_driver_remote
|
12
|
+
else
|
13
|
+
create_driver_local
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
protected
|
18
|
+
|
19
|
+
def read_timeout_value
|
20
|
+
140
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def create_driver_local
|
26
|
+
Selenium::WebDriver.for(
|
27
|
+
local_browser_name,
|
28
|
+
url: selenium_hub_url,
|
29
|
+
http_client: http_client,
|
30
|
+
options: options_chrome,
|
31
|
+
)
|
32
|
+
end
|
33
|
+
|
34
|
+
def local_browser_name
|
35
|
+
browser_name = @capability && @capability.caps["browserName"]
|
36
|
+
(browser_name)? browser_name.to_sym : :chrome
|
37
|
+
end
|
38
|
+
|
39
|
+
def create_driver_remote
|
40
|
+
(@capability.is_smartphone?)? driver_remote_appium : driver_remote_selenium
|
41
|
+
end
|
42
|
+
|
43
|
+
def driver_remote_appium
|
44
|
+
Appium::Driver.new(
|
45
|
+
{
|
46
|
+
'caps' => @capability.caps,
|
47
|
+
'appium_lib' => {
|
48
|
+
server_url: selenium_hub_url,
|
49
|
+
},
|
50
|
+
},
|
51
|
+
true,
|
52
|
+
).start_driver
|
53
|
+
end
|
54
|
+
|
55
|
+
def driver_remote_selenium
|
56
|
+
Selenium::WebDriver.for(
|
57
|
+
:remote,
|
58
|
+
url: selenium_hub_url,
|
59
|
+
desired_capabilities: @capability.caps,
|
60
|
+
http_client: http_client,
|
61
|
+
)
|
62
|
+
end
|
63
|
+
|
64
|
+
def http_client
|
65
|
+
client = Selenium::WebDriver::Remote::Http::Default.new
|
66
|
+
client.read_timeout = read_timeout_value
|
67
|
+
client
|
68
|
+
end
|
69
|
+
|
70
|
+
def options_chrome
|
71
|
+
options = Selenium::WebDriver::Chrome::Options.new
|
72
|
+
options.add_option(:w3c, false)
|
73
|
+
options
|
74
|
+
end
|
75
|
+
|
76
|
+
def selenium_hub_url
|
77
|
+
%(http://selenium-hub:4444/wd/hub)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
module RegressyCommon
|
3
|
+
module TestSets
|
4
|
+
class Base < Test::Unit::TestCase
|
5
|
+
attr_accessor(:driver, :capability, :target_host)
|
6
|
+
self.test_order = :defined
|
7
|
+
|
8
|
+
def self.define_capability(capability_name)
|
9
|
+
singleton_class.send(:define_method, :required_capability, -> do
|
10
|
+
@capability = RegressyCommon::Capabilities::Capability.new(capability_name)
|
11
|
+
end)
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.suite_with_capability(capability_name)
|
15
|
+
test_suite = suite
|
16
|
+
test_suite.tests.map! do |v|
|
17
|
+
v.capability = RegressyCommon::Capabilities::Capability.new(capability_name)
|
18
|
+
v
|
19
|
+
end
|
20
|
+
test_suite
|
21
|
+
end
|
22
|
+
|
23
|
+
def setup
|
24
|
+
set_driver
|
25
|
+
set_window_size
|
26
|
+
@accept_next_alert = true
|
27
|
+
@verification_errors = []
|
28
|
+
|
29
|
+
# set timezone
|
30
|
+
ENV['TZ'] = "Asia/Tokyo"
|
31
|
+
end
|
32
|
+
|
33
|
+
def teardown
|
34
|
+
@driver&.quit
|
35
|
+
assert_equal [], @verification_errors if @verification_errors
|
36
|
+
end
|
37
|
+
|
38
|
+
def define_capability(capability_name)
|
39
|
+
singleton_class.send(:define_method, :required_capability, -> do
|
40
|
+
@capability = RegressyCommon::Capabilities::Capability.new(capability_name)
|
41
|
+
end)
|
42
|
+
self
|
43
|
+
end
|
44
|
+
|
45
|
+
def is_smartphone?
|
46
|
+
(@capability)? @capability.is_smartphone? : false
|
47
|
+
end
|
48
|
+
|
49
|
+
protected
|
50
|
+
|
51
|
+
def set_driver
|
52
|
+
@driver = RegressyCommon::DriverCreator.new(@capability).create_driver
|
53
|
+
end
|
54
|
+
|
55
|
+
def set_window_size
|
56
|
+
unless is_smartphone?
|
57
|
+
@driver&.manage.window.resize_to(1600, 1024)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
def logger
|
62
|
+
RegressyCommon::Utils::StandardLogger.instance
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
data/lib/regressy_common.rb
CHANGED
@@ -4,6 +4,10 @@ require "regressy_common/checker"
|
|
4
4
|
require "regressy_common/clicker"
|
5
5
|
require "regressy_common/selector"
|
6
6
|
require "regressy_common/sender"
|
7
|
+
require "regressy_common/driver_creator"
|
8
|
+
require "regressy_common/capabilities/capability"
|
9
|
+
require "regressy_common/utils/standard_logger"
|
10
|
+
require "regressy_common/test_sets/base"
|
7
11
|
|
8
12
|
module RegressyCommon
|
9
13
|
class Error < StandardError; end
|
data/regressy_common.gemspec
CHANGED
@@ -35,13 +35,14 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
36
|
spec.require_paths = ["lib"]
|
37
37
|
|
38
|
-
spec.add_dependency "httpclient", "~> 2.8"
|
39
|
-
spec.add_dependency "activesupport", "~> 6.0"
|
38
|
+
spec.add_dependency "httpclient", "~> 2.8.3"
|
39
|
+
spec.add_dependency "activesupport", "~> 6.0.1"
|
40
|
+
spec.add_dependency "appium_lib", "~> 10.5.0"
|
41
|
+
spec.add_dependency "selenium-webdriver", "~> 3.142.3"
|
40
42
|
spec.add_development_dependency "bundler", "~> 1.17"
|
41
43
|
spec.add_development_dependency "rake", "~> 10.0"
|
42
44
|
spec.add_development_dependency "rspec", "~> 3.0"
|
43
45
|
spec.add_development_dependency "pry-byebug", "~> 3.7"
|
44
46
|
spec.add_development_dependency "webmock", "~> 3.6.2"
|
45
|
-
spec.add_development_dependency "
|
46
|
-
spec.add_development_dependency "test-unit", "~> 3"
|
47
|
+
spec.add_development_dependency "test-unit", "~> 3.3.4"
|
47
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: regressy_common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- info@fluxware.co.jp
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -16,28 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.8.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.8.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 6.0.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 6.0.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: appium_lib
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 10.5.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 10.5.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: selenium-webdriver
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.142.3
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.142.3
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: bundler
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,34 +136,20 @@ dependencies:
|
|
108
136
|
- - "~>"
|
109
137
|
- !ruby/object:Gem::Version
|
110
138
|
version: 3.6.2
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: selenium-webdriver
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '3'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '3'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: test-unit
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
145
|
+
version: 3.3.4
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
150
|
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
152
|
+
version: 3.3.4
|
139
153
|
description:
|
140
154
|
email:
|
141
155
|
- info@fluxware.co.jp
|
@@ -156,12 +170,25 @@ files:
|
|
156
170
|
- docker/development/Dockerfile
|
157
171
|
- docker/development/docker-compose.yml
|
158
172
|
- lib/regressy_common.rb
|
173
|
+
- lib/regressy_common/capabilities/cap_android_10_0_pixel_3.rb
|
174
|
+
- lib/regressy_common/capabilities/cap_android_9_0_galaxy_s9.rb
|
175
|
+
- lib/regressy_common/capabilities/cap_ios_10_3_iphone_6.rb
|
176
|
+
- lib/regressy_common/capabilities/cap_ios_11_4_iphone_7.rb
|
177
|
+
- lib/regressy_common/capabilities/cap_ios_13_1_iphone_8.rb
|
178
|
+
- lib/regressy_common/capabilities/cap_local_firefox.rb
|
179
|
+
- lib/regressy_common/capabilities/cap_real_galaxy_s8.rb
|
180
|
+
- lib/regressy_common/capabilities/cap_real_iphone_6x.rb
|
181
|
+
- lib/regressy_common/capabilities/cap_win10_ie11.rb
|
182
|
+
- lib/regressy_common/capabilities/capability.rb
|
159
183
|
- lib/regressy_common/checker.rb
|
160
184
|
- lib/regressy_common/clicker.rb
|
185
|
+
- lib/regressy_common/driver_creator.rb
|
161
186
|
- lib/regressy_common/selector.rb
|
162
187
|
- lib/regressy_common/sender.rb
|
163
188
|
- lib/regressy_common/snap_shot.rb
|
164
189
|
- lib/regressy_common/snap_storage.rb
|
190
|
+
- lib/regressy_common/test_sets/base.rb
|
191
|
+
- lib/regressy_common/utils/standard_logger.rb
|
165
192
|
- lib/regressy_common/version.rb
|
166
193
|
- lib/stabs/selenium-web_driver.rb
|
167
194
|
- regressy_common.gemspec
|