flights_gui_henry_tests 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjYyNmFjZTdkOWJlNzA1ZWUxZTAyNGM1OGFmYmMwM2JlMzc3MGEyNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGE5ZDBkNDQ5OGM1ZjhlMDlmNjFmOGZiMDk0N2NlYzYyZWNiOWVhMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWI4ZjYxNWI1OThiODA4MzRhZjM5MzNlMzhkZjlhNTA1ZTczMWY1Y2FlZGM5
|
10
|
+
ZjRlZmFiODlkZjk0YWVlOGQzNWJiMTA5YzEwNjc5OTdmOWEwNWQ4MzhlYjUw
|
11
|
+
NjEyZmFlNTk5ZDBlNjBkZDAyMDM2ZGU2OTRkZjg5ZGI0ZGU0MWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWI4NGVkN2FjNWVjOTM4MDFiMDE1M2U5MjhhMzUyNzgwZDUwY2Q0YjNlNmJm
|
14
|
+
OGEwMzg5MGFhMzc5ZDFmZGJlYTI5NzQzZTJhOTBiNTNlNmFlOTVmMDNiZjlk
|
15
|
+
ZTc1NzNlNWE2YmY0ODUzOWQ1MWY2NTY1NWY0NmU3YzIyNzE4NTY=
|
@@ -53,7 +53,7 @@ And /^Verifico el segundo tag de google en (resultado|home) de (landing|fgui|che
|
|
53
53
|
elsif product=="fgui"
|
54
54
|
if @search.description == "oneway"
|
55
55
|
match = BROWSER.url.match(/\/(...)\/(...)\/(....\-..\-..)\//)
|
56
|
-
tmp['google_custom_params'].should match("{ CustomA: '#{$SITE}',CustomB: 'D',CustomCD: '2-1',CustomE: '#{match[1].upcase}',CustomF: '#{match[2].upcase}',CustomH: '.',CustomI: '.',CustomJ: '#{match[3].upcase}'}")
|
56
|
+
tmp['google_custom_params'].should match("{ CustomA: '#{$SITE}',CustomB: 'D',CustomC: '2',CustomD: '1',CustomCD: '2-1',CustomE: '#{match[1].upcase}',CustomF: '#{match[2].upcase}',CustomH: '.',CustomI: '.',CustomJ: '#{match[3].upcase}'}")
|
57
57
|
elsif @search.description == "roundtrip"
|
58
58
|
match = BROWSER.url.match(/\/(...)\/(...)\/(....\-..\-..)\/(....\-..\-..)/)
|
59
59
|
tmp['google_custom_params'].should match("{ CustomA: '#{$SITE}',CustomB: 'D',CustomCD: '2-1',CustomE: '#{match[1].upcase}',CustomF: '#{match[2].upcase}',CustomH: '.',CustomI: '.',CustomJ: '#{match[3].upcase}',CustomK: '#{match[4].upcase}'}")
|
@@ -69,9 +69,9 @@ Then /^Verifico que ingrese al checkout$/ do
|
|
69
69
|
# end
|
70
70
|
step "Verifico que la pagina no rompa"
|
71
71
|
begin
|
72
|
-
|
72
|
+
Watir::Wait.until(timeout = 300){BROWSER.fieldset(:id,'passengers').div(:class,'passenger background').present? or BROWSER.div(:class,'notification-box warn-box').present?}
|
73
73
|
rescue Selenium::WebDriver::Error::UnknownError
|
74
|
-
|
74
|
+
|
75
75
|
end
|
76
76
|
BROWSER.fieldset(:id,'passengers').div(:class,'passenger background').should visible("Formulario del check out")
|
77
77
|
@intentos = 0
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
17
17
|
|
18
|
-
gem.version = '2.2.
|
18
|
+
gem.version = '2.2.2' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
19
19
|
|
20
20
|
gem.add_dependency('henry-container', '>= 0.1.39')
|
21
21
|
gem.add_dependency('watir-webdriver')
|