flights_gui_tests 2.4.17 → 2.4.18

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: afef8a66722391ce55c8405be85951e6411502cc
4
- data.tar.gz: fa243a856c670b7184a8ffd23953948019668dec
3
+ metadata.gz: 395d177d2216a4bcd8fc6e1afcf595c87ba6912f
4
+ data.tar.gz: c2f8c274e6e7cc61f4401d65250fa7a296a714f6
5
5
  SHA512:
6
- metadata.gz: bf083f7b110e6c40ee6aebddc9c94dca2fe77e31a4a1b7681993b1cda63ff052d98ba8cb38927d70c550b1d549e879aefb58025c6b551b14579b92cd03a1953a
7
- data.tar.gz: 870c1885995d4c3ad0965f07cf29c312a6b3435a077cf78a6dee031457069c82b5540fd172d76a88588bee68d525a2027099518c9348810c1bee7a780247046d
6
+ metadata.gz: 22d6718f8c8efcb757f7559fca82f67df6d6911ae52f3067895943798ccde166989e7792e90d8109e21c5d38595e629526170cb91443a6cc53d5586db295066d
7
+ data.tar.gz: 9bdfecb477bda9c7c84afd1b397b557d4c980c1c7185d6f9c9fa6e7050125c5e41fdad314d757bc179c4ea67d1732339ae1293336a9ef2608f65868fec07bb35
@@ -37,8 +37,16 @@ end
37
37
 
38
38
  Cuando(/^espero que termine de cargar la pagina de checkout$/) do
39
39
  @page = Checkout::NewCheckoutPage.new($browser)
40
- @page.popup_transicion_inicial_element.when_not_visible(timeout=240)
41
- @page.pasajeros_element.when_visible(timeout=180)
40
+ begin
41
+ @page.popup_transicion_inicial_element.when_not_visible(timeout=240)
42
+ rescue Net::ReadTimeout
43
+ puts "Romṕio Net::ReadTimeout"
44
+ end
45
+ begin
46
+ @page.pasajeros_element.when_visible(timeout=180)
47
+ rescue Net::ReadTimeout
48
+ puts "Romṕio Net::ReadTimeout"
49
+ end
42
50
  @page.cargar_valores_abtesting
43
51
  puts "URL: #{@page.browser.url}"
44
52
  sleep(2)
@@ -80,14 +80,18 @@ class AllPages
80
80
 
81
81
  def elegir_idioma()
82
82
  if @@site=="US"
83
- if @browser.span(:class,'nevo-header-user-menu-icon-flag nevo--flag-US nevo--lang-es').present?
84
- @browser.span(:class,'nevo-header-user-menu-icon-flag nevo--flag-US nevo--lang-es').click
85
- @browser.li(:class,'nevo-header-popup-selector-item').links[0].click
86
- end
87
- if @browser.span(:class,'nibbler-header-user-menu-icon-flag nibbler--flag-US nibbler--lang-es').present?
88
- @browser.span(:class,'nibbler-header-user-menu-icon-flag nibbler--flag-US nibbler--lang-es').click
89
- @browser.li(:class,'nibbler-header-popup-selector-item').links[0].click
90
- end
83
+ begin
84
+ if @browser.span(:class,'nevo-header-user-menu-icon-flag nevo--flag-US nevo--lang-es').present?
85
+ @browser.span(:class,'nevo-header-user-menu-icon-flag nevo--flag-US nevo--lang-es').click
86
+ @browser.li(:class,'nevo-header-popup-selector-item').links[0].click
87
+ end
88
+ if @browser.span(:class,'nibbler-header-user-menu-icon-flag nibbler--flag-US nibbler--lang-es').present?
89
+ @browser.span(:class,'nibbler-header-user-menu-icon-flag nibbler--flag-US nibbler--lang-es').click
90
+ @browser.li(:class,'nibbler-header-popup-selector-item').links[0].click
91
+ end
92
+ rescue Net::ReadTimeout
93
+ puts "Romṕio Net::ReadTimeout"
94
+ end
91
95
  sleep(1)
92
96
  @browser.alert.ok if @browser.alert.exists?
93
97
  end
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.4.17"
2
+ VERSION = "2.4.18"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.17
4
+ version: 2.4.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez