flights_gui_tests 2.3.33 → 2.3.34
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a2071f7d9210b419c95e40816175a6edd6b9b63
|
4
|
+
data.tar.gz: 4e93ab62f79ebccf6738ffa47066b839809fdb0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64a8ff053b1679f72c9c056f1fb7d3aab0b4df6233a1cb67b38dfa354975bc70f4be3c454016058d128d1025532147eada5fac9423e861b234dee90411bd1337
|
7
|
+
data.tar.gz: 03d7da3ee4bb302539ca69e0e26fd573c062a1a92e689c60b8d4fd07e55e58dabb8d8cf05193e2198836138d85a42cd474c51733bb824a54474bd8f29d42155b
|
@@ -17,6 +17,7 @@ module NewCheckout
|
|
17
17
|
div(:edades_adultos,:id=>"birthday-group-0")
|
18
18
|
|
19
19
|
PLUS_NAME = ["A","B","C","D","E","F","G","H","I","J","k"]
|
20
|
+
RUTS = ["24434735-5","21225723-0","24030075-3","12474266-8","23669926-9","22016676-7","7028168-6","22439590-6","19124113-4","22522720-9","19854797-2","20313663-3"]
|
20
21
|
|
21
22
|
def cargar_adultos
|
22
23
|
@index = 0
|
@@ -24,9 +25,17 @@ module NewCheckout
|
|
24
25
|
self.manage_data.adt.times do |adulto|
|
25
26
|
nombre_elements[@index].set "Diego QA#{PLUS_NAME[@index]}"
|
26
27
|
apellido_elements[@index].set "Romero#{PLUS_NAME[@index]}"
|
27
|
-
documento_elements[@index].set "3245673#{@index}" if documento_elements[@index]
|
28
28
|
nacionalidad_elements[@index].select_value(AllPages.site) if nacionalidad_elements[@index]
|
29
|
-
|
29
|
+
if AllPages.site=="CL"
|
30
|
+
tipo_documento_elements[@index].select_value("LOCAL") if tipo_documento_elements[@index]
|
31
|
+
documento_elements[@index].set(RUTS[@index]) if documento_elements[@index]
|
32
|
+
elsif AllPages.site.match("AR|BR")
|
33
|
+
tipo_documento_elements[@index].select_value("LOCAL") if tipo_documento_elements[@index]
|
34
|
+
documento_elements[@index].set "3245673#{@index}" if documento_elements[@index]
|
35
|
+
else
|
36
|
+
tipo_documento_elements[@index].select_value("PASSPORT") if tipo_documento_elements[@index]
|
37
|
+
documento_elements[@index].set "3245673#{@index}" if documento_elements[@index]
|
38
|
+
end
|
30
39
|
sexo_elements[@index].select_value("MALE") if sexo_elements[@index]
|
31
40
|
if edades_adultos?
|
32
41
|
dia_nacimiento_elements[@index_menores].select(@index+1)
|
@@ -41,9 +50,17 @@ module NewCheckout
|
|
41
50
|
self.manage_data.cnn.times do |nino|
|
42
51
|
nombre_elements[@index].set "Martin QA#{PLUS_NAME[@index]}"
|
43
52
|
apellido_elements[@index].set "Diez jr#{PLUS_NAME[@index]}"
|
44
|
-
documento_elements[@index].set "4245663#{@index}" if documento_elements[@index]
|
45
53
|
nacionalidad_elements[@index].select_value(AllPages.site) if nacionalidad_elements[@index]
|
46
|
-
|
54
|
+
if AllPages.site=="CL"
|
55
|
+
tipo_documento_elements[@index].select_value("LOCAL") if tipo_documento_elements[@index]
|
56
|
+
documento_elements[@index].set(RUTS[@index]) if documento_elements[@index]
|
57
|
+
elsif AllPages.site.match("AR|BR")
|
58
|
+
tipo_documento_elements[@index].select_value("LOCAL") if tipo_documento_elements[@index]
|
59
|
+
documento_elements[@index].set "4245663#{@index}" if documento_elements[@index]
|
60
|
+
else
|
61
|
+
tipo_documento_elements[@index].select_value("PASSPORT") if tipo_documento_elements[@index]
|
62
|
+
documento_elements[@index].set "3245673#{@index}" if documento_elements[@index]
|
63
|
+
end
|
47
64
|
sexo_elements[@index].select_value("MALE") if sexo_elements[@index]
|
48
65
|
dia_nacimiento_elements[@index_menores].select(@index+1)
|
49
66
|
mes_nacimiento_elements[@index_menores].select(3)
|
@@ -56,9 +73,17 @@ module NewCheckout
|
|
56
73
|
self.manage_data.inf.times do |bebe|
|
57
74
|
nombre_elements[@index].set "Maribel QA#{PLUS_NAME[@index]}"
|
58
75
|
apellido_elements[@index].set "Dias Herr jrb#{PLUS_NAME[@index]}"
|
59
|
-
documento_elements[@index].set "4249966#{@index}" if documento_elements[@index]
|
60
76
|
nacionalidad_elements[@index].select_value(AllPages.site) if nacionalidad_elements[@index]
|
61
|
-
|
77
|
+
if AllPages.site=="CL"
|
78
|
+
tipo_documento_elements[@index].select_value("LOCAL") if tipo_documento_elements[@index]
|
79
|
+
documento_elements[@index].set(RUTS[@index]) if documento_elements[@index]
|
80
|
+
elsif AllPages.site.match("AR|BR")
|
81
|
+
tipo_documento_elements[@index].select_value("LOCAL") if tipo_documento_elements[@index]
|
82
|
+
documento_elements[@index].set "4249966#{@index}" if documento_elements[@index]
|
83
|
+
else
|
84
|
+
tipo_documento_elements[@index].select_value("PASSPORT") if tipo_documento_elements[@index]
|
85
|
+
documento_elements[@index].set "3245673#{@index}" if documento_elements[@index]
|
86
|
+
end
|
62
87
|
sexo_elements[@index].select_value("MALE") if sexo_elements[@index]
|
63
88
|
dia_nacimiento_elements[@index_menores].select(@index+1)
|
64
89
|
mes_nacimiento_elements[@index_menores].select(3)
|
data/features/support/version.rb
CHANGED
@@ -254,7 +254,7 @@ Característica: checkout.popup_cambio_vuelo
|
|
254
254
|
Entonces espero que termine el pedido de compra
|
255
255
|
Y verifico si no trae errores
|
256
256
|
Y verifico que se muestre el popup de cambio de vuelo
|
257
|
-
Entonces elijo un itinerario del popup de
|
257
|
+
Entonces elijo un itinerario del popup de cambio de vuelo
|
258
258
|
Y espero que termine de cargar la pagina de checkout
|
259
259
|
Y verifico que ingrese al checkout
|
260
260
|
|