flights_gui_tests 2.4.68 → 2.4.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 843018adf0645bf77cbb0e06bc00c27efde44724
|
|
4
|
+
data.tar.gz: 1279634d04ec0a8d0ec33f679ae9cc0e63c3c52d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ad4791ddc4045b232371ed31a713cfe6783a03146ce977f2d60bcdc11127a51319e5b90042e58567483e5a1b84aa0f0ea322c1a3185e22fc32a99058d1468aa
|
|
7
|
+
data.tar.gz: a02bca31e03aacd86554d278ce9fd79f3317040e50776926e949743812f1d26e52e020457d3e16a2cf4126292908005f22bb00e5f4802cff534e21d5536452f9
|
|
@@ -77,12 +77,7 @@ end
|
|
|
77
77
|
Cuando(/^ingreso a resultados con cookie "(.+)" al "(.+)"$/) do |key,value|
|
|
78
78
|
step "fuerzo el abztesting de \"#{key}\" al \"#{value}\""
|
|
79
79
|
@page = Results::SearchPage.new($browser)
|
|
80
|
-
step "realizo la busqueda"
|
|
81
|
-
pagina = Hpricot.parse(@page.browser.html)
|
|
82
|
-
if (pagina/"div#errorInfo").length>0
|
|
83
|
-
@page.cargar_valores_abtesting
|
|
84
|
-
puts @page.abtesting
|
|
85
|
-
end
|
|
80
|
+
step "realizo la busqueda"
|
|
86
81
|
step "verifico que la pagina no rompa"
|
|
87
82
|
step "espero que termine de cargar la pagina de resultados"
|
|
88
83
|
step "cierro popups"
|
|
@@ -45,11 +45,13 @@ Entonces(/^(?:verifico|valido) ordenamiento TOTALFARE_ASCENDING$/) do
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
Entonces(/^(?:verifico|valido) ordenamiento DURATION_ASCENDING$/) do
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
unless $HENRY_PARAMS['angular']
|
|
49
|
+
after = @page.datos_de_itinerarios.first.duracion
|
|
50
|
+
@page.datos_de_itinerarios.each do |cluster|
|
|
51
|
+
after.should_not es_mayor_que(cluster.duracion.to_i)
|
|
52
|
+
after = cluster.duracion
|
|
53
|
+
end
|
|
54
|
+
end
|
|
53
55
|
end
|
|
54
56
|
|
|
55
57
|
Entonces(/^(?:verifico|valido) ordenamiento FARE_ASCENDING$/) do
|
|
@@ -4,7 +4,7 @@ module Pages
|
|
|
4
4
|
#modifico el valor del abtesting requerido
|
|
5
5
|
def modificar_abtesting(nombre,valor)
|
|
6
6
|
cookie = self.recuperar_cookie("abzTestingId")
|
|
7
|
-
nuevo_valor = cookie[:value].gsub(
|
|
7
|
+
nuevo_valor = cookie[:value].gsub(/:#{self.recuperar_valor_abtesting(nombre)},/,":#{valor.to_s},")
|
|
8
8
|
self.eliminar_cookie("abzTestingId")
|
|
9
9
|
self.agregar_cookie("abzTestingId",nuevo_valor,{:expires => cookie[:expires],:domain=>cookie[:domain]})
|
|
10
10
|
self.recuperar_cookie("abzTestingId")
|
data/features/support/version.rb
CHANGED