flights_gui_tests 2.3.87 → 2.3.88

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: a19019856ee2f537eef2d0742580703e75e32d50
4
- data.tar.gz: 17fefd460bc53b9e3c57c5a248503761c6a26891
3
+ metadata.gz: 8776a81f8916fdde2cdf0b7747dcf035ca15ef6d
4
+ data.tar.gz: 88189e14b9ca3164a0cba79310707a4e3dbbd580
5
5
  SHA512:
6
- metadata.gz: da17d0ed79b2373a9b31119d92c5fc947d822a26597a6935407eace109e0948380fc11ad7d7dbaa867d16ece8d595526df4343ae46bb5e79adf29d689d42e68c
7
- data.tar.gz: 1f000f984db26eb304b85598fed42461a1e6b7d2cf1581f6eefa909ba05b1fbf595bd64c4c0d2d3c128344e1a6c70bc2bbac5ebfe28ef7f8a9a61c1ecf88e293
6
+ metadata.gz: b386b0158802d1a82550a7e281f8fbfff4f3539ff113fdc2eb64c3a44946b68582d6d4d19ddb7db3fa169c85507ed0de448176bdc0e1360674cc05a3780779a8
7
+ data.tar.gz: 93cc23cf83aabe1e9ca732f8fb6b36ab44eb4bdec0cdf278ce5d44dd83e35e7c3a13cc06276ae0b8251e9fd97cdef82af73e9622713905bb0dacb377238d2e19
@@ -62,9 +62,10 @@ Entonces(/^se visualiza la opcion de comprar$/) do
62
62
  end
63
63
 
64
64
  Entonces(/^el precio es la suma de ambos tramos elegidos sin taxes$/) do
65
- total = @itinerario_ida.tarifas["total"] + @itinerario_vuelta.tarifas["total"]
65
+ subtotal_ida = Price.new(@page.subtotal_ida_element.text)
66
+ subtotal_vuelta = Price.new(@page.subtotal_vuelta_element.text)
66
67
  total_caja = Price.new(@page.total_caja_precio_element.text)
67
- total.should equal(total_caja)
68
+ (subtotal_ida+subtotal_vuelta).should equal(total_caja)
68
69
  end
69
70
 
70
71
  Entonces(/^se visualiza el precio final siendo la suma de ambas reservas con los taxes incluidos$/) do
@@ -32,10 +32,14 @@ module Results
32
32
  li(:caja_ida_no_seleccionada,:class=>"multipleoneway-selector-item departure-item current")
33
33
  li(:caja_vuelta_no_seleccionada,:class=>"multipleoneway-selector-item arrival-item current")
34
34
  li(:caja_precio,:class=>"multipleoneway-selector-item price-item visible")
35
+
35
36
  element(:total_caja_precio,:span,:css=>".price-item .price-currency")
36
37
 
37
38
  div(:clusters,:id=>"clusters")
38
39
 
40
+ span(:subtotal_ida,:css=>".departure-item .price-currency")
41
+ span(:subtotal_vuelta,:css=>".arrival-item .price-currency")
42
+
39
43
  def primer_fecha_visible()
40
44
  lista_de_fechas_elements.select{|fecha| fecha_element.present?}.first
41
45
  end
@@ -66,6 +66,10 @@ class AllPages
66
66
  @@manage_data
67
67
  end
68
68
 
69
+ def pasajeros
70
+ @@manage_data.adt + @@manage_data.cnn + @@manage_data.inf
71
+ end
72
+
69
73
  def tipo_de_busqueda
70
74
  @@manage_data.description
71
75
  end
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.3.87"
2
+ VERSION = "2.3.88"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.87
4
+ version: 2.3.88
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-19 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container