flights_gui_tests 2.1.9 → 2.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: 2615808ebb4cccbef47561427d110817429f5afd
4
- data.tar.gz: 0ec6d9ded10f610b4622153365824934f02730e6
3
+ metadata.gz: 110cbaa4e47e9245c218987152db1a2da3a6219b
4
+ data.tar.gz: 1228066937a3b394bb209857bcf4607c1830ab67
5
5
  SHA512:
6
- metadata.gz: 9b3fdbbdfecb09c0823d9854d4960588497535058cf379ed4a674a2b95ccd55062ea1864d6bfa6302c1071eec4c99232ebe52155c1f009dbc30ba2005244a10d
7
- data.tar.gz: 2884618753d163ded6fa022451a30da82b0ec8d93a791f4fb47b720cf31d19e348fc490ef996bbfc2e962f57ad3eb53946377bc01e894cff3d73b09a6f313529
6
+ metadata.gz: f5056a7cf06310e5165a696983abc24be2244aa7bc55cb8ec8b43625781a992abf10a833e9c9caf90eea979e66316d1af60c868b39efb298f7e3ef69658d7f80
7
+ data.tar.gz: db508bc32f0844403ca518a665a20f5f6040c555c866677842fbfb087ff8fc599ae94c83086bc50c4f85555c9c3a157336a3206f5c7bf70d9843ca5917c72169
@@ -83,6 +83,18 @@ Cuando(/^ingreso a resultados streaming$/) do
83
83
  puts @page.abtesting
84
84
  end
85
85
 
86
+ Cuando(/^ingreso a resultados con cookie "(.+)" al "(.+)"$/) do |key,value|
87
+ step "fuerzo el abztesting de \"#{key}\" al \"#{value}\""
88
+ @page = Results::SearchPage.new($browser)
89
+ step "realizo la busqueda"
90
+ step "verifico que la pagina no rompa"
91
+ step "espero que termine de cargar la pagina de resultados"
92
+ step "espero que termine de cargar la pagina de streaming de resultados"
93
+ step "cierro popups"
94
+ @page.cargar_valores_abtesting
95
+ puts @page.abtesting
96
+ end
97
+
86
98
  Entonces(/^pruebo streaming$/) do
87
99
  $HENRY_PARAMS["streaming"].should be_true
88
100
  end
@@ -46,4 +46,12 @@ Entonces(/^(?:verifico|valido) ordenamiento FARE_ASCENDING$/) do
46
46
  after.value.should_not es_mayor_que(cluster.tarifas['tarifa_adulto'].value.to_i)
47
47
  after = cluster.tarifas['tarifa_adulto']
48
48
  end
49
+ end
50
+
51
+ Entonces(/^(?:verifico|valido) ordenamiento TOTAL_FARE_YIELD_ASCENDING$/) do
52
+ after = @page.datos_de_itinerarios.first.tarifas['tarifa_adulto']
53
+ @page.datos_de_itinerarios.each do |cluster|
54
+ after.value.should_not es_mayor_que(cluster.tarifas['tarifa_adulto'].value.to_i)
55
+ after = cluster.tarifas['tarifa_adulto']
56
+ end
49
57
  end
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.1.9"
2
+ VERSION = "2.2.0"
3
3
  end
@@ -10,6 +10,7 @@ Característica: results.basefare
10
10
  Cuando realizo la busqueda
11
11
  Entonces verifico que la pagina no rompa
12
12
  Cuando espero que termine de cargar la pagina de resultados
13
+ Cuando si el site es "CO", ingreso a resultados con cookie "priceDifferenceType" al "1"
13
14
  Cuando si pruebo streaming, ingreso a resultados streaming
14
15
  Entonces verifico que traiga resultados
15
16
  Y verifico los textos de las opciones del combo
@@ -10,6 +10,7 @@ Característica: results.itineraries
10
10
  Cuando realizo la busqueda
11
11
  Entonces verifico que la pagina no rompa
12
12
  Cuando espero que termine de cargar la pagina de resultados
13
+ Cuando si el site es "CO", ingreso a resultados con cookie "priceDifferenceType" al "99"
13
14
  Cuando si pruebo streaming, ingreso a resultados streaming
14
15
  Entonces verifico que traiga resultados
15
16
  Cuando si el site es "MX|AR", verifico el ordenamiento premium economy
@@ -9,6 +9,7 @@ Característica: results.orders
9
9
  * ingreso una busqueda '<tipo>' del tipo '<cabotage>'
10
10
  Cuando realizo la busqueda
11
11
  Entonces verifico que la pagina no rompa
12
+ Cuando si el site es "CO", ingreso a resultados con cookie "priceDifferenceType" al "1"
12
13
  Cuando espero que termine de cargar la pagina de resultados
13
14
  Cuando si pruebo streaming, ingreso a resultados streaming
14
15
  Entonces verifico que traiga resultados
@@ -36,7 +37,7 @@ Característica: results.orders
36
37
  @co
37
38
  Ejemplos:
38
39
  |pais|tipo|order|
39
- |CO |oneway|TOTALFARE_ASCENDING|
40
+ |CO |oneway|TOTAL_FARE_YIELD_ASCENDING|
40
41
  |CO |oneway|DURATION_ASCENDING|
41
42
  @cr
42
43
  Ejemplos:
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.1.9
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez