flights_gui_tests 2.4.04 → 2.4.05
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 +4 -4
- data/features/step_definitions/results/basefare_steps.rb +6 -1
- data/features/step_definitions/results/order_steps.rb +10 -0
- data/features/support/version.rb +1 -1
- data/features/tests/results/itineraries.feature +2 -2
- data/features/tests/results/orders.feature +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15bf1051221d3102668e140a4c1864d058af32e4
|
4
|
+
data.tar.gz: 2f781502aa4dd817fefdb5d025362f526283d6ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9235e80cf8140d0273706610cc4200a3681f68f51656dd661064df0788927ada2dee9b0df54bb508ac3e869a4166f94e542cd13669ca888ce7ae82599a91f039
|
7
|
+
data.tar.gz: 3215f727c7f3490b3866d4225435fd06d9c9c3227d8dbc96b820f7ab6d63afb0d64b01f3fc9ddff2d7138afa51c69333d017d72db3d9cf7813269058666d2aca
|
@@ -19,9 +19,14 @@ Entonces(/^(?:verifico|valido) las ociones de ordenamiento$/) do
|
|
19
19
|
if AllPages.site == 'BR'
|
20
20
|
@page.orden_element.value.should match('FARE_ASCENDING')
|
21
21
|
end
|
22
|
+
value=@page.recuperar_valor_abtesting("defaultSortingStrategy")
|
23
|
+
if value<20
|
24
|
+
options.should include?('TOTAL_FARE_YIELD_ASCENDING')
|
25
|
+
else
|
26
|
+
options.should include?('TOTALFARE_ASCENDING')
|
27
|
+
end
|
22
28
|
options.should include?('FARE_ASCENDING')
|
23
29
|
options.should include?('STOPSCOUNT_ASCENDING')
|
24
|
-
options.should include?('TOTALFARE_ASCENDING')
|
25
30
|
options.should include?('DURATION_ASCENDING')
|
26
31
|
options.should include?('PERSONAL_ASCENDING')
|
27
32
|
options.should_not include?('FLIGHTCLASS_ASCENDING')
|
@@ -8,6 +8,16 @@ Entonces(/^(?:verifico|valido) el ordenamiento premium economy$/) do
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
+
Entonces(/el ordenamiento es YIELD/) do
|
12
|
+
value=@page.recuperar_valor_abtesting("defaultSortingStrategy")
|
13
|
+
(value.to_i < 20).should be_true
|
14
|
+
end
|
15
|
+
|
16
|
+
Entonces(/el ordenamiento no es YIELD/) do
|
17
|
+
value=@page.recuperar_valor_abtesting("defaultSortingStrategy")
|
18
|
+
(value.to_i > 19).should be_true
|
19
|
+
end
|
20
|
+
|
11
21
|
Cuando(/^ordeno por "(.*)"$/) do |valor_orden|
|
12
22
|
@page.orden_element.select_value(valor_orden) if @page.orden_element.present?
|
13
23
|
end
|
data/features/support/version.rb
CHANGED
@@ -11,8 +11,8 @@ Característica: results.itineraries
|
|
11
11
|
Entonces verifico que la pagina no rompa
|
12
12
|
Cuando espero que termine de cargar la pagina de resultados
|
13
13
|
Entonces verifico que traiga resultados
|
14
|
-
Cuando si el
|
15
|
-
Cuando si el
|
14
|
+
Cuando si el ordenamiento es YIELD, ordeno por "TOTAL_FARE_YIELD_ASCENDING"
|
15
|
+
Cuando si el ordenamiento no es YIELD, ordeno por "TOTALFARE_ASCENDING"
|
16
16
|
Cuando espero que termine de cargar la pagina de resultados
|
17
17
|
Y cierro popups
|
18
18
|
Entonces recorro y verifico cada itinerario
|
@@ -11,6 +11,7 @@ Característica: results.orders
|
|
11
11
|
Entonces verifico que la pagina no rompa
|
12
12
|
Cuando espero que termine de cargar la pagina de resultados
|
13
13
|
Cuando si pruebo streaming, ingreso a resultados streaming
|
14
|
+
Entonces ingreso a resultados con cookie "defaultSortingStrategy" al "50"
|
14
15
|
Entonces verifico que traiga resultados
|
15
16
|
Cuando ordeno por "<order>"
|
16
17
|
Cuando espero que termine de cargar la pagina de resultados
|
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.4.
|
4
|
+
version: 2.4.05
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lgonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|