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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 395d177d2216a4bcd8fc6e1afcf595c87ba6912f
|
4
|
+
data.tar.gz: c2f8c274e6e7cc61f4401d65250fa7a296a714f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
41
|
-
|
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
|
-
|
84
|
-
@browser.span(:class,'nevo-header-user-menu-icon-flag nevo--flag-US nevo--lang-es').
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
@browser.span(:class,'nibbler-header-user-menu-icon-flag nibbler--flag-US nibbler--lang-es').
|
89
|
-
|
90
|
-
|
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
|
data/features/support/version.rb
CHANGED