flights_gui_tests 1.1.2 → 1.1.3
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 +4 -4
- data/features/support/pages/landing/search_page.rb +3 -6
- data/features/support/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cdafc8fb4e37f8889e763bdd418336c75707a60
|
|
4
|
+
data.tar.gz: df3cb6e0ae078441998e487fa55b3bea583b9096
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c68e80fa0b9fb67e520893760b4de47cd6aa239618258c73044aa64d229983d1a7cfa2cc7ff07c7d2ea23fac0eddc7fd36ea136377230e96900f3f9203b0570b
|
|
7
|
+
data.tar.gz: 7dfb0b012a05d8d11f3d4e53e20109b661aafd5d5bd4b1e93e25cbbb05b8a1227724455c6f86f82a730ea7a0e80635b9ad06ef50b06d472357f37b70d2495ccf
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
1
|
+
1# encoding: utf-8
|
|
2
2
|
module Landing
|
|
3
3
|
class SearchPage < AllPages
|
|
4
4
|
|
|
@@ -74,11 +74,8 @@ module Landing
|
|
|
74
74
|
def elegir_itinerario(index)
|
|
75
75
|
opciones_ida_elements[index].click unless tipo_de_busqueda=="multipledestinations"
|
|
76
76
|
opciones_vuelta_elements[index].click if tipo_de_busqueda=="roundtrip"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
else
|
|
80
|
-
itinerarios_elements[index].links(:class,/buy/)[1].click
|
|
81
|
-
end
|
|
77
|
+
boton_comprar = itinerarios_elements[index].links(:class,/buy/).select{|boton| boton.present?}
|
|
78
|
+
boton_comprar.first.click
|
|
82
79
|
sleep(0.5)
|
|
83
80
|
adultos_element.select(2)
|
|
84
81
|
menores_element.select(1)
|
data/features/support/version.rb
CHANGED
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.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|