flights_gui_tests 2.4.08 → 2.4.09

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6500a4b8306e155fcf63d2afe99a936c84ec522
4
- data.tar.gz: fdd1c0fd78956e3ecd13476e29af397000f1433c
3
+ metadata.gz: a6ac54ce525d9e8e1ea7b456bdb7e2a9959a6c69
4
+ data.tar.gz: c2df0fb299e10c8e190710a1ba2e0a1792b297c7
5
5
  SHA512:
6
- metadata.gz: 8d89d45e92002ab8c50bad6b86e4485ec4cdad59158fc6c034984acfa924510968eb19946cc21f0065c80f7f1018b0b76e08bc29b53f83003a3720b45ccf723a
7
- data.tar.gz: 15563c34020d97b35208bd0876dbee30fa324ca1ba794df9e4c8a340738431b3efdb63308e18409ea52b80e029ad538f34828fc44f04324b68e981a964de7ad6
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
- if itinerarios_elements[i].div(:class,'cluster-image-container').present?
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
- if itinerarios_elements[i].div(:class,'cluster-image-container').present?
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
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.4.08"
2
+ VERSION = "2.4.09"
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.08
4
+ version: 2.4.09
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez