flights_gui_tests 2.3.87 → 2.3.88
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: 8776a81f8916fdde2cdf0b7747dcf035ca15ef6d
|
|
4
|
+
data.tar.gz: 88189e14b9ca3164a0cba79310707a4e3dbbd580
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
data/features/support/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2015-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|