flights_gui_tests 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47efcff28c374e5d595e243f04697d017fd0cdc9
4
- data.tar.gz: c02c0f0f41d057f866d6be1aad341a014c41f424
3
+ metadata.gz: 2ec4cb89563c6299fbc40a567d09744a23538cf3
4
+ data.tar.gz: e24eea4900bd3e4d9f44aac9626f874057a71718
5
5
  SHA512:
6
- metadata.gz: ecca21f1db0c8885e57f3d3160fef3ccdb9f280045179f45d4834662910a374b28976ce776152c4488219a7235cbc8f8aed2b16f3916807d5be467f7014dde55
7
- data.tar.gz: 2c9d99ecc10f15c9a85da2eac5e0fac5b878ffbbe6b14cd42396f12c41665f217a2e77ffd6e55b1a4d5662438c3de57802b8c1e2218d9d8a441db8de2ea886c2
6
+ metadata.gz: e3fbacee1cf5bbe0b0c69f13f7b40c93d618778ba5c739d7f424a70e021ca00eee7c27b7cc541e48b10c69f05af672ca1e39631fefc0abf488073c42715e5b2d
7
+ data.tar.gz: 6cba701ecd69554c90dc649437936c5847511e52f8f236f7d7ac9278e5ff89606d50b6bccbdb902ef769143a9d03287cc4add61803ce5b99dd3721590dc8b799
@@ -46,7 +46,7 @@ Cuando(/^(?:realizo|genero|ingreso) la busqueda$/) do
46
46
  end
47
47
 
48
48
  Cuando(/^espero que (?:termine|finalize|acabe) de cargar la pagina de resultados$/) do
49
- @page.carga_element.when_not_visible(timeout=180)
49
+ @page.carga_element.when_not_visible(timeout=200)
50
50
  @page.actualizar_filtro_element.when_not_visible(timeout=120)
51
51
  end
52
52
 
@@ -2,13 +2,13 @@
2
2
  Entonces(/^(?:verifico|valido) el link de mi despegar$/) do
3
3
  if AllPages.site=="BR"
4
4
  @page.link_mi_despegar_element.text.no_accents.downcase.should match("em caso de duvidas, acesse")
5
- @page.link_mi_despegar_element.link(:title,"Meu Decolar").should visible
5
+ @page.link_mi_despegar_element.link(:id,"my-despegar-link").should visible
6
6
  elsif AllPages.site=="US"
7
7
  @page.link_mi_despegar_element.text.no_accents.downcase.should match("if you have any questions, please login to")
8
- @page.link_mi_despegar_element.link(:title,"My Despegar").should visible
8
+ @page.link_mi_despegar_element.link(:id,"my-despegar-link").should visible
9
9
  else
10
- @page.link_mi_despegar_element.text.no_accents.downcase.should match("ante cualquier consulta, ingrese a")
11
- @page.link_mi_despegar_element.link(:title,"Mi Despegar").should visible
10
+ @page.link_mi_despegar_element.text.no_accents.downcase.should match("ante cualquier consulta, ingresa a")
11
+ @page.link_mi_despegar_element.link(:id,"my-despegar-link").should visible
12
12
  end
13
13
  end
14
14
 
@@ -6,7 +6,7 @@ class NewDetailsCluster
6
6
  @tramos = []
7
7
  (p_html/"div.inline-detail-content div.inline-detail-data").each do |div|
8
8
  tramo = Hash.new
9
- if (div/"div.segment span.not-economy-segments").first.nil?
9
+ if (div/"span.inline-detail-flight-data-description").first.inner_text.no_accents.match("Economica|Economy")
10
10
  tramo['bussines'] = nil
11
11
  tramo['clase'] = (div/"span.inline-detail-flight-cabinType span.inline-detail-flight-data-description").first.inner_text.strip.no_accents
12
12
  else
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez