flights_gui_tests 1.3.8 → 1.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2cb1b10447a169f14f111b3d4c06c4a4d05cb09
|
|
4
|
+
data.tar.gz: 99c79922951918478ee6a6f7b1dbefbe2168660c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d96a6a211dd837907123c99d3e2f9741e0fdc58f76fc320e0b8cd948d52e23c6b8e10d13846a467e11e0e7865b0a86696ad0ecfa1a55dc072873156131fb893a
|
|
7
|
+
data.tar.gz: def59da9ea9850fd5fd469b7f65e842bd47ec3514b916ab5ccd9a6b360f2a444219eb2768c0396ca679b4ef1ae1d23c2af7bc421ae82a0d68293cf3a029411dd
|
|
@@ -34,6 +34,7 @@ module NewCheckout
|
|
|
34
34
|
def cargar_datos_facturacion_ar
|
|
35
35
|
option = ["FINAL","INSCR","EXENT","MONOTRIBUTO"][rand(4)]
|
|
36
36
|
situacion_fiscal_element.select_value(option)
|
|
37
|
+
sleep(1)
|
|
37
38
|
#lleno los campos requeridos
|
|
38
39
|
cuil_element.set("30643063936")
|
|
39
40
|
nombre_facturacion_element.set("diego qa romero") if nombre_facturacion_element.present?
|
|
@@ -64,7 +65,6 @@ module NewCheckout
|
|
|
64
65
|
end
|
|
65
66
|
|
|
66
67
|
def cargar_datos_facturacion_pe
|
|
67
|
-
check_invoice_check if invoice_check?
|
|
68
68
|
cuil_element.set("33344455561") if cuil_element.present?
|
|
69
69
|
nombre_facturacion_element.set("diego qa romero") if nombre_facturacion_element.present?
|
|
70
70
|
provincia_facturacion_element.select(provincia_facturacion_options[2]) if provincia_facturacion_element.present?
|
|
@@ -73,16 +73,13 @@ module NewCheckout
|
|
|
73
73
|
calle_facturacion_element.set("corrientes") if calle_facturacion_element.present?
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
def cargar_datos_facturacion_ec
|
|
77
|
+
check_invoice_check if invoice_check?
|
|
78
|
+
cargar_datos_facturacion_pe
|
|
79
|
+
end
|
|
77
80
|
|
|
78
81
|
def cargar_datos_facturacion_mx
|
|
79
|
-
|
|
80
|
-
cuil_element.set("33344455561") if cuil_element.present?
|
|
81
|
-
nombre_facturacion_element.set("diego qa romero") if nombre_facturacion_element.present?
|
|
82
|
-
provincia_facturacion_element.select(provincia_facturacion_options[2]) if provincia_facturacion_element.present?
|
|
83
|
-
ciudad_facturacion_element.set("Rosario") if ciudad_facturacion_element.present?
|
|
84
|
-
ciudad_facturacion_custom_element.set("Rosario") if ciudad_facturacion_custom_element.present?
|
|
85
|
-
calle_facturacion_element.set("corrientes") if calle_facturacion_element.present?
|
|
82
|
+
cargar_datos_facturacion_pe
|
|
86
83
|
otro_estado_facturacion_element.set("Chiapas") if otro_estado_facturacion_element.present?
|
|
87
84
|
codigo_postal_facturacion_element.set("7111") if codigo_postal_facturacion_element.present?
|
|
88
85
|
numero_facturacion_element.set("123") if numero_facturacion_element.present?
|
|
@@ -190,8 +190,12 @@ module NewCheckout
|
|
|
190
190
|
if radio.present? and !radio.disabled?
|
|
191
191
|
radio.click
|
|
192
192
|
sleep(0.5)
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
begin
|
|
194
|
+
doc=Hpricot.parse(precio_final_element.html).inner_text.gsub(/\D/,'').to_i
|
|
195
|
+
rescue Watir::Exception::UnknownObjectException
|
|
196
|
+
sleep(2)
|
|
197
|
+
doc=Hpricot.parse(precio_final_element.html).inner_text.gsub(/\D/,'').to_i
|
|
198
|
+
end
|
|
195
199
|
unless radio.attribute_value("data-regular-expressions").nil?
|
|
196
200
|
keys = JSON.parse(radio.attribute_value("data-regular-expressions")).keys
|
|
197
201
|
if interes or radio.attribute_value("class").match(/radio-with-interest/)
|
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.3.
|
|
4
|
+
version: 1.3.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-03-
|
|
11
|
+
date: 2015-03-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|