flights_gui_tests 2.3.0 → 2.3.1

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: f330012ec2e32c26d8c81659367a4f59b7f854fc
4
- data.tar.gz: 443504770bcfadecaada1d2af1ec54677917a6ec
3
+ metadata.gz: 3197cbf45174c268db4950805fc51536d2431618
4
+ data.tar.gz: 73495cf44f2cfc809a8a904fb24c553649780aa7
5
5
  SHA512:
6
- metadata.gz: 742d9b34e2b3b80fe1915e1137b906f629a460620ee5aba2d5f3900ba4d1b39cadfbe95904fb3217160d7a96c46542d07fb36c9602ba9a439d1437ccdcf71ded
7
- data.tar.gz: 65b35b37e4a6bb9c954f07e69c65de73f0175ebcdd0c5915a1c80c309d7e614c18f7d5d13d0bb6a1b805fcbcfe8883a4e62284d9024731e3b95f949e1dc36110
6
+ metadata.gz: 39d913d42cba9d7821515874fedd5d3660ce8d5d6bb8b14f4c4656b9c5be38a2e59f8425d4c720d2126877da62c8235c9f100b84dcbd2f61ede6e4cfb633fdfb
7
+ data.tar.gz: 52a11514bd8383c09b72837fb381099da9deb46dc72adc3ed76a2300b5af2bba6f28fe6e5d9b54c3857611698fb9160447ec4aeadf6733bfe002f5d10c83b097
@@ -48,7 +48,11 @@ Entonces(/^(?:verifico|valido) cada opcion de aeropuerto "(.*?)" en "(.*?)"$/) d
48
48
  aux = 0
49
49
  end
50
50
  @iata = (tramo/"ul.airports//p.description")[option+aux].inner_text[-4,3]
51
- @page.browser.li(:class=>"strech",:index=>i).radio(:class=>'radio',:index=>option+aux).click if @page.browser.li(:class=>"strech",:index=>i).radio(:class=>'radio',:index=>option+aux).exists?
51
+ begin
52
+ @page.browser.li(:class=>"strech",:index=>i).radio(:class=>'radio',:index=>option+aux).click if @page.browser.li(:class=>"strech",:index=>i).radio(:class=>'radio',:index=>option+aux).exists?
53
+ rescue Net::ReadTimeout
54
+ @browser.send_keys :escape
55
+ end
52
56
  i += 1
53
57
  end
54
58
  end
@@ -27,6 +27,9 @@ Cuando(/^elijo un itinerario y paso a checkout$/) do
27
27
  rescue Selenium::WebDriver::Error::UnknownError
28
28
  step "cierro popups"
29
29
  @itinerario_resultados = @page.elegir_itinerario(@index)
30
+ rescue Net::ReadTimeout
31
+ puts "Rompe Net::ReadTimeout"
32
+ @browser.send_keys :escape
30
33
  end
31
34
  end
32
35
 
@@ -119,6 +119,11 @@ class AllPages
119
119
  rescue
120
120
  puts "No se pudo cargar el X-UOW"
121
121
  end
122
+ begin
123
+ @browser.execute_script("javascript:void(document.cookie = 'XDESP-TEST=true; Path=/')")
124
+ rescue
125
+ puts "No se pudo cargar el XDESP-TEST"
126
+ end
122
127
  if $ENV.upcase=="BETA"
123
128
  begin
124
129
  @browser.execute_script("javascript:void(document.cookie='X-Version-Override=#{add_cookie($HENRY_PARAMS['product'])};domain=#{dominio};path=/');")
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  end
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.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-10 00:00:00.000000000 Z
11
+ date: 2015-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container