flights_gui_henry_tests 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/features/step_definitions/checkout/chat_steps.rb +1 -1
- data/features/step_definitions/filter/filters_time_steps.rb +1 -1
- data/features/step_definitions/search/flight_gui_steps.rb +3 -2
- data/features/tests/landing/landing_long_tail.feature +1 -0
- data/features/tests/search/searches.feature +15 -0
- data/flights_gui_henry_tests.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjA1NzlkM2UzOTNjZDkwNDEwNTcxYzdjZmFhNGE4NDQ5ZTc4M2E3Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Yzc5ZGU0NjY0MWI3ZGIxMDk1YTQ3MGQ0ZDhjMWQyYjkyMGQ2Njk5Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTUzZjQ0Y2U1MTkyYjFlMTZlZjIyNjU0NThiYTYwYmNhMjk2MWJlYmZiMDM3
|
10
|
+
MjY3NTIzN2UxMmJiODhkNzliNzQ5N2E4ZjMyNzU3NzA0ZmQ1NTRhMGQxMzgx
|
11
|
+
ZDIwNDMxZTIyYTc4YmE5N2VmZTg0MDExYTE1ZTkxYzRmZmRhNzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTlhYmJkYmU4MTViYjVhNDUxMDdhOWYzNDkxMWY4ZWQ4NTgwNTBlMDFhODQ4
|
14
|
+
MjA0NGRhM2Q1MmMzZGExYzJmODc5NzZiODExOTUwNGFmODJkNGFjZWU0NWU5
|
15
|
+
MGMzNzYzZDEyZDBjNzk3YWY0ZTFmZDI2ZmM0OGU4MzE1YzI3NWQ=
|
@@ -32,7 +32,7 @@ Then /^me logueo al chat$/ do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
Then /^verifico que se muestre todo correctamente$/ do
|
35
|
-
Watir::Wait.until(timeout =
|
35
|
+
Watir::Wait.until(timeout = 45){BROWSER.div(:id,'chatContainer').div(:id,'dtalk-content').div(:id,'loading').present?}
|
36
36
|
Watir::Wait.until(timeout = 600){BROWSER.div(:id,'chatContainer').div(:id,'dtalk-content').link(:id,'retry_connection').present? or !BROWSER.div(:id,'chatContainer').div(:id,'dtalk-content').div(:id,'loading').present?}
|
37
37
|
end
|
38
38
|
|
@@ -62,7 +62,7 @@ And /^Verifico que la primer pagina muestre correctamente los filtros de horario
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
(doc/"div#clusters div.cluster div.#{_class} ul.itineraries-group li.itinerary").each do |itineraries|
|
65
|
-
hour = Time.parse((itineraries/"li.leave
|
65
|
+
hour = Time.parse((itineraries/"li.leave span.hour").inner_text.strip)
|
66
66
|
(hour <= maxx and hour >= min).should be_true
|
67
67
|
end
|
68
68
|
end
|
@@ -43,6 +43,7 @@ When /^Elijo un itinerario con proveedor "(.*)" y paso a checkout$/ do |prov|
|
|
43
43
|
encontro = nil
|
44
44
|
begin
|
45
45
|
unless page == 1
|
46
|
+
puts @search.generate_url_results_search_paginate_service(page,json['result']['data']['metadata']['ticket']['hash'])
|
46
47
|
json = @search.paginate(page)
|
47
48
|
BROWSER.div(:class,'pagination').li(:class,'pagination-button next').click
|
48
49
|
step "Espero que termine de cargar"
|
@@ -111,7 +112,7 @@ Then /^Completo el formulario de pasajeros$/ do
|
|
111
112
|
container.text_field(:id,"document-number-#{index}").set("3012343#{index}") if container.text_field(:id,"document-number-#{index}").present?
|
112
113
|
container.select_list(:id,"passenger-birthday-day-#{index}").select(index+2) if container.select_list(:id,"passenger-birthday-day-#{index}").present?
|
113
114
|
container.select_list(:id,"passenger-birthday-month-#{index}").select(5) if container.select_list(:id,"passenger-birthday-month-#{index}").present?
|
114
|
-
container.select_list(:id,"passenger-birthday-year-#{index}").select_value(
|
115
|
+
container.select_list(:id,"passenger-birthday-year-#{index}").select_value(2009) if container.select_list(:id,"passenger-birthday-year-#{index}").present?
|
115
116
|
container.select_list(:id,"passenger-gender-#{index}").select_value("MALE") if container.select_list(:id,"passenger-gender-#{index}").present?
|
116
117
|
index += 1
|
117
118
|
end
|
@@ -123,7 +124,7 @@ Then /^Completo el formulario de pasajeros$/ do
|
|
123
124
|
container.text_field(:id,"document-number-#{index}").set("4569734#{index}") if container.text_field(:id,"document-number-#{index}").present?
|
124
125
|
container.select_list(:id,"passenger-birthday-day-#{index}").select(index+3) if container.select_list(:id,"passenger-birthday-day-#{index}").present?
|
125
126
|
container.select_list(:id,"passenger-birthday-month-#{index}").select(7) if container.select_list(:id,"passenger-birthday-month-#{index}").present?
|
126
|
-
container.select_list(:id,"passenger-birthday-year-#{index}").select_value(
|
127
|
+
container.select_list(:id,"passenger-birthday-year-#{index}").select_value(2013) if container.select_list(:id,"passenger-birthday-year-#{index}").present?
|
127
128
|
container.select_list(:id,"passenger-gender-#{index}").select_value("FEMALE") if container.select_list(:id,"passenger-gender-#{index}").present?
|
128
129
|
index += 1
|
129
130
|
end
|
@@ -18,6 +18,7 @@ Característica: landing.long_tail
|
|
18
18
|
Y Verifico las nuevas urls de vuelos a destino por aerolinea
|
19
19
|
Cuando Espero que termine de cargar
|
20
20
|
Entonces Verifico que la pagina no rompa
|
21
|
+
Entonces Verifico que traiga resultados de landings
|
21
22
|
Y Verifico que la primer pagina muestre correctamente los filtros de aerolineas
|
22
23
|
Cuando Limpio el filtro de aerolineas
|
23
24
|
Cuando Espero que termine de cargar
|
@@ -47,6 +47,21 @@ Característica: search.searches
|
|
47
47
|
Ejemplos:
|
48
48
|
|pais|tipo|cabotage|
|
49
49
|
|AR |multipledestinations|nil|
|
50
|
+
@br
|
51
|
+
@roundtrip
|
52
|
+
Ejemplos:
|
53
|
+
|pais|tipo|cabotage|
|
54
|
+
|BR |roundtrip|nil|
|
55
|
+
@br
|
56
|
+
@oneway
|
57
|
+
Ejemplos:
|
58
|
+
|pais|tipo|cabotage|
|
59
|
+
|BR |oneway|true|
|
60
|
+
@br
|
61
|
+
@multipledestinations
|
62
|
+
Ejemplos:
|
63
|
+
|pais|tipo|cabotage|
|
64
|
+
|BR |multipledestinations|nil|
|
50
65
|
@co
|
51
66
|
@roundtrip
|
52
67
|
Ejemplos:
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
17
17
|
|
18
|
-
gem.version = '2.0.
|
18
|
+
gem.version = '2.0.9' #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')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flights_gui_henry_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lgonzalez,lsimean
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|