flights_gui_tests 1.2.7 → 1.2.8
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: 9daf31dc32d5b053395738c582dd3e1a78a96034
|
|
4
|
+
data.tar.gz: 2c88765c63fb77b5c8cb283f477e63a69e0199c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54a658315af12d75aafcb6cf9618ef122e343cdd21bc0873c0b6229d90449ff1683f4340d64dc5f2a99761ea3fce2530923cdb5d1019345f704d3a885b00b269
|
|
7
|
+
data.tar.gz: 46bfccc5536b536575558f0d9c74cb52a44e7157c6bcf150a0cb951913149de0239f86726af7bd6cd7a555ea04da1122910012d5fc46684cad24baac003e603e
|
|
@@ -85,9 +85,13 @@ Y(/^(?:verifico|valido) que los datos cargados sean mostrados correctamente al l
|
|
|
85
85
|
Date.parse_new_result((doc/"div.ticket-right div.dates li.outbound-route span.date").inner_text).should equal(@itinerario_checkout.ida.fecha)
|
|
86
86
|
Date.parse_new_result((doc/"div.ticket-right div.dates li.inbound-route span.date").inner_text).should equal(@itinerario_checkout.vuelta.fecha) if @page.tipo_de_busqueda=="roundtrip"
|
|
87
87
|
else
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
begin
|
|
89
|
+
fechas=@itinerario_checkout.fechas
|
|
90
|
+
(doc/"div.ticket-right div.dates li.outbound-route span.date").each do |fecha|
|
|
91
|
+
fechas.should include?(Date.parse_new_result(fecha.inner_text))
|
|
92
|
+
end
|
|
93
|
+
rescue NoMethodError
|
|
94
|
+
puts "Fallo con las fechas: #{@itinerario_checkout.fechas_fix}"
|
|
95
|
+
end
|
|
92
96
|
end
|
|
93
97
|
end
|
data/features/support/version.rb
CHANGED