ruby-mobile-appium-template 1.1.3 → 1.1.6

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
  SHA256:
3
- metadata.gz: 365028a9e9bd7bf7b63b190b412d841f606931d50c7d5473f2a33d2534911e76
4
- data.tar.gz: 53cf7480901ed3fe6e2e71465b8ae86ef5a9125ba0d6200ae8f3b9c38b526f94
3
+ metadata.gz: dfd7eb0110a577976a442bc66f1df70132cbb58fb36864a6c4e987aab7cf24cd
4
+ data.tar.gz: 1f8657c04ab943bc988d2b5cb2ad38d6acd7f7b8ca7c431aaed7741004e19dad
5
5
  SHA512:
6
- metadata.gz: 19707f78c3520c994cc65f1b294bd58c42840918fa814d4d2b16e2d1f175d55ecd645cfcb0da4770c16b1eb032fe89d4c5907d8be733561eae161bea8d43d99c
7
- data.tar.gz: e9cfbf6a763057f966269338f84830fccedc68d328cdfb89b3ecf5275a5c74159832212879a6a3692cf80e9944ff784b2e059b532394c11effc8fa1ac77ff3fe
6
+ metadata.gz: ae75ac1d166c7c7caf000bebb8e75c3370c955f19b8ea4c100598849668f547b3442c9ed621b84d382562321b802d24e13430d63fcb15232a95aa97a317b52b5
7
+ data.tar.gz: 6aac73be38bf8eb097b82c0c8f7142ec07078fff7554792b4b8507dcd49de97b7fbcc39b9c473c087066db11a2af1692e571ddf62dbf904f0a4fdfd3285964c9
data/lib/ruby_appium.rb CHANGED
@@ -5,7 +5,7 @@ require "fileutils"
5
5
  class RubyAppium < Thor::Group
6
6
  include Thor::Actions
7
7
 
8
- VERSION = "1.1.3"
8
+ VERSION = "1.1.6"
9
9
 
10
10
  argument :dir_name
11
11
 
@@ -60,47 +60,47 @@ class RubyAppium < Thor::Group
60
60
 
61
61
  def create_files
62
62
  inside "config/ios" do
63
- template "config/ios/appium.txt", "appium.txt"
64
- template "config/ios/appium_farm.txt", "appium_farm.txt"
63
+ template "appium.txt"
64
+ template "appium_farm.txt"
65
65
  end
66
66
 
67
67
  inside "config/android" do
68
- template "config/android/appium.txt", "appium.txt"
69
- template "config/android/appium_farm.txt", "appium_farm.txt"
68
+ template "appium.txt"
69
+ template "appium_farm.txt"
70
70
  end
71
71
 
72
72
  inside "features/support" do
73
- template "features/support/env.rb", "env.rb"
74
- template "features/support/hooks.rb", "hooks.rb"
75
- template "eatures/support/utils.rb", "utils.rb"
76
- template "features/support/appium_custom.rb", "appium_custom.rb"
73
+ template "env.rb"
74
+ template "hooks.rb"
75
+ template "utils.rb"
76
+ template "appium_custom.rb"
77
77
  end
78
78
 
79
79
  inside "features/login/features" do
80
- template "eatures/login/features/login.feature", "login.feature"
80
+ template "login.feature"
81
81
  end
82
82
 
83
83
  inside "features/login/data" do
84
- template "features/login/data/login.yaml","data/login.yaml"
84
+ template "login.yaml"
85
85
  end
86
86
 
87
87
  inside "features/login/elements" do
88
- template "features/login/elements/screen_mappings_home.yaml","screen_mappings_home.yaml"
89
- template "features/login/elements/screen_mappings_login.yaml","screen_mappings_login.yaml"
90
- template "features/login/elements/screen_mappings_organizadorhome.yaml","screen_mappings_organizadorhome.yaml"
91
- template "features/login/elements/screen_mappings_token.yaml","screen_mappings_token.yaml"
88
+ template "screen_mappings_home.yaml"
89
+ template "screen_mappings_login.yaml"
90
+ template "screen_mappings_organizadorhome.yaml"
91
+ template "screen_mappings_token.yaml"
92
92
  end
93
93
 
94
94
  inside "features/login/pageobjects" do
95
- template "features/login/pageobjects/home.rb","home.rb"
96
- template "features/login/pageobjects/login.rb","login.rb"
97
- template "features/login/pageobjects/loginPages.rb","loginPages.rb"
98
- template "features/login/pageobjects/organizadorHome.rb","organizadorHome.rb"
99
- template "features/login/pageobjects/token.rb","token.rb"
95
+ template "home.rb"
96
+ template "login.rb"
97
+ template "loginPages.rb"
98
+ template "organizadorHome.rb"
99
+ template "token.rb"
100
100
  end
101
101
 
102
102
  inside "features/login/steps" do
103
- template "features/login/steps/login_steps.rb","login_steps.rb"
103
+ template "login_steps.rb"
104
104
  end
105
105
  end
106
106
 
@@ -0,0 +1,256 @@
1
+ ##############################JAZZIGNORE#################################
2
+ .jazzignore
3
+
4
+ ##############################IDE ECLIPSE################################
5
+ .metadata
6
+ tmp/
7
+ *.tmp
8
+ *.bak
9
+ *.swp
10
+ *~.nib
11
+ local.properties
12
+ .settings/
13
+ .loadpath
14
+ .recommenders
15
+
16
+ # External tool builders
17
+ .externalToolBuilders/
18
+
19
+ # Locally stored "Eclipse launch configurations"
20
+ *.launch
21
+
22
+ # PyDev specific (Python IDE for Eclipse)
23
+ *.pydevproject
24
+
25
+ # CDT-specific (C/C++ Development Tooling)
26
+ .cproject
27
+
28
+ # CDT- autotools
29
+ .autotools
30
+
31
+ # Java annotation processor (APT)
32
+ .factorypath
33
+
34
+ # PDT-specific (PHP Development Tools)
35
+ .buildpath
36
+
37
+ # sbteclipse plugin
38
+ .target
39
+
40
+ # Tern plugin
41
+ .tern-project
42
+
43
+ # TeXlipse plugin
44
+ .texlipse
45
+
46
+ # STS (Spring Tool Suite)
47
+ .springBeans
48
+
49
+ # Code Recommenders
50
+ .recommenders/
51
+
52
+ # Scala IDE specific (Scala & Java development for Eclipse)
53
+ .cache-main
54
+ .scala_dependencies
55
+ .worksheet
56
+
57
+
58
+ ##############################IDE JETBRAINS################################
59
+
60
+ # User-specific stuff:
61
+ .idea/**/workspace.xml
62
+ .idea/**/tasks.xml
63
+ .idea/dictionaries
64
+
65
+ # Sensitive or high-churn files:
66
+ .idea/**/dataSources/
67
+ .idea/**/dataSources.ids
68
+ .idea/**/dataSources.xml
69
+ .idea/**/dataSources.local.xml
70
+ .idea/**/sqlDataSources.xml
71
+ .idea/**/dynamic.xml
72
+ .idea/**/uiDesigner.xml
73
+
74
+ # Gradle:
75
+ .idea/**/gradle.xml
76
+ .idea/**/libraries
77
+
78
+ # CMake
79
+ cmake-build-debug/
80
+ cmake-build-release/
81
+
82
+ # Mongo Explorer plugin:
83
+ .idea/**/mongoSettings.xml
84
+
85
+ ## File-based project format:
86
+ *.iws
87
+
88
+ ## Plugin-specific files:
89
+
90
+ # IntelliJ
91
+ out/
92
+
93
+ # mpeltonen/sbt-idea plugin
94
+ .idea_modules/
95
+
96
+ # JIRA plugin
97
+ atlassian-ide-plugin.xml
98
+
99
+ # Cursive Clojure plugin
100
+ .idea/replstate.xml
101
+
102
+ # Crashlytics plugin (for Android Studio and IntelliJ)
103
+ com_crashlytics_export_strings.xml
104
+ crashlytics.properties
105
+ crashlytics-build.properties
106
+ fabric.properties
107
+
108
+ ##############################VISUAL STUDIO CODE################################
109
+
110
+ .vscode/*
111
+ !.vscode/settings.json
112
+ !.vscode/tasks.json
113
+ !.vscode/launch.json
114
+ !.vscode/extensions.json
115
+
116
+ ##############################SUBLIME############################################
117
+
118
+ # Cache files for Sublime Text
119
+ *.tmlanguage.cache
120
+ *.tmPreferences.cache
121
+ *.stTheme.cache
122
+
123
+ # Workspace files are user-specific
124
+ *.sublime-workspace
125
+
126
+ # Project files should be checked into the repository, unless a significant
127
+ # proportion of contributors will probably not be using Sublime Text
128
+ # *.sublime-project
129
+
130
+ # SFTP configuration file
131
+ sftp-config.json
132
+
133
+ # Package control specific files
134
+ Package Control.last-run
135
+ Package Control.ca-list
136
+ Package Control.ca-bundle
137
+ Package Control.system-ca-bundle
138
+ Package Control.cache/
139
+ Package Control.ca-certs/
140
+ Package Control.merged-ca-bundle
141
+ Package Control.user-ca-bundle
142
+ oscrypto-ca-bundle.crt
143
+ bh_unicode_properties.cache
144
+
145
+ #################################WINDOWS#########################################
146
+
147
+ # Windows thumbnail cache files
148
+ Thumbs.db
149
+ ehthumbs.db
150
+ ehthumbs_vista.db
151
+
152
+ # Dump file
153
+ *.stackdump
154
+
155
+ # Folder config file
156
+ [Dd]esktop.ini
157
+
158
+ # Recycle Bin used on file shares
159
+ $RECYCLE.BIN/
160
+
161
+ # Windows Installer files
162
+ *.cab
163
+ *.msi
164
+ *.msm
165
+ *.msp
166
+
167
+ # Windows shortcuts
168
+ *.lnk
169
+
170
+ #################################LINUX#########################################
171
+
172
+ *~
173
+
174
+ # temporary files which can be created if a process still has a handle open of a deleted file
175
+ .fuse_hidden*
176
+
177
+ # KDE directory preferences
178
+ .directory
179
+
180
+ # Linux trash folder which might appear on any partition or disk
181
+ .Trash-*
182
+
183
+ # .nfs files are created when an open file is removed but is still being accessed
184
+ .nfs*
185
+
186
+ #################################MACOS#########################################
187
+ # General
188
+ .DS_Store
189
+ .AppleDouble
190
+ .LSOverride
191
+
192
+ # Thumbnails
193
+ ._*
194
+
195
+ # Files that might appear in the root of a volume
196
+ .DocumentRevisions-V100
197
+ .fseventsd
198
+ .Spotlight-V100
199
+ .TemporaryItems
200
+ .Trashes
201
+ .VolumeIcon.icns
202
+ .com.apple.timemachine.donotpresent
203
+
204
+ # Directories potentially created on remote AFP share
205
+ .AppleDB
206
+ .AppleDesktop
207
+ Network Trash Folder
208
+ Temporary Items
209
+ .apdisk
210
+
211
+ */target/*
212
+ target
213
+ docker/*.jar
214
+
215
+ */.idea/*
216
+ *.iml
217
+
218
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
219
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
220
+
221
+ # User-specific stuff
222
+ .idea/**/usage.statistics.xml
223
+ .idea/**/dictionaries
224
+ .idea/**/shelf
225
+
226
+ # Generated files
227
+ .idea/**/contentModel.xml
228
+
229
+ # Gradle and Maven with auto-import
230
+ # When using Gradle or Maven with auto-import, you should exclude module files,
231
+ # since they will be recreated, and may cause churn. Uncomment if using
232
+ # auto-import.
233
+ # .idea/artifacts
234
+ # .idea/compiler.xml
235
+ # .idea/jarRepositories.xml
236
+ # .idea/modules.xml
237
+ # .idea/*.iml
238
+ # .idea/modules
239
+ # *.iml
240
+ # *.ipr
241
+
242
+ # CMake
243
+ cmake-build-*/
244
+
245
+ # Editor-based Rest Client
246
+ .idea/httpRequests
247
+
248
+ # Android studio 3.1+ serialized cache file
249
+ .idea
250
+
251
+ # Arquivos de execução
252
+ /allure-results
253
+ /allure-report/
254
+ /exec-logs
255
+ /app
256
+ Gemfile.lock
@@ -0,0 +1,18 @@
1
+ [caps]
2
+ automationName="UiAutomator2"
3
+ platformName = "Android"
4
+
5
+ #deviceName = "emulator-5554"
6
+ app = "./app/android/app-debug.apk"
7
+ avd = "Pixel_2_API_30"
8
+
9
+ appPackage = ""
10
+ appActivity = ""
11
+
12
+ newCommandTimeout = 3600
13
+ autoGrantPermissions = true
14
+
15
+ [appium_lib]
16
+ wait = 20
17
+ debug = true
18
+ export_session = true
@@ -0,0 +1,21 @@
1
+ [caps]
2
+ platformName = "Android"
3
+ automationName ="UiAutomator2"
4
+
5
+ # Device Farm
6
+
7
+ tenantId = "999999999"
8
+ udid = "520348e2596bb38f"
9
+ server_url = ""
10
+ appPackage = ""
11
+ appActivity = ""
12
+ mcWorkspaceName = ""
13
+
14
+ autoGrantPermissions = true
15
+ newCommandTimeout = 3600
16
+
17
+ [appium_lib]
18
+ wait = 20
19
+ debug = true
20
+ export_session = true
21
+
@@ -0,0 +1,17 @@
1
+ [caps]
2
+ automationName = "XCUITest"
3
+ platformName = "iOS"
4
+
5
+ # Device Farm
6
+ server_url = ""
7
+ tenantId = "999999999"
8
+ udid = "ca3a1864dcf5fe2f79b2ec43765096820f604254"
9
+ bundleId = ""
10
+
11
+ autoAcceptAlerts = true
12
+ autoGrantPermissions = true
13
+
14
+ [appium_lib]
15
+ wait = 20
16
+ debug = false
17
+ export_session = true
@@ -1,310 +1,4 @@
1
- sucesso:
2
- cpf: 57497189808
3
- senha: 11223344
4
- # cpf: 13226509004
5
- # senha: 123456
6
- invalido:
7
- cpf: 12326509004
8
- senha: 654321
9
-
10
- ativacao:
11
- cpf: 26862202014
12
- senha: 123123
13
-
14
- dxcAtivada:
15
- cpf: 34297733692
16
- senha: 103050
17
- senhaCartao: 9800
18
-
19
1
  ativada:
20
2
  cpf: 37725787801
21
3
  senha: 12341234
22
- #cpf: 08948687212
23
- #senha: 103050
24
-
25
- cartaoPuro:
26
- cpf: 80406360863
27
- 4digitos: 6246
28
- senhaCompra: 9377
29
- novaSenha: 103050
30
- repetirSenha: 103050
31
- senha: 103050
32
-
33
- reneg:
34
- cpf: 72114606953
35
- senha: 103050
36
-
37
- negadaCartonista:
38
- cpf: 34297733692
39
- senha: 103050
40
-
41
- negadaFinanciamento:
42
- cpf: 54503709704
43
- senha: 103050
44
-
45
- aprovada:
46
- cpf: 57439248139
47
- senha: 103050
48
-
49
- inconclusivoCartRG:
50
- cpf: 14705214749
51
- senha: 091017
52
-
53
- inconclusivoCartCNH:
54
- cpf: 82278534718
55
- senha: 103050
56
-
57
- inconclusivoFinRG:
58
- cpf: 95300818712
59
- senha: 091017
60
-
61
- inconclusivoFinCNH:
62
- cpf: 50437991296
63
- senha: 091017
64
-
65
- conta:
66
- cpf: 11618476262
67
- senha: 103050
68
- senhaCartao: 1770
69
-
70
- marAberto:
71
- cpfDebito: 35315245772
72
- cpfCredito: 25037315700
73
- nome: teste bv
74
- email: teste@teste.com.br
75
- celular: 11992223391
76
- nascimento: 01/01/2000
77
- genero: masculino
78
- documento: 101010
79
- numCEP: 03344-000
80
- numendereco: 32444
81
- compEndereco: a
82
- mae: mae do teste
83
- ppe: nao
84
- ocupacao: empresario
85
- cartao: livre
86
- bandeira: master
87
- bairro:
88
- renda: 1000000
89
- nacionalidade: brasil
90
- vencimento: 20
91
-
92
- vitrineCartoes:
93
- cpf: 14233377518
94
- senha: 103050
95
- nome: teste bv
96
- email: teste@teste.com.br
97
- celular: 11992223391
98
- nascimento: 01/01/2000
99
- genero: masculino
100
- documento: 101010
101
- numCEP: 05056-000
102
- numendereco: 32444
103
- compEndereco: a
104
- mae: mae do teste
105
- ppe: nao
106
- ocupacao: empresario
107
- cartao: livre
108
- bandeira: master
109
- bairro:
110
- renda: 1000000
111
- nacionalidade: brasil
112
- vencimento: 20
113
-
114
- cartoes:
115
- cpf: 27646286338
116
- senha: 103050
117
- nome: teste bv
118
- email: teste@teste.com.br
119
- celular: 11992223391
120
- nascimento: 01/01/2000
121
- genero: masculino
122
- documento: 101010
123
- numCEP: 05056-000
124
- numendereco: 32444
125
- compEndereco: a
126
- mae: mae do teste
127
- ppe: sim
128
- ocupacao: empresario
129
- cartao: livre
130
- bandeira: master
131
- bairro:
132
- renda: 1000000
133
- nacionalidade: brasil
134
- vencimento: 20
135
-
136
- vitrineFinancimento:
137
- cpf: 25713881857
138
- senha: 091017
139
- nome: teste bv
140
- email: teste@teste.com.br
141
- celular: 11992223391
142
- nascimento: 01/01/2000
143
- genero: masculino
144
- documento: 101010
145
- numCEP: 05056-000
146
- numendereco: 32444
147
- compEndereco: a
148
- mae: mae do teste
149
- ppe: nao
150
- ocupacao: empresario
151
- cartao: livre
152
- bandeira: master
153
- bairro:
154
- renda: 1000000
155
- nacionalidade: brasil
156
- vencimento: 20
157
-
158
- financiamento:
159
- cpf: 28238626765
160
- senha: 103050
161
- nome: teste bv
162
- email: teste@teste.com.br
163
- celular: 11992223391
164
- nascimento: 01/01/2000
165
- genero: masculino
166
- documento: 101010
167
- numCEP: 05056-000
168
- numendereco: 32444
169
- compEndereco: a
170
- mae: mae do teste
171
- ppe: nao
172
- ocupacao: empresario
173
- cartao: unico
174
- bandeira: visa
175
- bairro:
176
- renda: 1000000
177
- nacionalidade: brasil
178
- vencimento: 20
179
-
180
- finMegvi:
181
- cpf: 10046270841
182
- senha: 103050
183
- nome: teste bv
184
- email: teste@teste.com.br
185
- celular: 11992223391
186
- nascimento: 01/01/2000
187
- genero: masculino
188
- documento: 101010
189
- numCEP: 05056-000
190
- numendereco: 32444
191
- compEndereco: a
192
- mae: mae do teste
193
- ppe: nao
194
- ocupacao: empresario
195
- cartao: livre
196
- bandeira: master
197
- bairro:
198
- renda: 1000000
199
- nacionalidade: brasil
200
- vencimento: 20
201
-
202
- marMegvi:
203
- cpf: 42973422191
204
- nome: teste bv
205
- email: teste@teste.com.br
206
- celular: 11992223391
207
- nascimento: 01/01/2000
208
- genero: masculino
209
- documento: 101010
210
- numCEP: 03344-000
211
- numendereco: 32444
212
- compEndereco: a
213
-
214
- resetCartMegvi:
215
- cpf: 38567673208
216
- 4digitos: 2810
217
- senhaCompra: 7759
218
- novaSenha: 103050
219
- repetirSenha: 103050
220
- nome: teste bv
221
- email: teste@teste.com.br
222
- celular: 11992223391
223
- nascimento: 01/01/2000
224
- genero: masculino
225
- documento: 101010
226
- numCEP: 05056-000
227
- numendereco: 32444
228
- compEndereco: a
229
- mae: mae do teste
230
- ppe: sim
231
- ocupacao: empresario
232
- cartao: livre
233
- bandeira: master
234
- bairro:
235
- renda: 1000000
236
- nacionalidade: brasil
237
- vencimento: 20
238
-
239
- cartoesMegvi:
240
- cpf: 05532136955
241
- senha: 103050
242
- nome: teste bv
243
- email: teste@teste.com.br
244
- celular: 11992223391
245
- nascimento: 01/01/2000
246
- genero: masculino
247
- documento: 101010
248
- numCEP: 05056-000
249
- numendereco: 32444
250
- compEndereco: a
251
- mae: mae do teste
252
- ppe: sim
253
- ocupacao: empresario
254
- cartao: livre
255
- bandeira: master
256
- bairro:
257
- renda: 1000000
258
- nacionalidade: brasil
259
- vencimento: 20
260
-
261
- numMarAberto:
262
- cpf: 75602066896
263
- cartao: unico
264
- bandeira: visa
265
- mae: mae do teste
266
- ppe: nao
267
- ocupacao: empresario
268
- cartao: unico
269
- bandeira: visa
270
- bairro:
271
- renda: 1000000
272
- nacionalidade: brasil
273
- vencimento: 20
274
-
275
- numFinanciamento:
276
- cpf: 54503709704
277
- senha: 103050
278
- cartao: mais
279
- bandeira: visa
280
- mae: mae do teste
281
- ppe: nao
282
- ocupacao: empresario
283
- cartao: unico
284
- bandeira: visa
285
- bairro:
286
- renda: 1000000
287
- nacionalidade: brasil
288
- vencimento: 20
289
-
290
- numCartoes:
291
- cpf: 56090544000
292
- senha: 103050
293
- cartao: unico
294
- bandeira: visa
295
- nome: teste bv
296
- email: teste@teste.com.br
297
- celular: 11992223391
298
- nascimento: 01/01/2000
299
- genero: masculino
300
- documento: 101010
301
- numCEP: 03344-000
302
- numendereco: 32444
303
- compEndereco: a
304
-
305
- funcionario:
306
- cpf: 31713175835
307
- senha: 103050
308
-
309
- aberturaConta:
310
- cpf: 91463948930
4
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-mobile-appium-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Fernandes
@@ -146,9 +146,13 @@ extra_rdoc_files: []
146
146
  files:
147
147
  - bin/ruby-mobile-appium-template
148
148
  - lib/ruby_appium.rb
149
+ - templates/.gitignore
149
150
  - templates/Gemfile
150
151
  - templates/Rakefile
152
+ - templates/config/android/appium.txt
153
+ - templates/config/android/appium_farm.txt
151
154
  - templates/config/ios/appium.txt
155
+ - templates/config/ios/appium_farm.txt
152
156
  - templates/cucumber.yml
153
157
  - templates/features/login/data/login.yaml
154
158
  - templates/features/login/elements/screen_mappings_home.yaml