flights_gui_tests 1.2.1 → 1.2.2

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: 8c8ae19543d71111230cd44834813cf4d242daaf
4
- data.tar.gz: 47dac5bec9fbaf5c66b2bbb1d3c78e9313f9ede0
3
+ metadata.gz: c168b97281d1343bbe8473986664bb29ec76f587
4
+ data.tar.gz: a1a9aa86ca842474268d16752d13b1d166e8ed2e
5
5
  SHA512:
6
- metadata.gz: 49e4d3fdc59a27497127257f7b17dfd35719d304072b3d112f2e266e1b9aeddfc2a20c5db65c5dcd0109c051ef7d635d50ac2ada7e281f2cbdfcfb3e8ea8b607
7
- data.tar.gz: b38bc4b1466dc36d1170e1b0246ff1acfb2f97ebcc7837afdd2e71b8a0291db39180c5a701b59338704ddbbae3e6f483aff534a8d5398438c97986a7cc324ccf
6
+ metadata.gz: 9e169b1cb566948c24dd3bd5254f2711cf02a3db97dde972181eaffb73759b1f5364c35b4fc9db479f22473bf30cf2ad29acc3d5c19d226f015ffc4ccb32de22
7
+ data.tar.gz: 30e98862f418efbfe4dd9ef31601bfbc610e7a36b88d9fbe33632e676f229fc4ef60be0333774cfda5c1cf7a934887a3b96924e1a264f66d8fa4b71fc5364689
@@ -15,7 +15,7 @@ end
15
15
 
16
16
  Cuando(/^espero que de error de compra al no poder emitirse los tickets$/) do
17
17
  begin
18
- @page.mensaje_error_emision_last_minute_element.when_visible(timeout=1)
18
+ @page.mensaje_error_emision_last_minute_element.when_visible(timeout=10)
19
19
  rescue
20
20
  @page.mensaje_error_emision_last_minute_element.should visible("Mensaje error last minute")
21
21
  end
@@ -33,12 +33,14 @@ end
33
33
 
34
34
  Entonces(/^(?:verifico|valido) cada opcion de aeropuerto "(.*?)" en "(.*?)"$/) do |type,city|
35
35
  cities={"BZC"=>["GIG", "SDU", "JDF", "CFB", "CAW", "MEA", "IZA"],
36
- "PCM"=>["CUN","CZM"]}
36
+ "PCM"=>["CUN","CZM"]}
37
37
  doc = Hpricot.parse(@page.html)
38
38
  i = 0
39
39
  (doc/"li.strech").each do |tramo|
40
40
  airports = ((tramo/"ul.airports//li.airport").reject{|it| it.attributes['style'].match(/none/)})
41
- airports.collect{ |airport| (airport/"p.description").inner_text[-4,3]}.should equal(cities[city])
41
+ airports.each do |airport|
42
+ cities[city].should include?((airport/"p.description").inner_text[-4,3])
43
+ end
42
44
  option = rand(airports.length)
43
45
  begin
44
46
  aux = (tramo/"ul.airports//li.airport").length - airports.length
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
@@ -61,6 +61,6 @@ Característica: checkout.providers
61
61
  |MX|roundtrip|true|GDS|MEX|MTY|2014-02-28|2014-03-17|
62
62
  |MX|oneway|true|GDS|MEX|GDL|2014-03-28|2014-04-17|
63
63
  |AR|roundtrip|true|GDS|BUE|COR|2014-02-28|2014-03-17|
64
- |AR|oneway|nil|GDS|SAO|BUE|2014-03-28|2014-04-17|
64
+ |AR|oneway|nil|GDS|MIA|BUE|2014-03-28|2014-04-17|
65
65
  |US|roundtrip|true|GDS|MIA|NYC|2014-02-28|2014-03-17|
66
66
  |US|oneway|nil|GDS|MIA|BUE|2014-03-28|2014-04-17|
@@ -20,7 +20,6 @@ Característica: results.search
20
20
  Entonces verifico que traiga resultados
21
21
  Cuando si el site es "AR|BR", levanto los tag que deben mostrarse segun la ciudad buscada para una busqueda "<tipo>"
22
22
  Entonces si el site es "AR|BR", verifico que se muestre en el codigo fuente
23
- Y si el site es "PE", verifico el banner de cancelacion en el dia en resultados
24
23
  Y cierro popups
25
24
  Y verifico el primer tag de google en resultado
26
25
  Y verifico el segundo tag de google en resultado
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.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container