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: 59150be50621a878c3b3ddba5083f6c4845f12a3
4
- data.tar.gz: 5c8cb3839779302dd29106258da0e905b614ef1a
3
+ metadata.gz: e91d5ec57b815d769aaeae53f5d2981d77ecf007
4
+ data.tar.gz: 35b11ed19e0449ddde8449360447b30031a99df2
5
5
  SHA512:
6
- metadata.gz: 06866776b3b8cf375b6e23cc65e81919eccdce1da50d624a873423d5f134fca8328d3861936a7963ce22fe85eee3e18ad3923dcd32a66756413d4f57b2121269
7
- data.tar.gz: 42d69235c05090ce1e5473fe9a31ce292f0861b792c5398ea18631961ae3daaf886412665777f28a727bcd526964e93684718c609f02299b7c634e0b677722f5
6
+ metadata.gz: dd4b1b0ab76d7f6e530e11e23da79ffd156fbb3c20fc87713777d634bac42b578e58e25eaa133d121825098229fb7fded07accc6e4cef0fe92e13fdf296167ab
7
+ data.tar.gz: 3dcaed2d28ec971f5b1ee35f76cafe6f09fd089a6230b69b6eb202dc15c31e7416810707c22dc419418e977ca1c22b482c4640501e1d0b80b0099782c8600b4c
@@ -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 MileagePlus reward program
15
- - You can earn up to cant MileagePlus unit
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 MileagePlus da Copa
87
- - acumule até cant unit MileagePlus
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 MileagePlus de Copa
159
- - puedes sumar hasta cant unit MileagePlus
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
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
@@ -294,7 +294,6 @@ Característica: checkout.book_ok
294
294
  Y verifico el tag de datalayer
295
295
  Y verifico el pixel de Efrontier
296
296
  Y verifico el pixel de doubleclick
297
- Y verifico el pixel de trackeame en gracias
298
297
  Y cancelo la reserva en el proveedor
299
298
 
300
299
  @br
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez