flights_gui_tests 2.3.4 → 2.3.5

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: 900982d93e2d6d3102ad70f43a8118fd86eee4fe
4
- data.tar.gz: 1d9cf36a95045afe1cf7d69ebc4b07d2fa084850
3
+ metadata.gz: 2c7398ad3bc4cdfafd796ba02247129cf92dcc7d
4
+ data.tar.gz: c757601b57177893f009675700cdbb7456b52f44
5
5
  SHA512:
6
- metadata.gz: 8fcd695db4f96510720b8b3e2241748917f0070a23599cce1541f7c6d4f672c79fa9ee75fa2a054b451204c0c25cac0c738df55f8ef1be3079d929797f84e4ed
7
- data.tar.gz: d1ab3da73d1161b341dacc4ba0d860a8ae6b2668e8ba89368964fe42fa47e7406e9d270b1e9dc32355e4f8cbcb6a8146ab86222b52972fbaac4faf06dbb6f1c3
6
+ metadata.gz: db110b41244e595f9cd954ac3d6d6f26a4e59fe6437455b818449a327a37ffd330804b4d85514902d2d0f5836de3b260f01d16508933376ab49dd0773dd4e0b3
7
+ data.tar.gz: 95b46ce01034627ceda5684a25d2eaf264746612f17c300e65b8b09aa7df3d23afee3ed50f13cd584973f8ecc89b3822f2ccd28f8138e888e7f7242eb467387f
@@ -7,7 +7,7 @@ After do |scenario|
7
7
  if $HENRY_PARAMS['browser']
8
8
  if scenario.failed?
9
9
  FileUtils.mkdir_p(Henry::Environment.output_path + '/reports/html/screenshots/')
10
- name = "FAILED_#{scenario.name.gsub(' ', '').gsub(/[^0-9A-Za-z]/, '')}.png"
10
+ name = "FAILED_#{scenario.tags.map{|tag| tag.name.gsub("@",'')}.join("_")}.png"
11
11
  screenshot = "#{Henry::Environment.output_path}/reports/html/screenshots/#{name}"
12
12
  $browser.driver.save_screenshot(screenshot)
13
13
  embed "./screenshots/#{name}", 'image/png'
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.3.4"
2
+ VERSION = "2.3.5"
3
3
  end
@@ -10,7 +10,7 @@ Característica: results.itineraries
10
10
  Cuando realizo la busqueda
11
11
  Entonces verifico que la pagina no rompa
12
12
  Cuando espero que termine de cargar la pagina de resultados
13
- Cuando si el site es "CO", ingreso a resultados con cookie "defaultSortingStrategy" al "99"
13
+ Cuando ingreso a resultados con cookie "showFrequentFlyerPoints" al "1"
14
14
  Cuando si pruebo streaming, ingreso a resultados streaming
15
15
  Entonces verifico que traiga resultados
16
16
  Cuando si el site es "MX|AR", verifico el ordenamiento premium economy
@@ -10,7 +10,7 @@ Característica: results.matrix_fare_chart
10
10
  Cuando realizo la busqueda
11
11
  Entonces verifico que la pagina no rompa
12
12
  Cuando espero que termine de cargar la pagina de resultados
13
- Cuando si pruebo streaming, ingreso a resultados streaming
13
+ Cuando si el site es "BR|MX", ingreso a resultados con cookie "streaming" al "99"
14
14
  Entonces verifico que traiga resultados
15
15
  Y ingreso a la matriz de tendencia de precios
16
16
  Y verifico el mensaje de aclaracion de precio de matriz de tendencia de precios
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.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-14 00:00:00.000000000 Z
11
+ date: 2015-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container
@@ -251,7 +251,6 @@ files:
251
251
  - features/step_definitions/conditional_steps.rb
252
252
  - features/step_definitions/cookies_steps.rb
253
253
  - features/step_definitions/desambiguation_steps.rb
254
- - features/step_definitions/devtools_steps.rb
255
254
  - features/step_definitions/flights_tracker/flights_tracker_steps.rb
256
255
  - features/step_definitions/landing/filters_steps.rb
257
256
  - features/step_definitions/landing/itineraries_steps.rb
@@ -1,24 +0,0 @@
1
- # encoding: utf-8
2
- Cuando(/^mostrar devtools$/) do
3
- unless @page.tab_devtools_element.present?
4
- @page.execute_script("javascript:(function(){mcReqJs.load({'projectId': 'flights','modules': ['core-flights/devtools'],'callback':function(devtools){devtools.init();}});})();")
5
- else
6
- sleep(0.5)
7
- @page.tab_devtools_element.click
8
- sleep(0.5)
9
- end
10
- @page.devtools_element.when_visible(timeout=10)
11
- end
12
-
13
- Entonces(/^elijo opcion "(.*)" para dry run$/) do |value|
14
- @page.seleccionar_dry_run_element.select_value(value)
15
- @page.enviar_dryrun_element.click
16
- end
17
-
18
- Cuando(/^fuerzo el abztesting por devtool de "(.*?)" al "(.*?)"$/) do |arg1,arg2|
19
- @page.abztesting_element.click
20
- sleep(0.5)
21
- @page.setear_abztesting(arg1,arg2)
22
- @page.enviar_abztesting_element.click
23
- sleep(1)
24
- end