flights_gui_tests 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/step_definitions/checkout/load_steps.rb +6 -0
- data/features/support/modules/checkout/old_checkout/datos_de_facturacion.rb +1 -1
- data/features/support/modules/checkout/old_checkout/errores.rb +1 -1
- data/features/support/modules/checkout/old_checkout/fast_checkout.rb +1 -1
- data/features/support/modules/checkout/old_checkout/informacion_de_contacto.rb +1 -1
- data/features/support/modules/checkout/old_checkout/pasajeros.rb +1 -1
- data/features/support/modules/checkout/old_checkout/popup.rb +1 -1
- data/features/support/modules/checkout/old_checkout/reviews.rb +1 -1
- data/features/support/modules/checkout/old_checkout/tarjeta.rb +1 -1
- data/features/support/pages/checkout/checkout_page.rb +0 -8
- data/features/support/pages/checkout/checkout_page/new_checkout_page.rb +9 -0
- data/features/support/pages/checkout/checkout_page/old_checkout_page.rb +9 -0
- data/flights_gui_tests.gemspec +1 -1
- 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: 6d8384f6563ca2f505a59c0ab6c9e4dda7f2de27
|
4
|
+
data.tar.gz: d8db80376d460f9684de3be516c17b0c63564416
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c8f8e5e6bb1a76e6893464511067b225eeb5f6bd221013e459bc4d99f60f4f21c08f1022f34bd945115f37b42787af9607e5a789cdd9945da6ffb888aee74e2
|
7
|
+
data.tar.gz: 0587d145c7291c596f2b9e362540bf471d385b16f1b9896ea1c93f232c8dbec127640e0485c8396ee57331e3d74239e4b8880556c65042059a26b3b07e80f877
|
@@ -48,6 +48,12 @@ Entonces(/^(?:verifico|valido) que ingrese al checkout$/) do
|
|
48
48
|
end
|
49
49
|
|
50
50
|
Entonces(/^espero que termine el pedido de compra$/) do
|
51
|
+
begin
|
52
|
+
@page.popup_transicion_compra_element.when_visible(timeout=10)
|
53
|
+
puts "Se mostro el popup de transicion de compra"
|
54
|
+
rescue Watir::Wait::TimeoutError
|
55
|
+
puts "No se mostro el popup de transicion de compra"
|
56
|
+
end
|
51
57
|
@page.popup_transicion_compra_element.when_not_visible(timeout=200)
|
52
58
|
Watir::Wait.until(timeout=200){@page.mensaje_error_ux_element.present? or @page.notificacion_warning_ux_element.present? or @page.checkout_id_cash_element.present? or @page.checkout_id_element.present? or @page.popup_nuevo_vuelo_element.present? or @page.popup_nuevo_precio_element.present? or @page.notificacion_error_element.present? or @page.notificacion_warning_element.present? or @page.notificacion_error_ux_element.present?}
|
53
59
|
end
|
@@ -4,14 +4,6 @@ module Checkout
|
|
4
4
|
|
5
5
|
include Pages::Tags
|
6
6
|
include Pages::Cookies
|
7
|
-
include Checkout::Pasajeros
|
8
|
-
include Checkout::PopUp
|
9
|
-
include Checkout::Tarjeta
|
10
|
-
include Checkout::Reviews
|
11
|
-
include Checkout::Errores
|
12
|
-
include Checkout::FastCheckout
|
13
|
-
include Checkout::DatosDeFacturacion
|
14
|
-
include Checkout::InformacionDeContacto
|
15
7
|
|
16
8
|
element(:pasajeros,:fieldset,:id=>"passengers")
|
17
9
|
element(:checkout_id,:em,:class=>"checkout-id")
|
@@ -2,6 +2,15 @@
|
|
2
2
|
module Checkout
|
3
3
|
class NewCheckoutPage < CheckoutPage
|
4
4
|
|
5
|
+
include NewCheckout::Pasajeros
|
6
|
+
include NewCheckout::PopUp
|
7
|
+
include NewCheckout::Tarjeta
|
8
|
+
include NewCheckout::Reviews
|
9
|
+
include NewCheckout::Errores
|
10
|
+
include NewCheckout::FastCheckout
|
11
|
+
include NewCheckout::DatosDeFacturacion
|
12
|
+
include NewCheckout::InformacionDeContacto
|
13
|
+
|
5
14
|
div(:seccion_preguntas_riesgo,:css=>"#form .radio-group")
|
6
15
|
div(:opcion_no_deposito,:css=>"#confirm-payment-popup .flights-button-no")
|
7
16
|
div(:opcion_si_deposito,:css=>"#confirm-payment-popup .flights-button-yes")
|
@@ -2,6 +2,15 @@
|
|
2
2
|
module Checkout
|
3
3
|
class OldCheckoutPage < CheckoutPage
|
4
4
|
|
5
|
+
include OldCheckout::Pasajeros
|
6
|
+
include OldCheckout::PopUp
|
7
|
+
include OldCheckout::Tarjeta
|
8
|
+
include OldCheckout::Reviews
|
9
|
+
include OldCheckout::Errores
|
10
|
+
include OldCheckout::FastCheckout
|
11
|
+
include OldCheckout::DatosDeFacturacion
|
12
|
+
include OldCheckout::InformacionDeContacto
|
13
|
+
|
5
14
|
div(:seccion_preguntas_riesgo,:css=>"#form .radio-group")
|
6
15
|
div(:opcion_no_deposito,:css=>"#confirm-payment-popup .flights-button-no")
|
7
16
|
div(:opcion_si_deposito,:css=>"#confirm-payment-popup .flights-button-yes")
|
data/flights_gui_tests.gemspec
CHANGED
@@ -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.9.
|
17
|
+
gem.version = '0.9.9' # 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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flights_gui_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lgonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|