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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ec4cb89563c6299fbc40a567d09744a23538cf3
|
4
|
+
data.tar.gz: e24eea4900bd3e4d9f44aac9626f874057a71718
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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=
|
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(:
|
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(:
|
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,
|
11
|
-
@page.link_mi_despegar_element.link(:
|
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/"
|
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
|
data/features/support/version.rb
CHANGED