flights_gui_tests 0.0.1

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.
Files changed (97) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/features/data/host.yml +78 -0
  4. data/features/data/miles.yml +216 -0
  5. data/features/data/sites.yml +44 -0
  6. data/features/data/tag_microsoft.yml +68 -0
  7. data/features/step_definitions/checkout/checkout_steps.rb +24 -0
  8. data/features/step_definitions/checkout/form_steps.rb +20 -0
  9. data/features/step_definitions/checkout/load_steps.rb +36 -0
  10. data/features/step_definitions/conditional_steps.rb +12 -0
  11. data/features/step_definitions/cookies_steps.rb +8 -0
  12. data/features/step_definitions/flights_tracker/flights_tracker_steps.rb +30 -0
  13. data/features/step_definitions/landing/itineraries_steps.rb +75 -0
  14. data/features/step_definitions/landing/landing_steps.rb +59 -0
  15. data/features/step_definitions/landing/load_steps.rb +30 -0
  16. data/features/step_definitions/page_steps.rb +18 -0
  17. data/features/step_definitions/results/basefare_steps.rb +65 -0
  18. data/features/step_definitions/results/desambiguation_steps.rb +144 -0
  19. data/features/step_definitions/results/errors_steps.rb +23 -0
  20. data/features/step_definitions/results/filters_steps.rb +301 -0
  21. data/features/step_definitions/results/load_steps.rb +52 -0
  22. data/features/step_definitions/results/matrix_steps.rb +213 -0
  23. data/features/step_definitions/results/order_steps.rb +49 -0
  24. data/features/step_definitions/results/pagination_steps.rb +29 -0
  25. data/features/step_definitions/results/recommendation_steps.rb +75 -0
  26. data/features/step_definitions/results/results_steps.rb +40 -0
  27. data/features/step_definitions/results/reviews_steps.rb +16 -0
  28. data/features/step_definitions/results/tags_steps.rb +102 -0
  29. data/features/step_definitions/results/wish_list_steps.rb +114 -0
  30. data/features/step_definitions/thanks/load_steps.rb +10 -0
  31. data/features/step_definitions/thanks/thanks_steps.rb +12 -0
  32. data/features/support/classes/clusters/checkout_cluster.rb +117 -0
  33. data/features/support/classes/clusters/data/data.rb +33 -0
  34. data/features/support/classes/clusters/results/details_cluster.rb +36 -0
  35. data/features/support/classes/clusters/results/landing_cluster.rb +29 -0
  36. data/features/support/classes/clusters/results/render_cluster.rb +83 -0
  37. data/features/support/classes/clusters/results_cluster.rb +171 -0
  38. data/features/support/classes/date.rb +26 -0
  39. data/features/support/classes/element.rb +23 -0
  40. data/features/support/classes/price.rb +66 -0
  41. data/features/support/classes/process_manager.rb +104 -0
  42. data/features/support/classes/string.rb +16 -0
  43. data/features/support/env.rb +94 -0
  44. data/features/support/hooks.rb +20 -0
  45. data/features/support/matchers.rb +108 -0
  46. data/features/support/modules/accessor.rb +26 -0
  47. data/features/support/modules/browser.rb +80 -0
  48. data/features/support/modules/checkout/datos_de_facturacion.rb +64 -0
  49. data/features/support/modules/checkout/informacion_de_contacto.rb +30 -0
  50. data/features/support/modules/checkout/pasajeros.rb +71 -0
  51. data/features/support/modules/checkout/tarjeta.rb +71 -0
  52. data/features/support/modules/element.rb +12 -0
  53. data/features/support/modules/helpers.rb +64 -0
  54. data/features/support/modules/pages/cookies.rb +33 -0
  55. data/features/support/modules/pages/tags.rb +27 -0
  56. data/features/support/modules/results/filters.rb +37 -0
  57. data/features/support/modules/results/itineraries/bussines.rb +17 -0
  58. data/features/support/modules/results/itineraries/data.rb +25 -0
  59. data/features/support/modules/results/itineraries/details.rb +80 -0
  60. data/features/support/modules/results/itineraries/miles.rb +64 -0
  61. data/features/support/modules/results/itineraries/payments.rb +27 -0
  62. data/features/support/modules/results/matrix/matrix_airline.rb +52 -0
  63. data/features/support/modules/results/matrix/matrix_fare_chart.rb +21 -0
  64. data/features/support/modules/results/matrix/matrix_price.rb +18 -0
  65. data/features/support/modules/results/recommendation.rb +29 -0
  66. data/features/support/modules/results/search_params.rb +21 -0
  67. data/features/support/modules/results/wish_list.rb +33 -0
  68. data/features/support/pages/all_pages.rb +95 -0
  69. data/features/support/pages/checkout/checkout_page.rb +45 -0
  70. data/features/support/pages/checkout/popup_results_page.rb +39 -0
  71. data/features/support/pages/flights_tracker/search_page.rb +54 -0
  72. data/features/support/pages/landing/search_page.rb +94 -0
  73. data/features/support/pages/results/desambiguation_airports_page.rb +16 -0
  74. data/features/support/pages/results/desambiguation_city_page.rb +20 -0
  75. data/features/support/pages/results/search_page.rb +101 -0
  76. data/features/support/pages/thanks/thanks_page.rb +7 -0
  77. data/features/tests/checkout/book_ok.feature +209 -0
  78. data/features/tests/flights_tracker/search.feature +65 -0
  79. data/features/tests/landing/search.feature +152 -0
  80. data/features/tests/results/basefare.feature +90 -0
  81. data/features/tests/results/desambiguation/airports.feature +89 -0
  82. data/features/tests/results/desambiguation/city.feature +87 -0
  83. data/features/tests/results/errors.feature +198 -0
  84. data/features/tests/results/filters.feature +113 -0
  85. data/features/tests/results/itineraries.feature +93 -0
  86. data/features/tests/results/matrix/matrix_airlines.feature +46 -0
  87. data/features/tests/results/matrix/matrix_fare_chart.feature +41 -0
  88. data/features/tests/results/matrix/matrix_price.feature +41 -0
  89. data/features/tests/results/orders.feature +89 -0
  90. data/features/tests/results/pagination.feature +74 -0
  91. data/features/tests/results/recommendation.feature +111 -0
  92. data/features/tests/results/reviews_airlines.feature +84 -0
  93. data/features/tests/results/search.feature +209 -0
  94. data/features/tests/results/wish_list.feature +55 -0
  95. data/flights_gui_tests.gemspec +34 -0
  96. data/henry-context.yml +4938 -0
  97. metadata +306 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0df6a3b4a37375778d06202fadd47bdf6b6eb159
4
+ data.tar.gz: 4abef2751f546c7a1c3874cdf935d6dc6f516585
5
+ SHA512:
6
+ metadata.gz: 647b6dc3e4992eb4c848f2cc7140545632e0276062f78c5631b9a52391691728a7b22b23da44b65fca61f92f9fbbaac56536c27d84a27ba0fb931f2f912f0df6
7
+ data.tar.gz: 5e27db44a8e7ab348693ad3b1c554145fd65effd46c31ed7748d3a09dd084f6c3f046ce1d88adfd724aabdd0f8cf3d8170d9ad2a689d31f60d1f76e1edd29f92
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source :gemcutter
2
+
3
+ gemspec
@@ -0,0 +1,78 @@
1
+ AR:
2
+ produccion: http://www.despegar.com.ar
3
+ beta: http://www.despegar.com.ar
4
+ rc: http://rc.despegar.it.ar
5
+ ic: http://ic.despegar.it.ar
6
+ desa: http://desa.despegar.com.ar:8080
7
+ BR:
8
+ produccion: http://www.decolar.com
9
+ beta: http://www.decolar.com
10
+ rc: http://rc.decolar.it
11
+ ic: http://ic.decolar.it
12
+ desa: http://desa.decolar.com:8080
13
+ CL:
14
+ produccion: http://www.despegar.cl
15
+ beta: http://www.despegar.cl
16
+ rc: http://rc.despegar.it.cl
17
+ ic: http://ic.despegar.it.cl
18
+ desa: http://desa.despegar.com.cl:8080
19
+ CO:
20
+ produccion: http://www.despegar.com.co
21
+ beta: http://www.despegar.com.co
22
+ rc: http://rc.despegar.it.co
23
+ ic: http://ic.despegar.it.co
24
+ desa: http://desa.despegar.com.co:8080
25
+ CR:
26
+ produccion: http://www.despegar.co.cr
27
+ beta: http://www.despegar.co.cr
28
+ rc: http://rc.despegar.it.cr
29
+ ic: http://ic.despegar.it.cr
30
+ desa: http://desa.despegar.com.cr:8080
31
+ EC:
32
+ produccion: http://www.despegar.com.ec
33
+ beta: http://www.despegar.com.ec
34
+ rc: http://rc.despegar.it.ec
35
+ ic: http://ic.despegar.it.ec
36
+ desa: http://desa.despegar.com.ec:8080
37
+ MX:
38
+ produccion: http://www.despegar.com.mx
39
+ beta: http://www.despegar.com.mx
40
+ rc: http://rc.despegar.it.mx
41
+ ic: http://ic.despegar.it.mx
42
+ desa: http://desa.despegar.com.mx:8080
43
+ PA:
44
+ produccion: http://www.despegar.com.pa
45
+ beta: http://www.despegar.com.pa
46
+ rc: http://rc.despegar.it.pa
47
+ ic: http://ic.despegar.it.pa
48
+ desa: http://desa.despegar.com.pa:8080
49
+ PE:
50
+ produccion: http://www.despegar.com.pe
51
+ beta: http://www.despegar.com.pe
52
+ rc: http://rc.despegar.it.pe
53
+ ic: http://ic.despegar.it.pe
54
+ desa: http://desa.despegar.com.pe:8080
55
+ US:
56
+ produccion: http://www.us.despegar.com
57
+ beta: http://www.us.despegar.com
58
+ rc: http://rc.us.despegar.it
59
+ ic: http://ic.us.despegar.it
60
+ desa: http://desa.despegar.com.us:8080
61
+ UY:
62
+ produccion: http://www.despegar.com.uy
63
+ beta: http://www.despegar.com.uy
64
+ rc: http://rc.despegar.it.uy
65
+ ic: http://ic.despegar.it.uy
66
+ desa: http://desa.despegar.com.uy:8080
67
+ VE:
68
+ produccion: http://www.despegar.com.ve
69
+ beta: http://www.despegar.com.ve
70
+ rc: http://rc.despegar.it.ve
71
+ ic: http://ic.despegar.it.ve
72
+ desa: http://desa.despegar.com.ve:8080
73
+ PR:
74
+ produccion: http://www.despegar.com.pr
75
+ beta: http://www.despegar.com.pr
76
+ rc: http://rc.despegar.it.pr
77
+ ic: http://ic.despegar.it.pr
78
+ desa: http://desa.despegar.com.pr:8080
@@ -0,0 +1,216 @@
1
+ US:
2
+ text:
3
+ - Earn up to miles unit
4
+ - You can earn miles unit
5
+ unit:
6
+ MILE: miles
7
+ KILOMETER: kilometres
8
+ POINTS: points
9
+ CREDIT: credits
10
+ UA:
11
+ - with MileagePlus reward program
12
+ - You can earn MileagePlus unit
13
+ CM:
14
+ - with MileagePlus reward program
15
+ - You can earn MileagePlus unit
16
+ LA:
17
+ - with LANPASS reward program
18
+ - You can earn LANPasS unit
19
+ 4M:
20
+ - with LANPASS reward program
21
+ - You can earn LANPass unit
22
+ XL:
23
+ - with LANPASS reward program
24
+ - You can earn LANPass unit
25
+ 4C:
26
+ - with LANPASS reward program
27
+ - You can earn LANPass unit
28
+ LP:
29
+ - with LANPASS reward program
30
+ - You can earn LANPass unit
31
+ AA:
32
+ - with AAdvantage reward program
33
+ - You can earn AAdvantage unit
34
+ AR:
35
+ - with Aerolineas Plus reward program
36
+ - You can earn Aerolineas Plus unit
37
+ JJ:
38
+ - with Fidelidade reward program
39
+ - You can earn unit Fidelidade
40
+ G3:
41
+ - with Smiles reward program
42
+ - You can earn Smiles unit
43
+ TP:
44
+ - with Victoria reward program
45
+ - You can earn Victoria unit
46
+ DL:
47
+ - with SkyMiles reward program
48
+ - You can earn unit SkyMiles
49
+ AM:
50
+ - with Club Premier reward program
51
+ - You can earn unit Club Premier
52
+ AC:
53
+ - with Altitude reward program
54
+ - You can earn Altitude unit
55
+ EK:
56
+ - with Skywards reward program
57
+ - You can earn Skywards unit
58
+ AV:
59
+ - with LifeMiles reward program
60
+ - You can earn unit LifeMiles
61
+ TA:
62
+ - with LifeMiles reward program
63
+ - You can earn unit LifeMiles
64
+ LR:
65
+ - with LifeMiles reward program
66
+ - You can earn unit LifeMiles
67
+ AD:
68
+ - with TudoAzul reward program
69
+ - You can earn TudoAzul unit
70
+ O6:
71
+ - with Programa Amigo reward program
72
+ - You can earn Programa Amigo unit
73
+ BR:
74
+ text:
75
+ - Comprando estes voos voce acumula ate miles unit
76
+ - Comprando estes voos voce acumula unit
77
+ unit:
78
+ MILE: milhas
79
+ KILOMETER: quilometros
80
+ POINTS: pontos
81
+ CREDIT: creditos
82
+ UA:
83
+ - do programa MileagePlus da United Airlines
84
+ - Pode acumular unit MileagePlus
85
+ CM:
86
+ - do programa MileagePlus da Copa
87
+ - Pode acumular unit MileagePlus
88
+ LA:
89
+ - do programa LANPASS da LAN
90
+ - Pode acumular unit LANPasS
91
+ 4M:
92
+ - do programa LANPASS da LAN
93
+ - Pode acumular unit LANPass
94
+ XL:
95
+ - do programa LANPASS da LAN
96
+ - Pode acumular unit LANPass
97
+ 4C:
98
+ - do programa LANPASS da LAN
99
+ - Pode acumular unit LANPass
100
+ LP:
101
+ - do programa LANPASS da LAN
102
+ - Pode acumular unit LANPass
103
+ AA:
104
+ - do programa AAdvantage da American Airlines
105
+ - Pode acumular unit AAdvantage
106
+ AR:
107
+ - do programa Aerolineas Plus da Aerolineas Argentinas
108
+ - Pode acumular unit Aerolineas Plus
109
+ JJ:
110
+ - do programa Fidelidade da TAM
111
+ - Pode acumular unit Fidelidade
112
+ G3:
113
+ - do programa Smiles da GOL
114
+ - Pode acumular unit Smiles
115
+ TP:
116
+ - do programa Victoria da TAP
117
+ - Pode acumular unit Victoria
118
+ DL:
119
+ - do programa SkyMiles da Delta
120
+ - Pode acumular unit SkyMiles
121
+ AM:
122
+ - do programa Premier Club da Aeromexico
123
+ - Pode acumular unit Club Premier
124
+ AC:
125
+ - do programa Altitude da Air Canada
126
+ - Pode acumular unit Altitude
127
+ EK:
128
+ - do programa Skywards da Emirates
129
+ - Pode acumular unit Skywards
130
+ AV:
131
+ - do programa LifeMiles da Avianca
132
+ - Pode acumular unit LifeMiles
133
+ TA:
134
+ - do programa LifeMiles da TACA
135
+ - Pode acumular unit LifeMiles
136
+ LR:
137
+ - do programa lifemiles da Lacsa
138
+ - Pode acumular unit LifeMiles
139
+ AD:
140
+ - do programa TudoAzul da Azul
141
+ - Pode acumular unit TudoAzul
142
+ O6:
143
+ - do programa Programa Amigo da Avianca
144
+ - Pode acumular unit Programa Amigo
145
+ DF:
146
+ text:
147
+ - Comprando estos vuelos usted suma hasta miles unit
148
+ - Comprando estos vuelos usted suma unit
149
+ unit:
150
+ MILE: millas
151
+ KILOMETER: kilometros
152
+ POINTS: puntos
153
+ CREDIT: creditos
154
+ UA:
155
+ - del programa MileagePlus de United Airlines
156
+ - Puede sumar unit MileagePlus
157
+ CM:
158
+ - del programa MileagePlus de Copa
159
+ - Puede sumar unit MileagePlus
160
+ LA:
161
+ - del programa LANPASS de LAN
162
+ - Puede sumar unit LANPasS
163
+ 4M:
164
+ - del programa LANPASS de LAN
165
+ - Puede sumar unit LANPass
166
+ XL:
167
+ - del programa LANPASS de LAN
168
+ - Puede sumar unit LANPass
169
+ 4C:
170
+ - del programa LANPASS de LAN
171
+ - Puede sumar unit LANPass
172
+ LP:
173
+ - del programa LANPASS de LAN
174
+ - Puede sumar unit LANPass
175
+ AA:
176
+ - del programa AAdvantage de American Airlines
177
+ - Puede sumar unit AAdvantage
178
+ AR:
179
+ - del programa Aerolineas Plus de Aerolineas Argentinas
180
+ - Puede sumar unit Aerolineas Plus
181
+ JJ:
182
+ - del programa Fidelidade de TAM
183
+ - Puede sumar unit Fidelidade
184
+ G3:
185
+ - del programa Smiles de GOL
186
+ - Puede sumar unit Smiles
187
+ TP:
188
+ - del programa Victoria de TAP
189
+ - Puede sumar unit Victoria
190
+ DL:
191
+ - del programa SkyMiles de Delta
192
+ - Puede sumar unit SkyMiles
193
+ AM:
194
+ - del programa Club Premier de Aeromexico
195
+ - Puede sumar unit Club Premier
196
+ AC:
197
+ - del programa Altitude de Air Canada
198
+ - Puede sumar unit Altitude
199
+ EK:
200
+ - del programa Skywards de Emirates
201
+ - Puede sumar unit Skywards
202
+ AV:
203
+ - del programa LifeMiles de Avianca
204
+ - Puede sumar unit LifeMiles
205
+ TA:
206
+ - del programa LifeMiles de TACA
207
+ - Puede sumar unit LifeMiles
208
+ LR:
209
+ - del programa lifemiles de Lacsa
210
+ - Puede sumar unit LifeMiles
211
+ AD:
212
+ - del programa TudoAzul de Azul
213
+ - Puede sumar unit TudoAzul
214
+ O6:
215
+ - del programa Programa Amigo de Avianca
216
+ - Puede sumar unit Programa Amigo
@@ -0,0 +1,44 @@
1
+ CL:
2
+ - {code: "SCL", airports: ["SCL"], name: "Santiago de Chile|Santiago"}
3
+ - {code: "IQQ", airports: ["IQQ"], name: "Iquique"}
4
+ AR:
5
+ - {code: "BUE", airports: ["EZE", "AEP", "BUE"], name: "Buenos Aires"}
6
+ - {code: "COR", airports: ["COR"], name: "Cordoba"}
7
+ BR:
8
+ - {code: "SAO", airports: ["SAO", "GRU", "CGH", "VCP", "CPQ"], name: "San Pablo|Sao Paulo"}
9
+ - {code: "RIO", airports: ["RIO", "SDU", "GIG"], name: "Rio de Janeiro"}
10
+ - {code: "FLN", airports: ["FLN"], name: "Florianopolis"}
11
+ - {code: "POA", airports: ["POA"], name: "Porto Alegre"}
12
+ - {code: "REC", airports: ["REC"], name: "Recife"}
13
+ MX:
14
+ - {code: "MEX", airports: ["MEX", "TLC"], name: "Ciudad de Mexico|Cidade do Mexico"}
15
+ - {code: "GDL", airports: ["GDL"], name: "Guadalajara"}
16
+ - {code: "CUN", airports: ["CUN"], name: "Cancun"}
17
+ - {code: "MTY", airports: ["MTY"], name: "Monterrey"}
18
+ PE:
19
+ - {code: "LIM", airports: ["LIM"], name: "Lima"}
20
+ VE:
21
+ - {code: "CCS", airports: ["CCS"], name: "Caracas"}
22
+ CO:
23
+ - {code: "BOG", airports: ["BOG"], name: "Bogota"}
24
+ - {code: "MDE", airports: ["MDE"], name: "Medellin"}
25
+ - {code: "CLO", airports: ["CLO"], name: "Cali"}
26
+ CR:
27
+ - {code: "SJO", airports: ["SJO"], name: "San Jose|Sao Jose"}
28
+ PA:
29
+ - {code: "PTY", airports: ["PTY"], name: "Panama|Cidade do Panama"}
30
+ UY:
31
+ - {code: "MVD", airports: ["MVD"], name: "Montevideo|Montevideu"}
32
+ EC:
33
+ - {code: "UIO", airports: ["UIO"], name: "Quito"}
34
+ - {code: "GYE", airports: ["GYE"], name: "Guayaquil|Guaiaquil"}
35
+ ES:
36
+ - {code: "BCN", airports: ["BCN"], name: "Barcelona"}
37
+ PR:
38
+ - {code: "SJU", airports: ["SJU"], name: "San Juan"}
39
+ US:
40
+ - {code: "MIA", airports: ["MIA"], name: "Miami"}
41
+ - {code: "LAX", airports: ["LAX"], name: "Los Angeles"}
42
+ - {code: "LAS", airports: ["LAS"], name: "Las Vegas"}
43
+ - {code: "NYC", airports: ["EWR", "JFK", "LGA", "NYC"], name: "Nueva York|Nova York"}
44
+ - {code: "WAS", airports: ["WAS", "DCA", "BWI", "IAD"], name: "Washington"}
@@ -0,0 +1,68 @@
1
+ AR:
2
+ - City: MIA
3
+ Id: Despegar_AR_Vuelos_Miami
4
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosMiami_1"/>
5
+ - City: MAD
6
+ Id: Despegar_AR_Vuelos_Madrid
7
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosMadrid_1"/>
8
+ - City: MEX
9
+ Id: Despegar_AR_Vuelos_MEX_Mexico
10
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosMEXMexico_1"/>
11
+ - City: LIM
12
+ Id: Despegar_AR_Vuelos_Lima
13
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosLima_1"/>
14
+ - City: NYC
15
+ Id: Despegar_AR_Vuelos_JFK_Nueva_York
16
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosJFKNuevaYork_1"/>
17
+ - City: RIO
18
+ Id: Despegar_AR_Vuelos_Rio_de_Janeiro
19
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosRiodeJaneiro_1"/>
20
+ - City: BOG
21
+ Id: Despegar_AR_Vuelos_BOG_Bogota
22
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosBOGBogota_1"/>
23
+ - City: SAO
24
+ ID: Despegar_AR_Vuelos_San_Pablo
25
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosSanPablo_1"/>
26
+ - City: CUN
27
+ Id: Despegar_AR_Vuelos_Cancun
28
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosCancun_1"/>
29
+ - City: CCS
30
+ Id: Despegar_AR_Vuelos_CCS_Caracas
31
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosCCSCaracas_1"/>
32
+ - City: DEF
33
+ Id: Despegar_AR_Vuelos_Default
34
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/drvdes_DespegarARVuelosDefault_1"/>
35
+ BR:
36
+ - City: BHZ
37
+ Id: MMN_Despegar_BR_Vuelos_BHZ_Belo_Horizonte
38
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_BHZ_Belo_Horizonte"/>
39
+ - City: BSB
40
+ Id: MMN_Despegar_BR_Vuelos_BSB_Brasilia
41
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_BSB_Brasilia"/>
42
+ - City: BUE
43
+ Id: MMN_Despegar_BR_Vuelos_BUE_Buenos_Aires
44
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_BUE_Buenos_Aires"/>
45
+ - City: CWB
46
+ Id: MMN_Despegar_BR_Vuelos_CWB_Curitiba
47
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_CWB_Curitiba"/>
48
+ - City: DEF
49
+ Id: MMN_Despegar_BR_Vuelos_Default
50
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_Default"/>
51
+ - City: FOR
52
+ Id: MMN_Despegar_BR_Vuelos_FOR_Fortaleza
53
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_FOR_Fortaleza"/>
54
+ - City: POA
55
+ Id: MMN_Despegar_BR_Vuelos_POA_Porto_Alegre
56
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_POA_Porto_Alegre"/>
57
+ - City: REC
58
+ Id: MMN_Despegar_BR_Vuelos_REC_Recife
59
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_REC_Recife"/>
60
+ - City: RIO
61
+ Id: MMN_Despegar_BR_Vuelos_RIO_Rio_de_Janeiro
62
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_RIO_Rio_de_Janeiro"/>
63
+ - City: SAO
64
+ Id: MMN_Despegar_BR_Vuelos_SAO_San_Pablo
65
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_SAO_San_Pablo"/>
66
+ - City: SSA
67
+ Id: MMN_Despegar_BR_Vuelos_SSA_Salvador
68
+ Tag: <img height="1" width="1" src="http://view.atdmt.com/action/MMN_Despegar_BR_Vuelos_SSA_Salvador"/>
@@ -0,0 +1,24 @@
1
+ # encoding: utf-8
2
+ Cuando(/^aparece el popup de no disponibilidad$/) do
3
+ @page.popup_nuevo_vuelo_element.should visible
4
+ @popup_no_disponibilidad_page = Checkout::PopupResultsPage.new($browser)
5
+ @popup_no_disponibilidad_page.iniciar_apariciones
6
+ end
7
+
8
+ Entonces(/^elijo un itinerario del popup de no disponibilidad$/) do
9
+ @popup_no_disponibilidad_page.sumar_aparicion
10
+ pending("La cantidad de compras supero las #{@popup_no_disponibilidad_page.apariciones} apariciones") if @popup_no_disponibilidad_page.apariciones > 5
11
+ @popup_no_disponibilidad_page.itinerario_element.when_visible(timeout=30)
12
+ @popup_no_disponibilidad_page.cargar_itinerarios
13
+ @itinerario = @popup_no_disponibilidad_page.elegir_itinerario(0)
14
+ step "verifico que ingrese al checkout"
15
+ step "verifico que la pagina no rompa"
16
+ step "cargo los pasajeros"
17
+ step "cargo los datos de la tarjeta"
18
+ step "si el site es \"AR|MX|PE\", cargo los datos de facturacion"
19
+ step "cargo los datos de contacto"
20
+ step "acepto y compro"
21
+ step "espero que termine el pedido de compra"
22
+ step "verifico si no trae errores"
23
+ step "si aparece el popup de no disponibilidad, elijo un itinerario del popup de no disponibilidad"
24
+ end