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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba8bce6987de04f3d4293706bb17e6d9ac96d844
4
- data.tar.gz: 0053d702d1c623d744b91cba86e78cf93590e158
3
+ metadata.gz: 15bf1051221d3102668e140a4c1864d058af32e4
4
+ data.tar.gz: 2f781502aa4dd817fefdb5d025362f526283d6ed
5
5
  SHA512:
6
- metadata.gz: ef85e19c4e77a3103b0a207397b2287c0883a94e98edb63a3a194acb752ad536ab932ef21da1a5851fc6d0992ecf6b1e7471e574bed0bc96ad86136e6bc9d54d
7
- data.tar.gz: bd73f068f72d198f6a2e6b99620e94d1ab90e422f3c89e45875acc2ff65ef643754d70999789755b44b424d19d846438f5cfa569701ddd14ce488f87b897be6a
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
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.4.04"
2
+ VERSION = "2.4.05"
3
3
  end
@@ -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 site es "MX|AR", verifico el ordenamiento premium economy
15
- Cuando si el site no es "CO", ordeno por "TOTALFARE_ASCENDING"
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.04
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-18 00:00:00.000000000 Z
11
+ date: 2015-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container