flights_gui_tests 2.2.7 → 2.2.8
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: 4d1ca74ef4d974892c06234bd1ca9edad91cee62
|
4
|
+
data.tar.gz: 96a5f7914bc90e945a94f5d9dbef54086e66bfeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 593e42452fbd206076aafd6628dd524a5c27e36fdbe474f43e0b00695841c7cf3e8563bcbd5953c50c32915450b28939b3f72002690678ab1f198299a62956fe
|
7
|
+
data.tar.gz: 6a842f2508b3b68c193ff4ddf06cf841eba22ab2af896f29f2c5530d7982f683cfd00a2452e3efe469b23d14811300ae736bbcd158a9d9da2845cf50562d2b0c
|
@@ -94,12 +94,16 @@ module Checkout
|
|
94
94
|
"checkout"
|
95
95
|
end
|
96
96
|
|
97
|
+
def get_tracking_info
|
98
|
+
tracking_info = buscar_script_con_texto("trackingInfo")
|
99
|
+
JSON.parse(tracking_info.first.inner_text.strip.match(/trackingInfo \= (.+)\;/)[1])
|
100
|
+
end
|
101
|
+
|
97
102
|
def provider
|
98
103
|
if @provider
|
99
104
|
return @provider
|
100
105
|
else
|
101
|
-
|
102
|
-
@provider = traking_info.first.inner_text.match("(.+)provider\":\"(.+)\",\"p")[2]
|
106
|
+
@provider = get_tracking_info["provider"]
|
103
107
|
end
|
104
108
|
end
|
105
109
|
|
@@ -108,4 +112,4 @@ module Checkout
|
|
108
112
|
end
|
109
113
|
|
110
114
|
end
|
111
|
-
end
|
115
|
+
end
|
@@ -8,8 +8,8 @@ module Landing
|
|
8
8
|
include Pages::Cookies
|
9
9
|
|
10
10
|
elements(:buscar,:link,:css=>".flights-cluster .btn-buy")
|
11
|
-
elements(:opciones_ida,:radio,:name
|
12
|
-
elements(:opciones_vuelta,:radio,:name
|
11
|
+
elements(:opciones_ida,:radio,:name=>/outbound/)
|
12
|
+
elements(:opciones_vuelta,:radio,:name=>/inbound/)
|
13
13
|
elements(:itinerarios, :div, :css=>"#clusters .cluster")
|
14
14
|
elements(:filtros_salidas,:checkbox,:css=>".ux-flights-filter-departures input")
|
15
15
|
elements(:paginas,:li,:css=>".flights-pagination .page")
|
data/features/support/version.rb
CHANGED
@@ -15,7 +15,6 @@ Característica: landing.tags
|
|
15
15
|
Entonces verifico que la pagina no rompa
|
16
16
|
Entonces verifico que traiga resultados de landing
|
17
17
|
Y verifico que la url sea la correcta
|
18
|
-
Y verifico el pixel de e-planning
|
19
18
|
Y verifico el primer tag de google en resultado
|
20
19
|
Y verifico el segundo tag de google en resultado de landing
|
21
20
|
Y verifico el tag de groovinads
|
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.2.
|
4
|
+
version: 2.2.8
|
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-
|
11
|
+
date: 2015-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|