flights_gui_tests 2.4.02 → 2.4.03
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 +4 -4
- data/features/step_definitions/checkout/load_steps.rb +4 -1
- data/features/step_definitions/checkout/multipleoneway_steps.rb +10 -2
- data/features/step_definitions/landing/negative_steps.rb +1 -1
- data/features/support/pages/checkout/checkout_page/new_checkout_page.rb +1 -0
- data/features/support/version.rb +1 -1
- data/henry-context.yml +45 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9793491bd3396876082c84ecf408112c6cba73b1
|
|
4
|
+
data.tar.gz: 51b18d25919d6a15ef46da0c089b36a67befb2e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7050614bc576cc52b0d80fea199d0549f0e0d97ed6c8524ac5022f68d19268a37f2d7de47023e44c1b503891137a29f92346b2f95b5e1190394f384170dcdd0a
|
|
7
|
+
data.tar.gz: 602a767d11c1083b6d60c38284a0641d969f46789f886daa6b4f7b3b5de26d1f99b399749cd52b220de69c19b8127bfba9b8e0413699813d388197155230ae0b
|
|
@@ -68,7 +68,10 @@ Y(/^(?:verifico|valido) si no trae errores$/) do
|
|
|
68
68
|
raise((pagina/"div#errorInfo").inner_html)
|
|
69
69
|
end
|
|
70
70
|
pending(@page.notificacion_warning_ux_element.text) unless @page.popup_asistencia_al_viajero_element.present? or @page.popup_nuevo_vuelo_element.present? or @page.checkout_id_element.present? or @page.checkout_id_cash_element.present? or @page.notificacion_warning_ux_element.text.downcase.no_accents.match("viaja sin asistencia|viaja sem assistencia")
|
|
71
|
-
end
|
|
71
|
+
end
|
|
72
|
+
if @page.notificacion_error_campos_element.present?
|
|
73
|
+
@page.notificacion_error_campos_element.should_not visible(@page.notificacion_error_campos_element.text)
|
|
74
|
+
end
|
|
72
75
|
if @page.mensaje_eva_alerta_element.present?
|
|
73
76
|
pending(@page.mensaje_eva_alerta_element.text) if @page.url.match("no-more-flights")
|
|
74
77
|
end
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
|
2
2
|
Y(/completo la compra con TC/) do
|
|
3
3
|
step "cargo los pasajeros"
|
|
4
|
-
|
|
4
|
+
if AllPages.site == "BR"
|
|
5
|
+
step "cargo los datos de la tarjeta en el nuevo formulario"
|
|
6
|
+
else
|
|
7
|
+
step "cargo los datos de la tarjeta"
|
|
8
|
+
end
|
|
5
9
|
step "si pide datos de facturacion, cargo los datos de facturacion"
|
|
6
10
|
step "cargo los datos de contacto"
|
|
7
11
|
step "verifico que los datos cargados sean mostrados correctamente al lado del boton comprar"
|
|
8
12
|
step "acepto y compro"
|
|
9
13
|
step "espero que termine el pedido de compra"
|
|
10
14
|
step "verifico si no trae errores"
|
|
11
|
-
|
|
15
|
+
if AllPages.site == "BR"
|
|
16
|
+
step "si aparece el popup de no disponibilidad, elijo un itinerario para checkout de nuevas formas de pago del popup de no disponibilidad"
|
|
17
|
+
else
|
|
18
|
+
step "si aparece el popup de no disponibilidad, elijo un itinerario del popup de no disponibilidad"
|
|
19
|
+
end
|
|
12
20
|
end
|
|
13
21
|
Y(/logro que totem emita la emision online/) do
|
|
14
22
|
|
|
@@ -43,7 +43,7 @@ Entonces(/^(?:verifico|valido) que paginado negativo de error$/) do
|
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
Entonces(/^(?:verifico|valido) que si la fecha de ida ingresada es posterior a la fecha de vuelta de error$/) do
|
|
46
|
-
@page.ir(@path_landing[1] + "1/
|
|
46
|
+
@page.ir(@path_landing[1] + "1/2016-12-05/2016-12-04/" + @path_landing[2] + @path_landing[3])
|
|
47
47
|
@page.simbolo_error_element.when_visible(timeout=10)
|
|
48
48
|
@page.mensaje_element.text.should match("The departure date entered is later than the return date|La fecha de ida ingresada es posterior a la fecha de vuelta|A data de partida digitada .{1,2} posterior a data de retorno")
|
|
49
49
|
end
|
|
@@ -16,6 +16,7 @@ module Checkout
|
|
|
16
16
|
div(:opcion_no_deposito,:css=>"#confirm-payment-popup .flights-button-no")
|
|
17
17
|
div(:opcion_si_deposito,:css=>"#confirm-payment-popup .flights-button-yes")
|
|
18
18
|
div(:notificacion_error,:class=>"notification-box error-box")
|
|
19
|
+
div(:notificacion_error_campos,:class=>"core-message eva-message-error fields_with_error")
|
|
19
20
|
div(:notificacion_error_cac,:id=>"notification-box")
|
|
20
21
|
div(:notificacion_warning,:class=>"notification-box warn-box")
|
|
21
22
|
div(:notificacion_warning_ux,:class=>"ux-common-message ux-common-message-warning ")
|
data/features/support/version.rb
CHANGED
data/henry-context.yml
CHANGED
|
@@ -13639,6 +13639,21 @@ tasks:
|
|
|
13639
13639
|
recipients:
|
|
13640
13640
|
- estebanldh@gmail.com
|
|
13641
13641
|
- nsimean@despegar.com
|
|
13642
|
+
- name: checkout.multipleoneway.co
|
|
13643
|
+
class_name: Henry::Task::CucumberTask
|
|
13644
|
+
options:
|
|
13645
|
+
tags:
|
|
13646
|
+
- checkout
|
|
13647
|
+
- multipleoneway
|
|
13648
|
+
- co
|
|
13649
|
+
expand: true
|
|
13650
|
+
no-source: true
|
|
13651
|
+
reports:
|
|
13652
|
+
- format: html
|
|
13653
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
13654
|
+
recipients:
|
|
13655
|
+
- estebanldh@gmail.com
|
|
13656
|
+
- nsimean@despegar.com
|
|
13642
13657
|
- name: checkout.multipleoneway.br
|
|
13643
13658
|
class_name: Henry::Task::CucumberTask
|
|
13644
13659
|
options:
|
|
@@ -13654,6 +13669,21 @@ tasks:
|
|
|
13654
13669
|
recipients:
|
|
13655
13670
|
- estebanldh@gmail.com
|
|
13656
13671
|
- nsimean@despegar.com
|
|
13672
|
+
- name: checkout.multipleoneway.co
|
|
13673
|
+
class_name: Henry::Task::CucumberTask
|
|
13674
|
+
options:
|
|
13675
|
+
tags:
|
|
13676
|
+
- checkout
|
|
13677
|
+
- multipleoneway
|
|
13678
|
+
- co
|
|
13679
|
+
expand: true
|
|
13680
|
+
no-source: true
|
|
13681
|
+
reports:
|
|
13682
|
+
- format: html
|
|
13683
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
13684
|
+
recipients:
|
|
13685
|
+
- estebanldh@gmail.com
|
|
13686
|
+
- nsimean@despegar.com
|
|
13657
13687
|
- name: checkout.multipleoneway.br
|
|
13658
13688
|
class_name: Henry::Task::CucumberTask
|
|
13659
13689
|
options:
|
|
@@ -13669,6 +13699,21 @@ tasks:
|
|
|
13669
13699
|
recipients:
|
|
13670
13700
|
- estebanldh@gmail.com
|
|
13671
13701
|
- nsimean@despegar.com
|
|
13702
|
+
- name: checkout.multipleoneway.co
|
|
13703
|
+
class_name: Henry::Task::CucumberTask
|
|
13704
|
+
options:
|
|
13705
|
+
tags:
|
|
13706
|
+
- checkout
|
|
13707
|
+
- multipleoneway
|
|
13708
|
+
- co
|
|
13709
|
+
expand: true
|
|
13710
|
+
no-source: true
|
|
13711
|
+
reports:
|
|
13712
|
+
- format: html
|
|
13713
|
+
name: ${DATE}_${TASK_NAME}.html
|
|
13714
|
+
recipients:
|
|
13715
|
+
- estebanldh@gmail.com
|
|
13716
|
+
- nsimean@despegar.com
|
|
13672
13717
|
- name: checkout.braspag
|
|
13673
13718
|
class_name: Henry::Task::CucumberTask
|
|
13674
13719
|
options:
|
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: 2.4.
|
|
4
|
+
version: 2.4.03
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|