flights_gui_tests 1.1.9 → 1.2.0
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: 0cf548843ff1b5bc38822cd38b399d6f87b7b45a
|
|
4
|
+
data.tar.gz: 0225efc48644aefe427c65d42ecd9c79308df624
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5a8c4a23590c651c4d512b83d393bf16347358de9c4f4ed86d47a0d6a506b0c2094a6284e8771cc20226dd210d7d115f806b9320f21c879bf3cb63c86a2d467
|
|
7
|
+
data.tar.gz: 235a0d2d3c035c5f4b049e8cd1ba753623a53e1266970251f67c1dfd7e7737db190ed7e68163f970f4ce3f24edab6789b955e392dd1b6c73cd7f1b2872574e8e
|
|
@@ -60,6 +60,7 @@ Entonces(/^(?:verifico|valido) la base tarifaria$/) do
|
|
|
60
60
|
end
|
|
61
61
|
if price_cluster[@basefare]
|
|
62
62
|
puts "#{price_cluster[@basefare].gsub(/\n/, '')} != #{price_matrix.gsub(/\n/, '')}"
|
|
63
|
+
sleep(1)
|
|
63
64
|
((price_cluster[@basefare].gsub(/\n/, '') == price_matrix.gsub(/\n/, '')) || @basefare == 'abtesting').should be_true
|
|
64
65
|
end
|
|
65
66
|
end
|
|
@@ -6,7 +6,7 @@ class NewDetailsCluster
|
|
|
6
6
|
@tramos = []
|
|
7
7
|
(p_html/"div.inline-detail-content div.inline-detail-data").each do |div|
|
|
8
8
|
tramo = Hash.new
|
|
9
|
-
if (div/"span.inline-detail-flight-data-description").first.inner_text.no_accents.match("Economica|Economy")
|
|
9
|
+
if (div/"span.inline-detail-flight-cabinType span.inline-detail-flight-data-description").first.inner_text.strip.no_accents.match("Economica|Economy")
|
|
10
10
|
tramo['bussines'] = nil
|
|
11
11
|
tramo['clase'] = (div/"span.inline-detail-flight-cabinType span.inline-detail-flight-data-description").first.inner_text.strip.no_accents
|
|
12
12
|
else
|
data/features/support/version.rb
CHANGED
|
@@ -11,7 +11,7 @@ Característica: results.filters
|
|
|
11
11
|
Entonces verifico que la pagina no rompa
|
|
12
12
|
Cuando espero que termine de cargar la pagina de resultados
|
|
13
13
|
Entonces verifico que traiga resultados
|
|
14
|
-
Cuando si el site es "MX", fuerzo el abztesting de "breakdown" al "
|
|
14
|
+
Cuando si el site es "MX", fuerzo el abztesting de "breakdown" al "12"
|
|
15
15
|
Y si el site es "MX", ingreso una busqueda '<tipo>' del tipo '<cabotage>'
|
|
16
16
|
Y si el site es "MX", realizo la busqueda
|
|
17
17
|
Entonces si el site es "MX", verifico que la pagina no rompa
|
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: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-02-
|
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|