flights_gui_tests 2.0.0 → 2.0.1
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: e91d5ec57b815d769aaeae53f5d2981d77ecf007
|
|
4
|
+
data.tar.gz: 35b11ed19e0449ddde8449360447b30031a99df2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd4b1b0ab76d7f6e530e11e23da79ffd156fbb3c20fc87713777d634bac42b578e58e25eaa133d121825098229fb7fded07accc6e4cef0fe92e13fdf296167ab
|
|
7
|
+
data.tar.gz: 3dcaed2d28ec971f5b1ee35f76cafe6f09fd089a6230b69b6eb202dc15c31e7416810707c22dc419418e977ca1c22b482c4640501e1d0b80b0099782c8600b4c
|
data/features/data/miles.yml
CHANGED
|
@@ -11,8 +11,8 @@ US:
|
|
|
11
11
|
- with MileagePlus reward program
|
|
12
12
|
- You can earn up to cant MileagePlus unit
|
|
13
13
|
CM:
|
|
14
|
-
- with
|
|
15
|
-
- You can earn up to cant
|
|
14
|
+
- with Connect Miles reward program
|
|
15
|
+
- You can earn up to cant Connect Miles unit
|
|
16
16
|
LA:
|
|
17
17
|
- with LANPASS reward program
|
|
18
18
|
- You can earn up to cant LANPasS unit
|
|
@@ -83,8 +83,8 @@ BR:
|
|
|
83
83
|
- do programa MileagePlus da United Airlines
|
|
84
84
|
- acumule até cant unit MileagePlus
|
|
85
85
|
CM:
|
|
86
|
-
- do programa
|
|
87
|
-
- acumule até cant unit
|
|
86
|
+
- do programa Connect Miles da Copa
|
|
87
|
+
- acumule até cant unit Connect Miles
|
|
88
88
|
LA:
|
|
89
89
|
- do programa LANPASS da LAN
|
|
90
90
|
- acumule até cant unit LANPasS
|
|
@@ -155,8 +155,8 @@ DF:
|
|
|
155
155
|
- del programa MileagePlus de United Airlines
|
|
156
156
|
- puedes sumar hasta cant unit MileagePlus
|
|
157
157
|
CM:
|
|
158
|
-
- del programa
|
|
159
|
-
- puedes sumar hasta cant unit
|
|
158
|
+
- del programa Connect Miles de Copa
|
|
159
|
+
- puedes sumar hasta cant unit Connect Miles
|
|
160
160
|
LA:
|
|
161
161
|
- del programa LANPASS de LAN
|
|
162
162
|
- puedes sumar hasta cant unit LANPasS
|
|
@@ -31,7 +31,20 @@ Entonces(/^(?:verifico|valido) los datos del vuelo comprado$/) do
|
|
|
31
31
|
@page.popup_desglose_gracias_element.when_visible(timeout=20)
|
|
32
32
|
itinerario_gracias = Hpricot.parse(@page.popup_desglose_gracias_element.html)
|
|
33
33
|
itinerario_gracias.inner_text.empty?.should_not be_true
|
|
34
|
-
@monto_total=(itinerario_gracias/"span#total-price span.amount").inner_text.gsub(/\.|\,/,'').to_i
|
|
34
|
+
@monto_total=(itinerario_gracias/"span#total-price span.amount").inner_text.gsub(/\.|\,/,'').to_i
|
|
35
|
+
@page.links_mas_detalles_gracias_elements.each do |a|
|
|
36
|
+
a.click
|
|
37
|
+
begin
|
|
38
|
+
@page.popup_desglose_detalles_gracias_element.when_visible(timeout=20)
|
|
39
|
+
doc = Hpricot.parse(@page.popup_desglose_detalles_gracias_element.html)
|
|
40
|
+
detail = OldDetailsCluster.new(doc)
|
|
41
|
+
@page.cerrar_popup_desglose_detalles_gracias_element.click
|
|
42
|
+
@page.popup_desglose_detalles_gracias_element.when_not_visible(visible=20)
|
|
43
|
+
sleep(1)
|
|
44
|
+
rescue Watir::Wait::TimeoutError
|
|
45
|
+
puts @page.url
|
|
46
|
+
end
|
|
47
|
+
end
|
|
35
48
|
@itinerario_gracias = @page.datos_itinerario
|
|
36
49
|
@page.cerrar_popup_desglose_gracias_element.click
|
|
37
50
|
end
|
data/features/support/version.rb
CHANGED