flights_gui_tests 1.6.8 → 1.6.9

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: 6a19865a82052d45e618ed22745392bb2ccb255a
4
- data.tar.gz: 0ca98b494622109ebbe78d1f6bb1d5b73fec5371
3
+ metadata.gz: 99d80715c70a0c72e1eb8a0307762d6330d44013
4
+ data.tar.gz: c722f03dbfae0a9033b8f67724f0a74536cf5d66
5
5
  SHA512:
6
- metadata.gz: fc9874d6096238f934e491e551495763229c489d1050ac9422727ede2786e3212d097ebdd21e9282091cf535f2dbf634de26f1b031c028359ab7fa093b6085ce
7
- data.tar.gz: c36d1315ecadf26084833a62b827d8bfb4fa8eb4202daa822ceff059cde39330c102325bcf7e549416aceeb74c23b1dd2e17ded9917dffa59e625039f76e141b
6
+ metadata.gz: 7871a6ef0074b4b48a107eab173d43637eb593a857048d7ae756decc220c3ca7baeb57babfacc59bb86cbdd87f7f138c1eb12eb07cd62aa254676492977e1822
7
+ data.tar.gz: 510582dd5ba715bee0b1ec969392ea419a90f5011d4d20386244b04769d91929afba7e2a7963c1d040c43272e22e881811fe92e4486090eb09654b922570e705
@@ -4,6 +4,7 @@ Entonces(/^(?:verifico|valido) los textos de las opciones del combo$/) do
4
4
  when 'US' then 'Recommended'
5
5
  when 'IN' then 'Recommended'
6
6
  when 'CN' then 'Recommended'
7
+ when 'PT' then 'Mais Escolhidos'
7
8
  when 'BR' then 'Mais Escolhidos'
8
9
  else 'Mas Elegidos'
9
10
  end
@@ -35,7 +35,7 @@ Cuando(/^(?:realizo|genero|ingreso) la busqueda$/) do
35
35
  if AllPages.internacional
36
36
  @page.manage_data.set_header_json({"host"=>"www.us.despegar.com"})
37
37
  @page.ir("www.despegar.com/about")
38
- $browser.execute_script("javascript:void(document.cookie = 'x-locale=en-#{AllPages.site.upcase}; domain=despegar.com; Path=/')")
38
+ $browser.execute_script("javascript:void(document.cookie = 'x-locale=#{AllPages.lang.downcase}-#{AllPages.site.upcase}; domain=despegar.com; Path=/')")
39
39
  end
40
40
  begin
41
41
  @page.ir(@page.url_busqueda)
@@ -62,6 +62,7 @@ module Helpers
62
62
  'EC' => 'USD',
63
63
  'IN' => 'USD',
64
64
  'CN' => 'USD',
65
+ 'PT' => 'USD',
65
66
  'US' => 'USD'
66
67
  }[site.upcase]
67
68
  end
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.6.8"
2
+ VERSION = "1.6.9"
3
3
  end
@@ -44,10 +44,10 @@ Característica: checkout.low_cost
44
44
  @br
45
45
  Ejemplos:
46
46
  |pais|tipo|cabotage|prov|from|to|
47
+ |BR|roundtrip|true|GOL|SAO|RIO|
48
+ |BR|oneway|true|GOL|SAO|RIO|
47
49
  |BR|roundtrip|true|OC6|REC|POA|
48
50
  |BR|oneway|true|OC6|SAO|RIO|
49
- |BR|roundtrip|true|GOL|SAO|RIO|
50
- |BR|oneway|true|GOL|SAO|RIO|
51
51
  |BR|roundtrip|true|TAM|SAO|RIO|
52
52
  |BR|oneway|true|TAM|SAO|RIO|
53
53
  |BR|roundtrip|true|AZD|SAO|RIO|
@@ -16,7 +16,6 @@ Característica: results.errors
16
16
  Cuando ingreso una fecha pasada
17
17
  Entonces verifico mensaje de error "no podemos realizar busquedas en el pasado|nao conseguimos fazer buscas em datas passadas|we can.t make searches in the past"
18
18
  Cuando si el site no es "MX|BR", ingreso una fecha del dia de hoy
19
- Entonces si el site no es "MX|BR", verifico mensaje de error "es una fecha demasiado cercana para comprar en nuestro sitio web| e uma data muito proxima ao embarque para voce comprar sua passagem em nosso website|is too soon to book on our website"
20
19
 
21
20
  @pt
22
21
  @roundtrip
@@ -14,14 +14,14 @@ Característica: results.search
14
14
  Cuando si el site es "AR|BR", levanto los tag que deben mostrarse segun la ciudad buscada para una busqueda "<tipo>"
15
15
  Entonces si el site es "AR|BR", verifico que se muestre en el codigo fuente
16
16
  Y cierro popups
17
- Y si el site no es "IN|CN", verifico el primer tag de google en resultado
17
+ Y si el site no es "IN|CN|PT", verifico el primer tag de google en resultado
18
18
  Y verifico el segundo tag de google en resultado
19
19
  Y verifico el tag de groovinads
20
- Y si el site no es "IN|CN", verifico el logger en resultado de fgui
20
+ Y si el site no es "IN|CN|PT", verifico el logger en resultado de fgui
21
21
  Y verifico el tag de canonical
22
22
  Y si el site es "AR", verifico el tag de remarketing de facebook
23
23
  Y si el site es "MX|CO|BR", verifico el tag de facebook
24
- Y si el site no es "IN|CN", verifico el pixel de e-planning
24
+ Y si el site no es "IN|CN|PT", verifico el pixel de e-planning
25
25
  Y cierro popups
26
26
  Y verifico el popup de alertas
27
27
  Y verifico que no se muestre la leyenda de mejor precio garantizado en 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: 1.6.8
4
+ version: 1.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container