flights_gui_henry_tests 3.0.2 → 3.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: 04bfe8b2fbbc2577c09672e51f251319443576a4
4
- data.tar.gz: dacf2b95c739a389fbf028377f8030393af9335d
3
+ metadata.gz: e993acb8127e1fe505caf3d6563dc23da95546b8
4
+ data.tar.gz: 783450b9e57d5b5b30698e2a69e4f98d2d6f02c3
5
5
  SHA512:
6
- metadata.gz: 670eaecfe34b210cecd959533e16cceaf9e654ceaec1c823f974ea384015a6859c6c9e6f30c3e1faae52ff46a590dde208942d7a52198ae3d78eb2bec1d9e4ca
7
- data.tar.gz: fb5782972aa61042e1037634d92dae65e5d9341a1f5646c72ba1a207322840703ac27124b03967230a829088b4af4e934d44769104fc1dd3fe19fb6f673ccb41
6
+ metadata.gz: 9abb0151dee2507e205026b8fe7fff25b15956fa56da177e86c5c111afa40209339210fa020d6b0f54a6b83746be2c754cfc4281bf43418a2f1ff200536c2942
7
+ data.tar.gz: 9e0b8104c30e8b2e4340e6d38404d4e39e7299c30bae979fc7892acc464e1de8aca4da6060915d3539570b3bcc2bf39f20f7e20063591d2d338d50b8b0fd50ff
@@ -57,13 +57,13 @@ US:
57
57
  - You can earn Skywards unit
58
58
  AV:
59
59
  - with LifeMiles reward program
60
- - You can earn unit LifeMiles
60
+ - You can earn LifeMiles unit
61
61
  TA:
62
62
  - with LifeMiles reward program
63
- - You can earn unit LifeMiles
63
+ - You can earn LifeMiles unit
64
64
  LR:
65
65
  - with LifeMiles reward program
66
- - You can earn unit LifeMiles
66
+ - You can earn LifeMiles unit
67
67
  AD:
68
68
  - with TudoAzul reward program
69
69
  - You can earn TudoAzul unit
@@ -37,7 +37,7 @@ ES:
37
37
  PR:
38
38
  - {code: "SJU", airports: ["SJU"], name: "San Juan"}
39
39
  US:
40
- - {code: "MIA", airports: ["MIA"], name: "Miami"}
40
+ - {code: "MIA", airports: ["MIA","FLL"], name: "Miami"}
41
41
  - {code: "LAX", airports: ["LAX"], name: "Los Angeles"}
42
42
  - {code: "LAS", airports: ["LAS"], name: "Las Vegas"}
43
43
  - {code: "NYC", airports: ["EWR", "JFK", "LGA", "NYC"], name: "Nueva York|Nova York"}
@@ -58,7 +58,7 @@ Entonces(/^elijo la opcion confirmar pago$/) do
58
58
  end
59
59
 
60
60
  Entonces(/^Verifico los pasos para hacer el deposito$/) do
61
- BROWSER.div(:class,'ux-common-message ux-common-message-warning ').text.no_accents.should equal("Recuerde que el deposito debera ser realizado en el dia de hoy, de lo contrario su reserva sera cancelada.")
61
+ BROWSER.div(:class,'ux-common-message ux-common-message-warning ').text.no_accents.should equal("El deposito debera ser realizado en el dia de hoy, antes del cierre del banco, de lo contrario su reserva sera cancelada.\nTenga en cuenta que las tarifas pueden modificarse hasta el momento en que se concreta el pago.")
62
62
  BROWSER.span(:class,'checkout-id').should visible("numero de reserva")
63
63
  BROWSER.div(:class,'thanks-reservation-info').should visible("datos de deposito")
64
64
  BROWSER.div(:class,'thanks-reservation-info').spans(:class,"thanks-reservation-info-data")[0].text.should equal("Despegar.com.ar")
@@ -191,9 +191,12 @@ And /^Verifico que la matriz cumpla con el rango de fechas de la busqueda$/ do
191
191
  #visible_months.should include?(@search.date_from_1.mes.capitalize) #verifico que se muestre el mes elegido
192
192
  today = Date.today
193
193
  months = []
194
+ count = 0
194
195
  while(today.month != (@search.date_from_1.month+1)) do
195
196
  months << today.mes.capitalize
196
- today = today +1
197
+ today = today + 1
198
+ count = count + 1
199
+ break if count > 13
197
200
  end
198
201
  months.uniq!
199
202
  visible_months.delete(visible_months.last) if (visible_months.length!=months.length)
@@ -10,7 +10,7 @@ require 'sanitize'
10
10
  require 'uri'
11
11
  require 'mock_search'
12
12
  require 'henry/config'
13
- #require 'byebug'
13
+ require 'byebug'
14
14
 
15
15
  $VERBOSE = nil
16
16
 
@@ -13,8 +13,9 @@ def set_cookies(browser)
13
13
  end
14
14
 
15
15
  begin
16
- puts "UOW=ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}"
17
- browser.execute_script("javascript:void(document.cookie = 'X-UOW-CUSTOM=ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}; Path=/')")
16
+ uow = "ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}"
17
+ puts uow
18
+ browser.execute_script("javascript:void(document.cookie = 'X-UOW-CUSTOM=#{uow}; Path=/')")
18
19
  #add_cookie("X-UOW-CUSTOM","ROBOTFGUI-#{Socket.gethostname}-#{rand(1000)}",{:path=>"/"})
19
20
  if $ENV.upcase=="BETA" #or PROVIDER
20
21
  #add_cookie("X-Version-Override",COOKIE,{:path=>"/"})
@@ -30,7 +30,6 @@ Característica: search.searches
30
30
  Entonces Verifico que la pagina no rompa
31
31
  Y Verifico si se muestran los beneficios en checkout
32
32
  Y Verifico el banner de ultimos lugares en checkout
33
- Y Verifico que se muestren la caja de clientes felices
34
33
 
35
34
 
36
35
  @ar
@@ -14,7 +14,7 @@
14
14
  gem.name = "flights_gui_henry_tests" #Debe ser unico en el Gem Server, tratemos de utilizar nombre que identifiquen de forma inequivoca
15
15
 
16
16
  gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]5
17
- gem.version = '3.0.2' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
17
+ gem.version = '3.0.3' #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.82')
20
20
  gem.add_dependency('watir-webdriver')
@@ -24,8 +24,8 @@
24
24
  gem.add_dependency('httparty')
25
25
  gem.add_dependency('sixarm_ruby_unaccent')
26
26
  gem.add_dependency('sanitize')
27
- gem.add_dependency('mock_search')
28
- #gem.add_dependency('byebug')
27
+ gem.add_dependency('mock_search', '>= 0.28.1')
28
+ gem.add_dependency('byebug')
29
29
 
30
30
  gem.add_development_dependency('geminabox')
31
31
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_henry_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.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: 2014-07-14 00:00:00.000000000 Z
11
+ date: 2014-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container
@@ -124,6 +124,20 @@ dependencies:
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: mock_search
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 0.28.1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 0.28.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: byebug
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
143
  - - ">="