flights_gui_tests 2.4.08 → 2.4.09
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: a6ac54ce525d9e8e1ea7b456bdb7e2a9959a6c69
|
4
|
+
data.tar.gz: c2df0fb299e10c8e190710a1ba2e0a1792b297c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 321ec27743d4cef11c115130d895bd8e9097eafdc94108094c518253fa537e5710cfc0acbee9367d8c65e44f2b6064c28a7d1eed6615cbb1eb8be32b4e1ab539
|
7
|
+
data.tar.gz: c31985b92f7164a7e401c019b81d3436307386ae65e3ab777823a7ebf5c2154dd4dde5761ffa272eddf38d7be7ca508f529b84885aee8a45f9f03bae8d03c718
|
@@ -14,7 +14,7 @@ module Results
|
|
14
14
|
outbound = itinerarios_elements[i].div(:class,'itineraries').div(:class,'sub-cluster outbound').div(:class,'item data')
|
15
15
|
(manage_data.city_from_1.airports.include?(outbound.spans(:class,'airport')[0].text)).should be_true
|
16
16
|
(manage_data.city_to_1.airports.include?(outbound.spans(:class,'airport')[1].text)).should be_true
|
17
|
-
|
17
|
+
unless itinerarios_elements[i].div(:class,'cluster-image-container').present?
|
18
18
|
outbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should equal(manage_data.city_from_1.name_lang[AllPages.lang].downcase) unless outbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
|
19
19
|
outbound.span(:class,'city-arrival').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name_lang[AllPages.lang].downcase) unless outbound.span(:class,'city-arrival').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
|
20
20
|
end
|
@@ -22,7 +22,7 @@ module Results
|
|
22
22
|
inbound = itinerarios_elements[i].div(:class,'itineraries').div(:class,'sub-cluster inbound').div(:class,'item data')
|
23
23
|
(manage_data.city_to_1.airports.include?(inbound.spans(:class,'airport')[0].text)).should be_true
|
24
24
|
(manage_data.city_from_1.airports.include?(inbound.spans(:class,'airport')[1].text)).should be_true
|
25
|
-
|
25
|
+
unless itinerarios_elements[i].div(:class,'cluster-image-container').present?
|
26
26
|
inbound.span(:class,'city-departure').text.no_accents.downcase.gsub(",","").strip.should match(manage_data.city_to_1.name_lang[AllPages.lang].downcase) unless inbound.span(:class,'city-departure').text.downcase.no_accents.gsub(",","").strip.match("toluca|campinas|fort lauderdale")
|
27
27
|
end
|
28
28
|
end
|
data/features/support/version.rb
CHANGED