ruby-mobile-appium-template 1.1.4 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,310 +1,3 @@
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
- ativada:
20
- cpf: 37725787801
21
- 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
1
+ ativada:
2
+ cpf: 37725787801
3
+ senha: 12341234
@@ -1,35 +1,35 @@
1
- ios:
2
- xxxx:
3
- tipo_busca: :xpath
4
- value: ""
5
- xxxx:
6
- tipo_busca: :id
7
- value: ""
8
- xxxx:
9
- tipo_busca: :class
10
- value: ""
11
- xxxx:
12
- tipo_busca: :accessibility_id
13
- value: ""
14
- android:
15
- telaWalkThrough:
16
- tipo_busca: :xpath
17
- value: "//android.widget.ImageView[1]"
18
- btnWalkThrough:
19
- tipo_busca: :xpath
20
- value: "//android.widget.Button[contains(@text, 'Vamos começar?') or contains(@content-desc, 'Vamos começar?')]"
21
- imagemHome:
22
- tipo_busca: :xpath
23
- value: "//android.widget.ImageView[2]"
24
- xxxx:
25
- tipo_busca: :xpath
26
- value: ""
27
- xxxx:
28
- tipo_busca: :id
29
- value: ""
30
- xxxx:
31
- tipo_busca: :class
32
- value: ""
33
- xxxx:
34
- tipo_busca: :accessibility_id
35
- value: ""
1
+ ios:
2
+ xxxx:
3
+ tipo_busca: :xpath
4
+ value: ""
5
+ xxxx:
6
+ tipo_busca: :id
7
+ value: ""
8
+ xxxx:
9
+ tipo_busca: :class
10
+ value: ""
11
+ xxxx:
12
+ tipo_busca: :accessibility_id
13
+ value: ""
14
+ android:
15
+ telaWalkThrough:
16
+ tipo_busca: :xpath
17
+ value: "//android.widget.ImageView[1]"
18
+ btnWalkThrough:
19
+ tipo_busca: :xpath
20
+ value: "//android.widget.Button[contains(@text, 'Vamos começar?') or contains(@content-desc, 'Vamos começar?')]"
21
+ imagemHome:
22
+ tipo_busca: :xpath
23
+ value: "//android.widget.ImageView[2]"
24
+ xxxx:
25
+ tipo_busca: :xpath
26
+ value: ""
27
+ xxxx:
28
+ tipo_busca: :id
29
+ value: ""
30
+ xxxx:
31
+ tipo_busca: :class
32
+ value: ""
33
+ xxxx:
34
+ tipo_busca: :accessibility_id
35
+ value: ""
@@ -1,44 +1,44 @@
1
- ios:
2
- x1:
3
- tipo_busca: :xpath
4
- value: ""
5
- x2:
6
- tipo_busca: :id
7
- value: ""
8
- x3:
9
- tipo_busca: :class
10
- value: ""
11
- x4:
12
- tipo_busca: :accessibility_id
13
- value: ""
14
- android:
15
- campoCPF:
16
- tipo_busca: :xpath
17
- value: "//android.view.View[contains(@text,'Digite aqui') or contains(@content-desc,'Digite aqui')]"
18
- preencherCpf:
19
- tipo_busca: :xpath
20
- value: "//android.widget.EditText"
21
- preencherSenha:
22
- tipo_busca: :xpath
23
- value: "//android.widget.EditText[contains(@text,'Digite sua senha')]"
24
- btnContinuar:
25
- tipo_busca: :xpath
26
- value: "//android.widget.Button[contains(@text,'Continuar') or contains(@content-desc,'Continuar')]"
27
- btnAtivarAcessoBio:
28
- tipo_busca: :xpath
29
- value: "//android.widget.Button[contains(@text,'Ativar acesso por biometria') or contains(@content-desc,'Ativar acesso por biometria')]"
30
- btnDeixarParaDepois:
31
- tipo_busca: :xpath
32
- value: "//android.view.View[contains(@text,'Deixar para depois') or contains(@content-desc,'Deixar para depois')]"
33
- btnOkEntendiBio:
34
- tipo_busca: :xpath
35
- value: "//android.widget.Button[contains(@text,'Ok, entendi') or contains(@content-desc,'Ok, entendi')]"
36
- x1:
37
- tipo_busca: :id
38
- value: ""
39
- x2:
40
- tipo_busca: :class
41
- value: ""
42
- x3:
43
- tipo_busca: :accessibility_id
1
+ ios:
2
+ x1:
3
+ tipo_busca: :xpath
4
+ value: ""
5
+ x2:
6
+ tipo_busca: :id
7
+ value: ""
8
+ x3:
9
+ tipo_busca: :class
10
+ value: ""
11
+ x4:
12
+ tipo_busca: :accessibility_id
13
+ value: ""
14
+ android:
15
+ campoCPF:
16
+ tipo_busca: :xpath
17
+ value: "//android.view.View[contains(@text,'Digite aqui') or contains(@content-desc,'Digite aqui')]"
18
+ preencherCpf:
19
+ tipo_busca: :xpath
20
+ value: "//android.widget.EditText"
21
+ preencherSenha:
22
+ tipo_busca: :xpath
23
+ value: "//android.widget.EditText[contains(@text,'Digite sua senha')]"
24
+ btnContinuar:
25
+ tipo_busca: :xpath
26
+ value: "//android.widget.Button[contains(@text,'Continuar') or contains(@content-desc,'Continuar')]"
27
+ btnAtivarAcessoBio:
28
+ tipo_busca: :xpath
29
+ value: "//android.widget.Button[contains(@text,'Ativar acesso por biometria') or contains(@content-desc,'Ativar acesso por biometria')]"
30
+ btnDeixarParaDepois:
31
+ tipo_busca: :xpath
32
+ value: "//android.view.View[contains(@text,'Deixar para depois') or contains(@content-desc,'Deixar para depois')]"
33
+ btnOkEntendiBio:
34
+ tipo_busca: :xpath
35
+ value: "//android.widget.Button[contains(@text,'Ok, entendi') or contains(@content-desc,'Ok, entendi')]"
36
+ x1:
37
+ tipo_busca: :id
38
+ value: ""
39
+ x2:
40
+ tipo_busca: :class
41
+ value: ""
42
+ x3:
43
+ tipo_busca: :accessibility_id
44
44
  value: ""
@@ -1,29 +1,29 @@
1
- ios:
2
- xxxx:
3
- tipo_busca: :xpath
4
- value: ""
5
- xxxx:
6
- tipo_busca: :id
7
- value: ""
8
- xxxx:
9
- tipo_busca: :class
10
- value: ""
11
- xxxx:
12
- tipo_busca: :accessibility_id
13
- value: ""
14
- android:
15
- perfil:
16
- tipo_busca: :xpath
17
- value: "//android.view.View"
18
- logo:
19
- tipo_busca: :xpath
20
- value: "//android.widget.ImageView"
21
- xxxx:
22
- tipo_busca: :id
23
- value: ""
24
- xxxx:
25
- tipo_busca: :class
26
- value: ""
27
- xxxx:
28
- tipo_busca: :accessibility_id
29
- value: ""
1
+ ios:
2
+ xxxx:
3
+ tipo_busca: :xpath
4
+ value: ""
5
+ xxxx:
6
+ tipo_busca: :id
7
+ value: ""
8
+ xxxx:
9
+ tipo_busca: :class
10
+ value: ""
11
+ xxxx:
12
+ tipo_busca: :accessibility_id
13
+ value: ""
14
+ android:
15
+ perfil:
16
+ tipo_busca: :xpath
17
+ value: "//android.view.View"
18
+ logo:
19
+ tipo_busca: :xpath
20
+ value: "//android.widget.ImageView"
21
+ xxxx:
22
+ tipo_busca: :id
23
+ value: ""
24
+ xxxx:
25
+ tipo_busca: :class
26
+ value: ""
27
+ xxxx:
28
+ tipo_busca: :accessibility_id
29
+ value: ""
@@ -1,30 +1,30 @@
1
- ios:
2
- xxxx:
3
- tipo_busca: :xpath
4
- value: ""
5
- xxxx:
6
- tipo_busca: :id
7
- value: ""
8
- xxxx:
9
- tipo_busca: :class
10
- value: ""
11
- xxxx:
12
- tipo_busca: :accessibility_id
13
- value: ""
14
- android:
15
- btnDeixarParaDepois:
16
- tipo_busca: :xpath
17
- value: "//android.view.View[contains(@text,'Deixar para depois') or contains(@content-desc,'Deixar para depois')]"
18
- prevwIrTelaInicialencherCpf:
19
- tipo_busca: :xpath
20
- value: "//android.view.View[contains(@text,'Ir para a tela inicial') or contains(@content-desc,'Ir para a tela inicial')]"
21
- xxxx:
22
- tipo_busca: :id
23
- value: ""
24
- xxxx:
25
- tipo_busca: :class
26
- value: ""
27
- xxxx:
28
- tipo_busca: :accessibility_id
29
- value: ""
30
-
1
+ ios:
2
+ xxxx:
3
+ tipo_busca: :xpath
4
+ value: ""
5
+ xxxx:
6
+ tipo_busca: :id
7
+ value: ""
8
+ xxxx:
9
+ tipo_busca: :class
10
+ value: ""
11
+ xxxx:
12
+ tipo_busca: :accessibility_id
13
+ value: ""
14
+ android:
15
+ btnDeixarParaDepois:
16
+ tipo_busca: :xpath
17
+ value: "//android.view.View[contains(@text,'Deixar para depois') or contains(@content-desc,'Deixar para depois')]"
18
+ prevwIrTelaInicialencherCpf:
19
+ tipo_busca: :xpath
20
+ value: "//android.view.View[contains(@text,'Ir para a tela inicial') or contains(@content-desc,'Ir para a tela inicial')]"
21
+ xxxx:
22
+ tipo_busca: :id
23
+ value: ""
24
+ xxxx:
25
+ tipo_busca: :class
26
+ value: ""
27
+ xxxx:
28
+ tipo_busca: :accessibility_id
29
+ value: ""
30
+
@@ -1,16 +1,16 @@
1
- #language: en
2
- #encoding: utf-8
3
-
4
- @login
5
- Feature: Login
6
-
7
- Background:
8
- Given eu tenha as paginas necessárias iniciadas
9
- And o arquivo de massa de dados
10
-
11
- @login_valido
12
- Scenario: Login efetuado com sucesso
13
- Given que estou na tela inicial
14
- When insiro as minhas credenciais de acesso
15
- Then sou direcionado a home de Conta
16
-
1
+ #language: en
2
+ #encoding: utf-8
3
+
4
+ @login
5
+ Feature: Login
6
+
7
+ Background:
8
+ Given eu tenha as paginas necessárias iniciadas
9
+ And o arquivo de massa de dados
10
+
11
+ @login_valido
12
+ Scenario: Login efetuado com sucesso
13
+ Given que estou na tela inicial
14
+ When insiro as minhas credenciais de acesso
15
+ Then sou direcionado a home de Conta
16
+
@@ -1,24 +1,24 @@
1
- # frozen_string_literal: true
2
- class HomePage
3
-
4
- def initialize
5
- get_screen_mappings 'home', 'login'
6
- end
7
-
8
- def is_home?
9
- if $platform == 'android'
10
- wait_for_element_exist(@mappings['imagemHome'])
11
- end
12
- if $platform == 'ios'
13
- wait_for_element_exists(@mappings['imagemHome'])
14
- find(@mappings['telaWalkThrough']).click
15
- end
16
- wait_for_element_exist(@mappings['telaWalkThrough'])
17
- end
18
-
19
- def pulaWalkThrough
20
- swipe_orientation(@mappings['telaWalkThrough'], @mappings['btnWalkThrough'], "up")
21
- find(@mappings['btnWalkThrough']).click
22
- end
23
- end
24
-
1
+ # frozen_string_literal: true
2
+ class HomePage
3
+
4
+ def initialize
5
+ get_screen_mappings 'home', 'login'
6
+ end
7
+
8
+ def is_home?
9
+ if $platform == 'android'
10
+ wait_for_element_exist(@mappings['imagemHome'])
11
+ end
12
+ if $platform == 'ios'
13
+ wait_for_element_exists(@mappings['imagemHome'])
14
+ find(@mappings['telaWalkThrough']).click
15
+ end
16
+ wait_for_element_exist(@mappings['telaWalkThrough'])
17
+ end
18
+
19
+ def pulaWalkThrough
20
+ swipe_orientation(@mappings['telaWalkThrough'], @mappings['btnWalkThrough'], "up")
21
+ find(@mappings['btnWalkThrough']).click
22
+ end
23
+ end
24
+