flights_gui_tests 2.0.2 → 2.0.3

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: e58c2bb01b4b65e61a37ce07f557fdd3c76a7b5b
4
- data.tar.gz: 580ea620bb29617c8544cee14d9c121bc0788b5e
3
+ metadata.gz: cc54ead08a79d76a280665c5e50b259f82573a50
4
+ data.tar.gz: 879f349af5d4fc74b591aa9f1854753aeabfddc4
5
5
  SHA512:
6
- metadata.gz: f7ef9325b27f25643f5a6a8cc37e510cfe006f5a1a711e39525211183baea9d4bc1fae9aeef7e61e7165e08d9597ab6ee6c1311516a95bef4bdef29a89f3f9ea
7
- data.tar.gz: 8204846845daccc9061b355822dece05312d0cda430325cfc64980cfede0d3490cd09020a98278500306034ba1baa6a87a0ba3d0bb6263a78c017c79addce18d
6
+ metadata.gz: ed149ee5e5da37b4d9f971d976a2abe67d2b6d8193fc44d05af480bb944c33fead15eafe8acdf6205605564151c4e2b1f938ebb5de8f2f5f4ea322a74f9f25c5
7
+ data.tar.gz: 12d6c909a7ad61784efc117a57749eac3912397271f291a33629ccd1fb0b2503cb5a91553b50c99cc0660aaaf281bea650660fb725604c1fe1f51f3c22c21b13
@@ -24,8 +24,8 @@ module NewCheckout
24
24
  text_field(:municipal_facturacion,:id=>"invoice-townRegistration")
25
25
 
26
26
  checkbox(:invoice_check,:id=>"invoice-check")
27
- checkbox(:persona_natural, :id=>"invoice-fiscal-status-0")
28
- checkbox(:persona_juridica,:id=>"invoice-fiscal-status-1")
27
+ radio_button(:persona_natural, :id=>"invoice-fiscal-status-0")
28
+ radio_button(:persona_juridica,:id=>"invoice-fiscal-status-1")
29
29
 
30
30
  div(:tipo_contribuyente,:id=>"invoiceDefinition.invoiceDataDefinition.fiscalStatus.value")
31
31
 
@@ -72,16 +72,13 @@ module NewCheckout
72
72
  cuil_element.set("33344455561") if cuil_element.present?
73
73
  if tipo_contribuyente_element.present?
74
74
  if [true,false][rand(2)]
75
- persona_natural_check
75
+ persona_natural_element.set
76
76
  else
77
- persona_juridica_check
77
+ persona_juridica_element.set
78
78
  end
79
79
  end
80
80
  nombre_facturacion_element.set("diego qa romero") if nombre_facturacion_element.present?
81
- provincia_facturacion_element.select(provincia_facturacion_options[2]) if provincia_facturacion_element.present?
82
- ciudad_facturacion_element.set("Rosario") if ciudad_facturacion_element.present?
83
- ciudad_facturacion_custom_element.set("Rosario") if ciudad_facturacion_custom_element.present?
84
- calle_facturacion_element.set("corrientes") if calle_facturacion_element.present?
81
+ cuil_element.set("11111111111")
85
82
  end
86
83
 
87
84
  def cargar_datos_facturacion_ec
@@ -46,7 +46,9 @@ module NewCheckout
46
46
  radio_button(:un_pago_peru_3,:id=>"installment-3")
47
47
  radio_button(:deposito_ar,:css=>"#cash-installment .main-radio")
48
48
  radio_button(:deposito_pe,:css=>"#multiple-card-cash-installment .main-radio")
49
+ radio_button(:deposito_mx,:css=>"#multiple-card-cash-installment .main-radio")
49
50
  radio_button(:pago_online_ar,:css=>"#homebanking-installment .main-radio")
51
+ radio_button(:pago_online_mx,:css=>"#multiple-card-homebanking-installment .main-radio")
50
52
  radio_button(:pago_online_br,:css=>"#homebanking-installment .main-radio")
51
53
  radio_button(:pago_online_pe,:css=>"#multiple-card-homebanking-installment .main-radio")
52
54
  radio_button(:opcion_cac,:css=>"#cac-installment .main-radio")
@@ -111,6 +111,7 @@ class AllPages
111
111
  when 'US' then 'us.despegar.com'
112
112
  when 'IN' then 'despegar.com'
113
113
  when 'CN' then 'despegar.com'
114
+ when 'PT' then 'despegar.com'
114
115
  else "despegar.com.#{@@site.downcase}"
115
116
  end
116
117
  begin
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
@@ -83,6 +83,13 @@ Característica: checkout.cash_payment
83
83
  |PE |oneway|nil|
84
84
  |PE |multipledestinations|nil|
85
85
 
86
+ @mx
87
+ Ejemplos:
88
+ |pais|tipo|cabotage|
89
+ |MX |roundtrip|nil|
90
+ |MX |oneway|nil|
91
+ |MX |multipledestinations|nil|
92
+
86
93
  @cash_payment
87
94
  Esquema del escenario: Se verifica que no se muestre la opcion de pago por deposito
88
95
  Dado como un usuario de '<pais>'
@@ -109,12 +116,6 @@ Característica: checkout.cash_payment
109
116
  |CO |roundtrip|true|
110
117
  |CO |oneway|nil|
111
118
  |CO |multipledestinations|nil|
112
- @mx
113
- Ejemplos:
114
- |pais|tipo|cabotage|
115
- |MX |roundtrip|true|
116
- |MX |oneway|nil|
117
- |MX |multipledestinations|nil|
118
119
  @ve
119
120
  Ejemplos:
120
121
  |pais|tipo|cabotage|
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.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-12 00:00:00.000000000 Z
11
+ date: 2015-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container