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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04d803ecb56fe8da2de41c2f2efadeaab332110d
4
- data.tar.gz: c049d8b53994f2ba59e0e8e860f8be8cd8c0a098
3
+ metadata.gz: 6d8384f6563ca2f505a59c0ab6c9e4dda7f2de27
4
+ data.tar.gz: d8db80376d460f9684de3be516c17b0c63564416
5
5
  SHA512:
6
- metadata.gz: 05243f26c0c0611fd958106ebd8f806957d2a82ce620409ad3c65f9e3e15da742313df1aabe69f6e2d30f882454ecce1ec115cd9843d441732fd4c74d72f6bcf
7
- data.tar.gz: be416672f55a0a1d368f8909d83d4388c5b7b1877b1fb9cc372cbe825e77e885ad3077e75769da6ff78260a709493f1ff9bd4c83b60a026d191393b3c3d64337
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- module Checkout
2
+ module OldCheckout
3
3
  module DatosDeFacturacion
4
4
  include PageObject
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- module Checkout
2
+ module OldCheckout
3
3
  module Errores
4
4
  include PageObject
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- module Checkout
2
+ module OldCheckout
3
3
 
4
4
  module FastCheckout
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- module Checkout
2
+ module OldCheckout
3
3
  module InformacionDeContacto
4
4
  include PageObject
5
5
 
@@ -1,5 +1,5 @@
1
1
  #encoding: utf-8
2
- module Checkout
2
+ module OldCheckout
3
3
  module Pasajeros
4
4
  include PageObject
5
5
 
@@ -1,5 +1,5 @@
1
1
  #encoding: utf-8
2
- module Checkout
2
+ module OldCheckout
3
3
  module PopUp
4
4
  include PageObject
5
5
 
@@ -1,5 +1,5 @@
1
1
  #encoding: utf-8
2
- module Checkout
2
+ module OldCheckout
3
3
  module Reviews
4
4
  include PageObject
5
5
 
@@ -1,5 +1,5 @@
1
1
  #encoding: utf-8
2
- module Checkout
2
+ module OldCheckout
3
3
  module Tarjeta
4
4
  include PageObject
5
5
 
@@ -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")
@@ -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.8' # La version se debe incrementar cada vez que se desea publicar una nueva version del test.
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.8
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-13 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container