flights_gui_tests 0.0.7 → 0.0.8
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: ca559f41606849f9345e050b414d9c40d5df9c1e
|
4
|
+
data.tar.gz: e15d606bbfb47a7c2d1a2315ba21ca221d36f9bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2fb979daa0a5ba4914aac8ab14aad2a724bb8e228931f480e213f6dab6cb7c8a35719bc027300b5256e37a4a5a2440da8988ae63d4f2e58d186656ed9ca8a42
|
7
|
+
data.tar.gz: e6ff18bfaee77d61b3805a65a5abca764027f96a01b254b062b663c0c0116ed1fc305cee78044cc1ba620abb8719058392c7ed93d886e51fefe3ac4e64409309
|
@@ -76,7 +76,7 @@ Entonces(/^completo los datos para reservas CAC$/) do
|
|
76
76
|
@page.documento_offline_element.set(number)
|
77
77
|
end
|
78
78
|
@page.sexo_offline_element.select_value("MALE") if @page.sexo_offline_element.present?
|
79
|
-
@page.nombre_completo_contacto_element.set("Diego Qa Romero") if @page.
|
79
|
+
@page.nombre_completo_contacto_element.set("Diego Qa Romero") if @page.nombre_completo_contacto_element.present?
|
80
80
|
end
|
81
81
|
|
82
82
|
Entonces(/^el checkout me pide mas datos de tarjeta$/) do
|
@@ -43,6 +43,9 @@ module Results
|
|
43
43
|
select_list(:orden,:id=>"orderby")
|
44
44
|
select_list(:moneda,:id=>"currency")
|
45
45
|
|
46
|
+
span(:cerrar_popup_alerta,:css=>"#create-alert-popup .popup-close-button")
|
47
|
+
span(:cerrar_popup_cantidad_visitantes,:css=>"#searches-count-alert-popup .popup-close-button")
|
48
|
+
|
46
49
|
def load_page(tipo,pais,ambiente,cabotaje="nil",params={})
|
47
50
|
super(tipo,pais,ambiente,cabotaje,params)
|
48
51
|
@datos_de_itinerarios = []
|
@@ -91,6 +94,8 @@ module Results
|
|
91
94
|
end
|
92
95
|
|
93
96
|
def elegir_itinerario(index)
|
97
|
+
cerrar_popup_alerta_element.click if cerrar_popup_alerta_element.present?
|
98
|
+
cerrar_popup_cantidad_visitantes_element.click if cerrar_popup_cantidad_visitantes_element.present?
|
94
99
|
itinerarios_elements[index].div(:class,'sub-cluster outbound').radios[0].click unless tipo_de_busqueda=="multipledestinations"
|
95
100
|
itinerarios_elements[index].div(:class,'sub-cluster inbound').radios[0].click if tipo_de_busqueda=="roundtrip"
|
96
101
|
buscar_elements[index].click
|
data/flights_gui_tests.gemspec
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
17
17
|
|
18
|
-
gem.version = '0.0.
|
18
|
+
gem.version = '0.0.8' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
19
19
|
|
20
20
|
gem.add_dependency('henry-container', '>= 0.1.39')
|
21
21
|
gem.add_dependency('page-object')
|