flights_gui_tests 1.7.1 → 1.7.2

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: 1d63a88350096666380eaa1574818688fc63babe
4
- data.tar.gz: 8750cc0298218f5917c65a9ffbf04e9136af8359
3
+ metadata.gz: 40b473cd2e8d1195cfa34a69bfb4bcddd5c33336
4
+ data.tar.gz: 9ca274a7a489c1e701826125fc9e8b634a10ea54
5
5
  SHA512:
6
- metadata.gz: 735898e209462dad735d752539b619b92af0ca0e142d0a328e4fda2a1185ca10524550199f005374b424395b5b130d74cc8f57b56bdcc6d8fecb376265d2cd1d
7
- data.tar.gz: c398fcb46573bb91c73290c01863532b303d02167aca98beab75e95d0340dca6b1b16048ada9e5227b72ea43e7ee87eed70a662f409259a0e98cca770d9b401a
6
+ metadata.gz: f659e2967a46ea21eb806d8c86e5abe6bd37ed86af5d322d6246119c233c0b33c5c28b76e3397d566c1fd7b6188c909640e1484d2ef35e6a0b33d624f9c4a8df
7
+ data.tar.gz: e549cae5ff11379391e05380e9842bf605f66d50fd3ae3e544372dc8a9eac9d55e623eca288744458ce96d6eb5e111ca1c5aa7e9a376d8994342bd435450f89b
@@ -10,6 +10,7 @@ require 'httparty'
10
10
  require 'henry/environment'
11
11
  require 'sanitize'
12
12
  require 'uri'
13
+ #require 'byebug'
13
14
  require 'henry/config'
14
15
  require 'mock_search'
15
16
  require 'auto_uy_utils'
@@ -35,6 +35,7 @@ module NewCheckout
35
35
  div(:debito,:class=>"installment-info")
36
36
  div(:warning_deposito,:css=>"#cash-installment .ux-common-message-warning")
37
37
  div(:con_intereses,:class=>"installments-with-interest")
38
+ div(:tipo_titular_tarjeta_radios,:id=>"paymentDefinition.cardDefinition.ownerType.value")
38
39
 
39
40
  radio_buttons(:radios_opciones_pago,:css=>"#payment .radio")
40
41
  radio_button(:un_pago,:id=>"installment-0")
@@ -94,7 +95,7 @@ module NewCheckout
94
95
  codigo_seguridad_tarjeta_element.set "123"
95
96
  end
96
97
  banco_emisor_element.set "galicia" if banco_emisor_element.present?
97
- self.elegir_tipo_titular_tarjeta if tipo_titular_tarjeta_element.present?
98
+ self.elegir_tipo_titular_tarjeta if tipo_titular_tarjeta_radios_element.present?
98
99
  nombre_titular_tarjeta_element.set "Martin qa diez"
99
100
  if documento_titular_tarjeta_element.present?
100
101
  number = case AllPages.site
@@ -272,7 +273,7 @@ module NewCheckout
272
273
 
273
274
  def elegir_tipo_titular_tarjeta
274
275
  tipo = ["PERSON","COMPANY"][rand(2)]
275
- @browser.radio_button(:value,tipo).set(true)
276
+ @browser.radio(:value,tipo).set
276
277
  if tipo=="COMPANY"
277
278
  puts tipo
278
279
  sleep(0.5)
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.7.1"
2
+ VERSION = "1.7.2"
3
3
  end
@@ -30,6 +30,7 @@ Gem::Specification.new do |gem|
30
30
  gem.add_dependency('mock_search', '>= 1.0.0')
31
31
  gem.add_dependency('mysql2')
32
32
  gem.add_dependency('dater')
33
+ #gem.add_dependency('byebug')
33
34
  gem.add_dependency('auto_uy_utils')
34
35
  gem.add_dependency('roma_automation')
35
36
 
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: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container