flights_gui_henry_tests 2.6.6 → 2.6.7
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: 7c1cac15dc400d55aff2cca6c5c30c834398db3c
|
4
|
+
data.tar.gz: 4e84a9560524b36d1bf162af6944527e562c5a97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce8a05f185679e961c0e20f89ae3fd46cad68f5d22801c3d76cc764e46f6caa2fa89a2b550aae0259fd573f1ee39b61fc24db05889bf95900b06eb9e97e7c703
|
7
|
+
data.tar.gz: 5d0e3246b61300b85e0cf36efff0e65a56b1e30c8797d7e2aabf590ca6fb6cd19759eedfbe0392c9abb143adc852a8cc0d29a58b8efa8dc2d26d2c44ac5d87da
|
@@ -25,6 +25,11 @@ When /^Elijo un itinerario y paso a checkout$/ do
|
|
25
25
|
end
|
26
26
|
BROWSER.div(:id,'clusters').divs(:class,'cluster')[index].radio(:id,"#{index}-outbound-0").click if BROWSER.div(:id,'clusters').divs(:class,'cluster')[index].radio(:id,"#{index}-outbound-0").present?
|
27
27
|
BROWSER.div(:id,'clusters').divs(:class,'cluster')[index].radio(:id,"#{index}-inbound-0").click if BROWSER.div(:id,'clusters').divs(:class,'cluster')[index].radio(:id,"#{index}-inbound-0").present?
|
28
|
+
|
29
|
+
BROWSER.div(:id,'searches-count-alert-popup').span(:class,'popup-close-button popup-close').click if BROWSER.div(:id,'searches-count-alert-popup').present?
|
30
|
+
|
31
|
+
sleep(1)
|
32
|
+
|
28
33
|
begin
|
29
34
|
BROWSER.div(:id,'clusters').divs(:class,'cluster')[index].link(:class,'buy btn-buy flights-button').click
|
30
35
|
rescue Timeout::Error
|
@@ -77,6 +82,7 @@ When /^Elijo un itinerario con proveedor "(.*)" y paso a checkout$/ do |prov|
|
|
77
82
|
@itinerario = ResultsCluster.new(@search.description,Hpricot.parse(BROWSER.div(:id,'clusters').divs(:class,'cluster')[i].html))
|
78
83
|
BROWSER.div(:id,'clusters').divs(:class,'cluster')[i].radio(:id,"#{i}-outbound-0").click if BROWSER.div(:id,'clusters').divs(:class,'cluster')[i].radio(:id,"#{i}-outbound-0").present?
|
79
84
|
BROWSER.div(:id,'clusters').divs(:class,'cluster')[i].radio(:id,"#{i}-inbound-0").click if BROWSER.div(:id,'clusters').divs(:class,'cluster')[i].radio(:id,"#{i}-inbound-0").present?
|
85
|
+
BROWSER.div(:id,'searches-count-alert-popup').span(:class,'popup-close-button popup-close').click if BROWSER.div(:id,'searches-count-alert-popup').present?
|
80
86
|
begin
|
81
87
|
BROWSER.div(:id,'clusters').divs(:class,'cluster')[i].link(:class,'buy btn-buy flights-button').click
|
82
88
|
rescue Timeout::Error
|
@@ -278,9 +284,10 @@ Then /^elijo otro vuelo$/ do
|
|
278
284
|
pending("Se visualizo el popup mas de #{@intentos} veces")
|
279
285
|
end
|
280
286
|
@pop_up = true
|
281
|
-
Watir::Wait.until(timeout = 200){BROWSER.div(:class,'cluster').present? or BROWSER.div(:class,'notification-box warn-box').present? or BROWSER.div(:class,'ux-common-error').present?}
|
287
|
+
Watir::Wait.until(timeout = 200){BROWSER.div(:class,'cluster').present? or BROWSER.div(:class,'notification-box warn-box').present? or BROWSER.div(:class, 'ux-common-message ux-common-message-warning ').present? or BROWSER.div(:class, 'ux-common-error').present?}
|
282
288
|
BROWSER.div(:class,'notification-box warn-box').should_not visible
|
283
289
|
pending(BROWSER.div(:class,'ux-common-error').text) if BROWSER.div(:class,'ux-common-error').present?
|
290
|
+
pending(BROWSER.div(:class,'ux-common-message ux-common-message-warning ').text) if BROWSER.div(:class,'ux-common-message ux-common-message-warning ').present?
|
284
291
|
sleep(1)
|
285
292
|
#@cluster_popup = RenderCluster.new(@search.description,Hpricot.parse(BROWSER.div(:id,'clusters').divs(:class,'cluster')[0].html))
|
286
293
|
BROWSER.radio(:id, "0-outbound-0").click if BROWSER.radio(:id, "0-outbound-0").present?
|
@@ -36,8 +36,8 @@ Característica: checkout.low_cost
|
|
36
36
|
@br
|
37
37
|
Ejemplos:
|
38
38
|
|pais|tipo|cabotage|prov|from|to|
|
39
|
-
|
40
|
-
|
39
|
+
#|BR|roundtrip|true|PSR|SAO|RIO|
|
40
|
+
#|BR|oneway|true|PSR|SAO|RIO|
|
41
41
|
|BR|roundtrip|true|OC6|REC|POA|
|
42
42
|
|BR|oneway|true|OC6|SAO|RIO|
|
43
43
|
|BR|roundtrip|true|GOL|SAO|RIO|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
gem.name = "flights_gui_henry_tests" #Debe ser unico en el Gem Server, tratemos de utilizar nombre que identifiquen de forma inequivoca
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]5
|
17
|
-
gem.version = '2.6.
|
17
|
+
gem.version = '2.6.7' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
18
18
|
|
19
19
|
gem.add_dependency('henry-container', '>= 0.1.82')
|
20
20
|
gem.add_dependency('watir-webdriver')
|