flights_gui_tests 0.2.4 → 0.2.5

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: 8c816f7e33a52cc0fbcaba133df4ab893339e83a
4
- data.tar.gz: 0004bab2276ee273bf2d9c82dfccdbadc78110d2
3
+ metadata.gz: bd04637fc94a7aa2f599762b5e5780e0e5c23db5
4
+ data.tar.gz: 38b0935a3fe13f6beeb01f7cc18a5ae4e9542d31
5
5
  SHA512:
6
- metadata.gz: 26c984708d0414ba1fada53a8ef4b1d3086487a3c10600ac7459bd9f403cbdaf9da28ac6d01ab8b390cf603ce5539267d1596aca8452790cc900d54c3e9c4004
7
- data.tar.gz: e4f0df1b6085c25e799880df8a93718a5134b390a91bd47fbbbe7e124189d86c2e8b2dcd07435011b7a6994de443c6797e57b332f6c13dda082dbe00b9de0662
6
+ metadata.gz: 72a02fd97c26fb651988db5216de1f491fbaf0c6e022a6ca99037ffaa5054f0d46d75f99259e4f05ed349fdb94a86305b3c8f0b7b9553c44053b0b083ef4bf3d
7
+ data.tar.gz: f50ff81407940ac2013fff530bce3fe7b5aeeefe9d5f66f1a90c3084769046dbc2709b3e0454227faf041188de4ec3dd02c83ee030180f91036e98cbc78ada4b
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  Entonces(/^ingreso y espero que cargue la nueva pagina de landing$/) do
3
- Watir::Wait.until(timeout = 300){@page.titulo_element.present? or @page.titulo_banner_element.present? or @page.itinerario_element.present?}
3
+ Watir::Wait.until(timeout = 300){@page.titulo_element.present? or @page.titulo_banner_element.present? or @page.itinerario_element.present? or @page.mensaje_sin_resultados_element.present?}}
4
4
  unless @page.titulo_banner_element.present?
5
5
  step "fuerzo el abztesting de \"applicationType\" al \"11\""
6
6
  @page.load_page(@page.tipo_de_busqueda,AllPages.site,$ENV,@ciudad_destino.code)
@@ -11,7 +11,7 @@ end
11
11
 
12
12
  # encoding: utf-8
13
13
  Entonces(/^ingreso y espero que cargue la vieja pagina de landing$/) do
14
- Watir::Wait.until(timeout = 300){@page.titulo_element.present? or @page.titulo_banner_element.present? or @page.itinerario_element.present?}
14
+ Watir::Wait.until(timeout = 300){@page.titulo_element.present? or @page.titulo_banner_element.present? or @page.itinerario_element.present? or @page.mensaje_sin_resultados_element.present?}
15
15
  unless @page.vuelo_oneway_element.present?
16
16
  step "fuerzo el abztesting de \"applicationType\" al \"55\""
17
17
  sleep(1)
@@ -13,7 +13,7 @@ end
13
13
  Cuando(/^elijo una aerolinea a aplicar$/) do
14
14
  doc = Hpricot.parse(@page.html)
15
15
  options = (doc / 'div.ux-flights-filter-airlines')[0]
16
- options = (options/"li.item").select { |option| !(option / "input")[0].attributes['id'].match(/airlines-unique|airlines-all/) }
16
+ options = (options/"li.item").select { |option| !(option / "input")[0].attributes['id'].match(/airlines-unique|airlines-all/) and !(option / "input.ux-common-filter-disabled")[0]}
17
17
  @airline = options[rand(options.length)]
18
18
  @total = (@airline / 'span.total').inner_text.strip.to_i
19
19
  end
@@ -34,7 +34,7 @@ module Checkout
34
34
  #lleno los campos requeridos
35
35
  cuil_element.set("30643063936")
36
36
  nombre_facturacion_element.set("diego qa romero") if nombre_facturacion_element.present?
37
- provincia_facturacion_element.select_value("C")
37
+ provincia_facturacion_element.select_value("31655")
38
38
  set_autocomplete("ciudad_facturacion_custom","buenos ")
39
39
  calle_facturacion_element.set("corrientes")
40
40
  codigo_postal_facturacion_element.set("7111")
@@ -100,10 +100,10 @@ module Checkout
100
100
  end
101
101
 
102
102
  def cargar_datos_tarjeta_nuevo_formulario
103
- sleep(1)
104
103
  data = self.manage_data.get_results_search_service
105
104
  provider = data["result"]["data"]["items"][0]["provider"]
106
105
  un_pago_visa_element.click
106
+ sleep(1)
107
107
  cuotas_element.select_value("1_CREDIT_VI_null")
108
108
  numero_tarjeta_element.set "4242424242424242"
109
109
  mes_vencimiento_tarjeta_element.select 5
@@ -5,6 +5,9 @@ Característica: landing.disambiguation_airports
5
5
 
6
6
  @disambiguation_airports
7
7
  Esquema del escenario: Ingresar a la pagina de landing, buscar una ciudad que desambigue y validar la pagina de desambiguacion para landing
8
+ Dado una pagina de landing en "<pais>" del tipo "<tipo>"
9
+ Entonces verifico que la pagina no rompa
10
+ Entonces si el site es "AR|CO|VE", ingreso y espero que cargue la vieja pagina de landing
8
11
  Dado una pagina de landing en "<pais>" para una busqueda "<tipo>" que desambigue por "<ciudad>"
9
12
  Cuando espero que termine de cargar la pagina de desambiguacion
10
13
  Entonces verifico que ingrese a la pagina de desambiguacion
@@ -20,7 +23,6 @@ Característica: landing.disambiguation_airports
20
23
  |pais|tipo|ciudad|
21
24
  |AR |roundtrip|BZC|
22
25
  |AR |oneway|PCM|
23
- |AR |multipledestinations|BZC|
24
26
  @br
25
27
  Ejemplos:
26
28
  |pais|tipo|ciudad|
@@ -31,58 +33,48 @@ Característica: landing.disambiguation_airports
31
33
  |pais|tipo|ciudad|
32
34
  |CO |roundtrip|BZC|
33
35
  |CO |oneway|PCM|
34
- |CO |multipledestinations|BZC|
35
36
  @cl
36
37
  Ejemplos:
37
38
  |pais|tipo|ciudad|
38
39
  |CL |roundtrip|BZC|
39
40
  |CL |oneway|PCM|
40
- |CL |multipledestinations|BZC|
41
41
  @cr
42
42
  Ejemplos:
43
43
  |pais|tipo|ciudad|
44
44
  |CR |roundtrip|BZC|
45
45
  |CR |oneway|PCM|
46
- |CR |multipledestinations|BZC|
47
46
  @ec
48
47
  Ejemplos:
49
48
  |pais|tipo|ciudad|
50
49
  |EC |roundtrip|BZC|
51
50
  |EC |oneway|PCM|
52
- |EC |multipledestinations|BZC|
53
51
  @mx
54
52
  Ejemplos:
55
53
  |pais|tipo|ciudad|
56
54
  |MX |roundtrip|BZC|
57
55
  |MX |oneway|PCM|
58
- |MX |multipledestinations|BZC|
59
56
  @pa
60
57
  Ejemplos:
61
58
  |pais|tipo|ciudad|
62
59
  |PA |roundtrip|BZC|
63
60
  |PA |oneway|PCM|
64
- |PA |multipledestinations|BZC|
65
61
  @pe
66
62
  Ejemplos:
67
63
  |pais|tipo|ciudad|
68
64
  |PE |roundtrip|BZC|
69
65
  |PE |oneway|PCM|
70
- |PE |multipledestinations|BZC|
71
66
  @us
72
67
  Ejemplos:
73
68
  |pais|tipo|ciudad|
74
69
  |US |roundtrip|BZC|
75
70
  |US |oneway|PCM|
76
- |US |multipledestinations|BZC|
77
71
  @uy
78
72
  Ejemplos:
79
73
  |pais|tipo|ciudad|
80
74
  |UY |roundtrip|BZC|
81
75
  |UY |oneway|PCM|
82
- |UY |multipledestinations|BZC|
83
76
  @ve
84
77
  Ejemplos:
85
78
  |pais|tipo|ciudad|
86
79
  |VE |roundtrip|BZC|
87
- |VE |oneway|PCM|
88
- |VE |multipledestinations|BZC|
80
+ |VE |oneway|PCM|
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
 
15
15
  gem.require_paths = ["lib"] # Usualmente es solo lib -> ["lib"]
16
16
 
17
- gem.version = '0.2.4' # La version se debe incrementar cada vez que se desea publicar una nueva version del test.
17
+ gem.version = '0.2.5' # La version se debe incrementar cada vez que se desea publicar una nueva version del test.
18
18
 
19
19
  gem.add_dependency('henry-container', '>= 0.1.39')
20
20
  gem.add_dependency('page-object')
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: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez,lsimean