flights_gui_tests 2.3.15 → 2.3.16

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: a86a3280359731bfe4afe2bb13da97fa108e00a5
4
- data.tar.gz: 42f4992add93c586690a2c1f9b9f2e845cb3cd3b
3
+ metadata.gz: 14247cb05493a3cd583a7f29ffae8cd2f2b0d10f
4
+ data.tar.gz: 8248610518f78d55cd4629ea167bd246d4ea37dc
5
5
  SHA512:
6
- metadata.gz: bb023c75400ff4172b49121fe1cc512a66d5b648d89cdbdad99e25b4c6326dcd40eb4c1493aeb65f4cff8ebde8a8bfb9eb5aec0c9ca1c041cda29183a152d8b5
7
- data.tar.gz: 2689060343b3f497d2a3742bea54e7abf6c2a8685e5d81efcb54e37e6d645d2484078cf98ca340a812a9c2ba83890bdabdbbb0ab38574b782d2b5154ef2b3ff2
6
+ metadata.gz: ee80ae07b460afec122576b1f595a1a21f9b60d5de5d0b868ce43da6aac40161b2bf01954282ee0d8c88bb1b7b215764ba7fd15907148abf2c94150a21fa4461
7
+ data.tar.gz: 6d002a9ba47299db2b371e68501e2d159e6f91a78f1c0cb256e340591d1c216855e07417f63a0c644a495fb3ff03890574df8c337ed892358bedce29318d7a1c
@@ -6,13 +6,17 @@ Entonces(/^(?:verifico|valido) los valores del desglose del checkout$/) do
6
6
  @itinerario_checkout.tarifas['adt'].valor.should be_within(4).of(@itinerario_checkout.tarifas['tarifa_adulto'].valor * @page.manage_data.adt)
7
7
  end
8
8
  @itinerario_resultados.tarifas.each_pair do |key,value|
9
- if @itinerario_checkout.tarifas[key] and !value.zero? and value.currency == @itinerario_checkout.tarifas[key].currency
10
- if AllPages.site=="BR"
11
- value.value.should be_within(14).of(@itinerario_checkout.tarifas[key].value)
12
- else
13
- value.value.should be_within(4).of(@itinerario_checkout.tarifas[key].value)
14
- end
15
- end
9
+ if key == "total" and !@itinerario_checkout.tarifas["descuento"].value.zero?
10
+ value.value.should be_within(4).of(@itinerario_checkout.tarifas[key].value-@itinerario_checkout.tarifas["descuento"].value)
11
+ else
12
+ if @itinerario_checkout.tarifas[key] and !value.zero? and value.currency == @itinerario_checkout.tarifas[key].currency
13
+ if AllPages.site=="BR"
14
+ value.value.should be_within(14).of(@itinerario_checkout.tarifas[key].value)
15
+ else
16
+ value.value.should be_within(4).of(@itinerario_checkout.tarifas[key].value)
17
+ end
18
+ end
19
+ end
16
20
  end
17
21
  end
18
22
 
@@ -53,6 +53,7 @@ end
53
53
  Cuando(/^espero que (?:termine|finalize|acabe) de cargar la pagina de resultados$/) do
54
54
  @page.carga_element.when_not_visible(timeout=200)
55
55
  @page.actualizar_filtro_element.when_not_visible(timeout=120)
56
+ @page.barra_progreso_element.when_not_visible(timeout=200)
56
57
  end
57
58
 
58
59
  Cuando(/^espero que (?:termine|finalize|acabe) de cargar la pagina de streaming de resultados$/) do
@@ -240,7 +240,7 @@ module NewCheckout
240
240
  cant_restantes = (doc/"span.all-installments").inner_text.downstrip.gsub(/\./,'').match(/\+ (\d{1,2})/)[1].to_i
241
241
  valor_restantes = (doc/"span.all-installments/span.price/span.currency/span.amount").inner_text.gsub(/\.|\,/,'').to_i
242
242
  (inicial + (cant_restantes * valor_restantes)).should be_within(2).of(total_2)
243
- costo_financiero.should equal(total_2 - total_1)
243
+ costo_financiero.should equal(total_2 - total_1)
244
244
  end
245
245
  end
246
246
  end
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.3.15"
2
+ VERSION = "2.3.16"
3
3
  end
@@ -246,17 +246,12 @@ Característica: checkout.book_ok
246
246
  @roundtrip
247
247
  Ejemplos:
248
248
  |pais|tipo|cabotage|
249
- |VE |roundtrip|nil|
249
+ |VE |roundtrip|true|
250
250
  @ve
251
251
  @oneway
252
252
  Ejemplos:
253
253
  |pais|tipo|cabotage|
254
- |VE |oneway|nil|
255
- @ve
256
- @multipledestinations
257
- Ejemplos:
258
- |pais|tipo|cabotage|
259
- |VE |multipledestinations|nil|
254
+ |VE |oneway|true|
260
255
 
261
256
  @book_ok
262
257
  Esquema del escenario: Se verifica que se pueda realizar una compra correctamente, validando que los valores a travez del flujo sean correctos y se mantengan a travez del mismo [REGRESION].
@@ -59,17 +59,12 @@ Característica: checkout.error_messages
59
59
  @roundtrip
60
60
  Ejemplos:
61
61
  |pais|tipo|cabotage|
62
- |VE |roundtrip|nil|
62
+ |VE |roundtrip|true|
63
63
  @ve
64
64
  @oneway
65
65
  Ejemplos:
66
66
  |pais|tipo|cabotage|
67
- |VE |oneway|nil|
68
- @ve
69
- @multipledestinations
70
- Ejemplos:
71
- |pais|tipo|cabotage|
72
- |VE |multipledestinations|nil|
67
+ |VE |oneway|true|
73
68
 
74
69
  @error_messages
75
70
  Esquema del escenario: Se ingresa al checkout y se ingresan datos erroneos y en blanco.
@@ -67,7 +67,6 @@ Característica: results.basefare
67
67
  |pais|tipo|cabotage|
68
68
  |VE |roundtrip|true|
69
69
  |VE |oneway|true|
70
- |VE |multipledestinations|true|
71
70
  @cl
72
71
  Ejemplos:
73
72
  |pais|tipo|cabotage|
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.3.15
4
+ version: 2.3.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez