Ifd_Mobile 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Ifd_Mobile/version.rb +1 -1
- data/project/Gemfile +0 -2
- data/project/features/support/env.rb +12 -2
- data/project/features/support/project_config.yml +5 -7
- metadata +2 -3
- data/project/Gemfile.lock +0 -182
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebf02a91d4bc143e107f2165f94649ad1368fa99
|
4
|
+
data.tar.gz: 55fb906311c926f7f0b989356c0c6889f657e2f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91ae630140be6a9c94cdfd2d5c20aa48c8fc3b62f85b5141251e13c0c99c92d1b32239d530c12f15d5b6c306cd3b906daa1e21d0227bffc249ca47541d6a55f6
|
7
|
+
data.tar.gz: 632b4bdbbb31721e4bc6f14d3ecc495a1fa07b282386316c80a108ffe90b8c41d1ca1469f4179a6a01d8940775c449bf2c725c990ecbe3963912a7877f31e139
|
data/lib/Ifd_Mobile/version.rb
CHANGED
data/project/Gemfile
CHANGED
@@ -14,8 +14,8 @@ $current_dir = File.expand_path(File.dirname(__FILE__))
|
|
14
14
|
$base_dir = File.expand_path(File.dirname(__FILE__) + '/../..')
|
15
15
|
|
16
16
|
$_CONFIG = Hash.new
|
17
|
-
PROJECT_CONFIG = YAML.load_file("#{$current_dir}/project_config.yml")
|
18
17
|
$_CONFIG['Print Log'] = true
|
18
|
+
PROJECT_CONFIG = YAML.load_file("#{$current_dir}/project_config.yml")
|
19
19
|
$_CONFIG['Wait Time'] = PROJECT_CONFIG["wait_time"]
|
20
20
|
$OBJECT = YAML.load_file("#{$base_dir}/features/step_definitions/repositories/project_object.yml")
|
21
21
|
$test_data_dir = $base_dir + '/features/TestData/'
|
@@ -23,9 +23,19 @@ $globalData = YAML.load_file("#{$test_data_dir}/globalData.yml")
|
|
23
23
|
|
24
24
|
|
25
25
|
class AppiumWorld
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
def caps
|
30
|
+
{
|
31
|
+
'platformName' => PROJECT_CONFIG['platformName'],
|
32
|
+
'deviceName' => PROJECT_CONFIG['deviceName'],
|
33
|
+
'platformVersion' => PROJECT_CONFIG['platformVersion'],
|
34
|
+
'app' => PROJECT_CONFIG['app']
|
35
|
+
}
|
26
36
|
end
|
27
37
|
|
28
|
-
Appium::Driver.new({caps:
|
38
|
+
Appium::Driver.new({caps: caps, appium_lib: {server_url: PROJECT_CONFIG["server_url"]}}).start_driver
|
29
39
|
|
30
40
|
|
31
41
|
Appium.promote_appium_methods AppiumWorld
|
@@ -1,8 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
server_url: http://192.168.2.122:1234/wd/hub
|
1
|
+
platformName: android
|
2
|
+
deviceName: 192.168.56.101:5555
|
3
|
+
platformVersion: 4.4.4
|
4
|
+
app: C:/Users/anhpham2710/Desktop/mobile/project/apps/android-2016.apk
|
5
|
+
server_url: http://192.168.2.149:1234/wd/hub
|
8
6
|
wait_time: 2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Ifd_Mobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anh Pham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -92,7 +92,6 @@ files:
|
|
92
92
|
- project/features/TestData/globalData.yml
|
93
93
|
- project/features/TestSuite/login.feature
|
94
94
|
- project/Gemfile
|
95
|
-
- project/Gemfile.lock
|
96
95
|
homepage: https://rubygems.org/gems/ifd_mobile
|
97
96
|
licenses:
|
98
97
|
- MIT
|
data/project/Gemfile.lock
DELETED
@@ -1,182 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (4.2.4)
|
5
|
-
actionpack (= 4.2.4)
|
6
|
-
actionview (= 4.2.4)
|
7
|
-
activejob (= 4.2.4)
|
8
|
-
mail (~> 2.5, >= 2.5.4)
|
9
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
10
|
-
actionpack (4.2.4)
|
11
|
-
actionview (= 4.2.4)
|
12
|
-
activesupport (= 4.2.4)
|
13
|
-
rack (~> 1.6)
|
14
|
-
rack-test (~> 0.6.2)
|
15
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
16
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
-
actionview (4.2.4)
|
18
|
-
activesupport (= 4.2.4)
|
19
|
-
builder (~> 3.1)
|
20
|
-
erubis (~> 2.7.0)
|
21
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
23
|
-
activejob (4.2.4)
|
24
|
-
activesupport (= 4.2.4)
|
25
|
-
globalid (>= 0.3.0)
|
26
|
-
activemodel (4.2.4)
|
27
|
-
activesupport (= 4.2.4)
|
28
|
-
builder (~> 3.1)
|
29
|
-
activerecord (4.2.4)
|
30
|
-
activemodel (= 4.2.4)
|
31
|
-
activesupport (= 4.2.4)
|
32
|
-
arel (~> 6.0)
|
33
|
-
activesupport (4.2.4)
|
34
|
-
i18n (~> 0.7)
|
35
|
-
json (~> 1.7, >= 1.7.7)
|
36
|
-
minitest (~> 5.1)
|
37
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
38
|
-
tzinfo (~> 1.1)
|
39
|
-
addressable (2.3.8)
|
40
|
-
arel (6.0.3)
|
41
|
-
builder (3.2.2)
|
42
|
-
capybara (2.4.4)
|
43
|
-
mime-types (>= 1.16)
|
44
|
-
nokogiri (>= 1.3.3)
|
45
|
-
rack (>= 1.0.0)
|
46
|
-
rack-test (>= 0.5.4)
|
47
|
-
xpath (~> 2.0)
|
48
|
-
chromedriver2-helper (0.0.8)
|
49
|
-
nokogiri
|
50
|
-
csv-diff (0.3.0)
|
51
|
-
diff-lcs (1.2.5)
|
52
|
-
domain_name (0.5.25)
|
53
|
-
unf (>= 0.0.5, < 1.0.0)
|
54
|
-
email_spec (1.6.0)
|
55
|
-
launchy (~> 2.1)
|
56
|
-
mail (~> 2.2)
|
57
|
-
erubis (2.7.0)
|
58
|
-
ffi (1.9.10-x64-mingw32)
|
59
|
-
gherkin (2.12.2)
|
60
|
-
multi_json (~> 1.3)
|
61
|
-
globalid (0.3.6)
|
62
|
-
activesupport (>= 4.1.0)
|
63
|
-
http-cookie (1.0.2)
|
64
|
-
domain_name (~> 0.5)
|
65
|
-
httparty (0.13.7)
|
66
|
-
json (~> 1.8)
|
67
|
-
multi_xml (>= 0.5.2)
|
68
|
-
i18n (0.7.0)
|
69
|
-
json (1.8.3)
|
70
|
-
launchy (2.4.3)
|
71
|
-
addressable (~> 2.3)
|
72
|
-
loofah (2.0.3)
|
73
|
-
nokogiri (>= 1.5.9)
|
74
|
-
mail (2.6.3)
|
75
|
-
mime-types (>= 1.16, < 3)
|
76
|
-
mime-types (2.6.2)
|
77
|
-
mini_portile (0.6.2)
|
78
|
-
minitest (5.8.1)
|
79
|
-
multi_json (1.11.2)
|
80
|
-
multi_xml (0.5.5)
|
81
|
-
mysql2 (0.3.18-x64-mingw32)
|
82
|
-
netrc (0.10.3)
|
83
|
-
nokogiri (1.6.6.2-x64-mingw32)
|
84
|
-
mini_portile (~> 0.6.0)
|
85
|
-
parallel (1.6.1)
|
86
|
-
parallel_tests (1.9.0)
|
87
|
-
parallel
|
88
|
-
power_assert (0.2.4)
|
89
|
-
rack (1.6.4)
|
90
|
-
rack-test (0.6.3)
|
91
|
-
rack (>= 1.0)
|
92
|
-
rack-utf8_sanitizer (1.3.1)
|
93
|
-
rack (~> 1.0)
|
94
|
-
rails (4.2.4)
|
95
|
-
actionmailer (= 4.2.4)
|
96
|
-
actionpack (= 4.2.4)
|
97
|
-
actionview (= 4.2.4)
|
98
|
-
activejob (= 4.2.4)
|
99
|
-
activemodel (= 4.2.4)
|
100
|
-
activerecord (= 4.2.4)
|
101
|
-
activesupport (= 4.2.4)
|
102
|
-
bundler (>= 1.3.0, < 2.0)
|
103
|
-
railties (= 4.2.4)
|
104
|
-
sprockets-rails
|
105
|
-
rails-deprecated_sanitizer (1.0.3)
|
106
|
-
activesupport (>= 4.2.0.alpha)
|
107
|
-
rails-dom-testing (1.0.7)
|
108
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
109
|
-
nokogiri (~> 1.6.0)
|
110
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
111
|
-
rails-html-sanitizer (1.0.2)
|
112
|
-
loofah (~> 2.0)
|
113
|
-
railties (4.2.4)
|
114
|
-
actionpack (= 4.2.4)
|
115
|
-
activesupport (= 4.2.4)
|
116
|
-
rake (>= 0.8.7)
|
117
|
-
thor (>= 0.18.1, < 2.0)
|
118
|
-
rake (10.4.2)
|
119
|
-
rautomation (0.17.0)
|
120
|
-
ffi (~> 1.9.0)
|
121
|
-
rest-client (1.8.0-x64-mingw32)
|
122
|
-
ffi (~> 1.9)
|
123
|
-
http-cookie (>= 1.0.2, < 2.0)
|
124
|
-
mime-types (>= 1.16, < 3.0)
|
125
|
-
netrc (~> 0.7)
|
126
|
-
rspec (3.3.0)
|
127
|
-
rspec-core (~> 3.3.0)
|
128
|
-
rspec-expectations (~> 3.3.0)
|
129
|
-
rspec-mocks (~> 3.3.0)
|
130
|
-
rspec-core (3.3.2)
|
131
|
-
rspec-support (~> 3.3.0)
|
132
|
-
rspec-expectations (3.3.1)
|
133
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
134
|
-
rspec-support (~> 3.3.0)
|
135
|
-
rspec-mocks (3.3.2)
|
136
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
137
|
-
rspec-support (~> 3.3.0)
|
138
|
-
rspec-support (3.3.0)
|
139
|
-
sprockets (3.4.0)
|
140
|
-
rack (> 1, < 3)
|
141
|
-
sprockets-rails (2.3.3)
|
142
|
-
actionpack (>= 3.0)
|
143
|
-
activesupport (>= 3.0)
|
144
|
-
sprockets (>= 2.8, < 4.0)
|
145
|
-
test-unit (3.1.5)
|
146
|
-
power_assert
|
147
|
-
thor (0.19.1)
|
148
|
-
thread_safe (0.3.5)
|
149
|
-
tiny_tds (0.6.2-x64-mingw32)
|
150
|
-
tzinfo (1.2.2)
|
151
|
-
thread_safe (~> 0.1)
|
152
|
-
unf (0.1.4)
|
153
|
-
unf_ext
|
154
|
-
unf_ext (0.0.7.1-x64-mingw32)
|
155
|
-
xpath (2.0.0)
|
156
|
-
nokogiri (~> 1.3)
|
157
|
-
|
158
|
-
PLATFORMS
|
159
|
-
x64-mingw32
|
160
|
-
|
161
|
-
DEPENDENCIES
|
162
|
-
actionmailer (~> 4.2.3)
|
163
|
-
capybara (~> 2.4.4)
|
164
|
-
chromedriver2-helper
|
165
|
-
csv-diff (~> 0.3.0)
|
166
|
-
email_spec
|
167
|
-
gherkin (~> 2.12.2)
|
168
|
-
httparty (~> 0.13.5)
|
169
|
-
json (= 1.8.3)
|
170
|
-
mail
|
171
|
-
mysql2 (= 0.3.18)
|
172
|
-
parallel_tests
|
173
|
-
rack-utf8_sanitizer
|
174
|
-
rails
|
175
|
-
rautomation (~> 0.17.0)
|
176
|
-
rest-client (~> 1.8.0)
|
177
|
-
rspec (~> 3.3.0)
|
178
|
-
test-unit (~> 3.1.2)
|
179
|
-
tiny_tds (~> 0.6.2)
|
180
|
-
|
181
|
-
BUNDLED WITH
|
182
|
-
1.10.6
|