flights_gui_tests 2.4.09 → 2.4.10
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: 1b2004a749ceea0596cd979bb80ce796fb5e17ce
|
|
4
|
+
data.tar.gz: 35622afdd510e7c37c6a4b810d419ee0127ddbd3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3bd1670c4b4cc9754512a49e8901614a66682d246ae67059c5e943ff6697cf6e8da0edf564f731764f2276fc7cc488b12f10150d6d152d02ce01b89a2e0a1eb
|
|
7
|
+
data.tar.gz: fc30ef92a26dd87fad772b7848ff904f23c6de62403d875b7d4bfa24d89d4c3615558fdab49f5a301c33074079c6ede47c6ed99d8ce8547c8e2a8eab1cdba9c1
|
|
@@ -14,17 +14,13 @@ module Results
|
|
|
14
14
|
outbound = itinerarios_elements[i].div(:class,'itineraries').div(:class,'sub-cluster outbound').div(:class,'item data')
|
|
15
15
|
(manage_data.city_from_1.airports.include?(outbound.spans(:class,'airport')[0].text)).should be_true
|
|
16
16
|
(manage_data.city_to_1.airports.include?(outbound.spans(:class,'airport')[1].text)).should be_true
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
outbound.span(:class,'city-arrival').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name_lang[AllPages.lang].downcase) unless outbound.span(:class,'city-arrival').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
|
|
20
|
-
end
|
|
17
|
+
outbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should equal(manage_data.city_from_1.name_lang[AllPages.lang].downcase) unless outbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
|
|
18
|
+
outbound.span(:class,'city-arrival').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name_lang[AllPages.lang].downcase) unless outbound.span(:class,'city-arrival').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
|
|
21
19
|
if tipo_de_busqueda == "roundtrip"
|
|
22
20
|
inbound = itinerarios_elements[i].div(:class,'itineraries').div(:class,'sub-cluster inbound').div(:class,'item data')
|
|
23
21
|
(manage_data.city_to_1.airports.include?(inbound.spans(:class,'airport')[0].text)).should be_true
|
|
24
22
|
(manage_data.city_from_1.airports.include?(inbound.spans(:class,'airport')[1].text)).should be_true
|
|
25
|
-
|
|
26
|
-
inbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name_lang[AllPages.lang].downcase) unless inbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
|
|
27
|
-
end
|
|
23
|
+
inbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name_lang[AllPages.lang].downcase) unless inbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
|
|
28
24
|
end
|
|
29
25
|
end
|
|
30
26
|
end
|
data/features/support/version.rb
CHANGED
|
@@ -9,8 +9,8 @@ Característica: checkout.multipleoneway
|
|
|
9
9
|
Entonces ingreso a resultados con cookie "multipleonewayConfig" al "1"
|
|
10
10
|
Cuando selecciono la opcion por tramos
|
|
11
11
|
Y selecciono un vuelo de ida por una aerolinea
|
|
12
|
-
|
|
13
|
-
Y
|
|
12
|
+
Entonces cargo los itinerarios de vuelta
|
|
13
|
+
Y elijo la opcion '0' de los itinerarios de vuelta
|
|
14
14
|
Entonces verifico que la pagina no rompa
|
|
15
15
|
Y espero que termine de cargar la pagina de checkout
|
|
16
16
|
Y verifico que ingrese al checkout
|
|
@@ -35,8 +35,8 @@ Característica: checkout.multipleoneway
|
|
|
35
35
|
Entonces ingreso a resultados con cookie "multipleonewayConfig" al "1"
|
|
36
36
|
Cuando selecciono la opcion por tramos
|
|
37
37
|
Y selecciono un vuelo de ida por una aerolinea
|
|
38
|
-
|
|
39
|
-
Y
|
|
38
|
+
Entonces cargo los itinerarios de vuelta
|
|
39
|
+
Y elijo la opcion '0' de los itinerarios de vuelta
|
|
40
40
|
Entonces verifico que la pagina no rompa
|
|
41
41
|
Y espero que termine de cargar la pagina de checkout
|
|
42
42
|
Y verifico que ingrese al checkout
|
|
@@ -66,8 +66,6 @@ Característica: checkout.multipleoneway
|
|
|
66
66
|
Entonces cargo los itinerarios de vuelta
|
|
67
67
|
Entonces valido los itinerarios de vuelta
|
|
68
68
|
Y elijo la opcion '0' de los itinerarios de vuelta
|
|
69
|
-
Entonces valido que se muestre en la caja de vuelta
|
|
70
|
-
Y hago click en comprar
|
|
71
69
|
Entonces verifico que la pagina no rompa
|
|
72
70
|
Y espero que termine de cargar la pagina de checkout
|
|
73
71
|
Y verifico que ingrese al checkout
|
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.4.
|
|
4
|
+
version: 2.4.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|