flights_gui_tests 1.9.7 → 1.9.8
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/step_definitions/checkout/load_steps.rb +3 -2
- data/features/step_definitions/thanks/load_steps.rb +1 -1
- data/features/support/pages/checkout/checkout_page.rb +2 -2
- data/features/support/version.rb +1 -1
- data/features/tests/checkout/fast_checkout.feature +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: 21cca1f18c588314cd59119ec68be802e1f9e9db
|
|
4
|
+
data.tar.gz: 176462159249bff8ddf153902f22a51d40ef8ca0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1680a0ae30191aa0f6dcd38472b246d7624a822ec54d5aa5146b7ef27d0a4c408ce50d6ca16d4576f788a4a40eb5303ae9c993df5d8e3c6e63d9eb43540014e
|
|
7
|
+
data.tar.gz: aa9660b04b7241a04e2106e8962c58256b635093441d01bd477dd90c6d6bc1f488a7d4fd1e5d30de73a5429769cbdc278e2c7f86a175e12865312a611bdad6d9
|
|
@@ -38,7 +38,7 @@ end
|
|
|
38
38
|
Cuando(/^espero que termine de cargar la pagina de checkout$/) do
|
|
39
39
|
@page = Checkout::NewCheckoutPage.new($browser)
|
|
40
40
|
@page.popup_transicion_inicial_element.when_not_visible(timeout=240)
|
|
41
|
-
@page.pasajeros_element.when_visible(timeout=
|
|
41
|
+
@page.pasajeros_element.when_visible(timeout=180)
|
|
42
42
|
@page.cargar_valores_abtesting
|
|
43
43
|
puts "URL: #{@page.browser.url}"
|
|
44
44
|
sleep(2)
|
|
@@ -57,7 +57,7 @@ Entonces(/^espero que termine el pedido de compra$/) do
|
|
|
57
57
|
puts "No se mostro el popup de transicion de compra"
|
|
58
58
|
end
|
|
59
59
|
@page.popup_transicion_compra_element.when_not_visible(timeout=200)
|
|
60
|
-
Watir::Wait.until(timeout=200){@page.mensaje_error_ux_element.present? or @page.notificacion_warning_ux_element.present? or @page.checkout_id_cash_element.present? or @page.checkout_id_element.present? or @page.popup_nuevo_vuelo_element.present? or @page.popup_nuevo_precio_element.present? or @page.notificacion_error_element.present? or @page.notificacion_warning_element.present? or @page.notificacion_error_ux_element.present?}
|
|
60
|
+
Watir::Wait.until(timeout=200){@page.notificacion_error_cac_element.present? or @page.mensaje_error_ux_element.present? or @page.notificacion_warning_ux_element.present? or @page.checkout_id_cash_element.present? or @page.checkout_id_element.present? or @page.popup_nuevo_vuelo_element.present? or @page.popup_nuevo_precio_element.present? or @page.notificacion_error_element.present? or @page.notificacion_warning_element.present? or @page.notificacion_error_ux_element.present?}
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
Y(/^(?:verifico|valido) si no trae errores$/) do
|
|
@@ -99,6 +99,7 @@ Cuando(/^ingreso al checkout con cookie "(.*?)" al "(.*?)"/) do |name,value|
|
|
|
99
99
|
@page = Results::SearchPage.new($browser)
|
|
100
100
|
step "verifico que la pagina no rompa"
|
|
101
101
|
step "espero que termine de cargar la pagina de resultados"
|
|
102
|
+
step "cierro popups"
|
|
102
103
|
step "elijo un itinerario y paso a checkout"
|
|
103
104
|
step "verifico que la pagina no rompa"
|
|
104
105
|
step "espero que termine de cargar la pagina de checkout"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
Cuando(/^espero que termine de cargar la pagina de gracias$/) do
|
|
3
3
|
@page = Thanks::ThanksPage.new($browser)
|
|
4
|
-
Watir::Wait.until(timeout=
|
|
4
|
+
Watir::Wait.until(timeout=120){@page.checkout_id_element.present? or @page.checkout_id_cash_element.present?}
|
|
5
5
|
end
|
|
6
6
|
|
|
7
7
|
Entonces(/^(?:verifico|valido) que ingrese a la pagina de gracias$/) do
|
|
@@ -61,9 +61,9 @@ module Checkout
|
|
|
61
61
|
@browser.execute_script("javascript:void($('#read-agreement').click());")
|
|
62
62
|
end
|
|
63
63
|
begin
|
|
64
|
-
|
|
64
|
+
@browser.execute_script("javascript:void($('#submit').click());")
|
|
65
65
|
rescue Selenium::WebDriver::Error::UnknownError
|
|
66
|
-
|
|
66
|
+
comprar_element.click
|
|
67
67
|
rescue Net::ReadTimeout
|
|
68
68
|
@browser.send_keys :escape
|
|
69
69
|
end
|
data/features/support/version.rb
CHANGED
|
@@ -15,10 +15,10 @@ Característica: checkout.fast_checkout
|
|
|
15
15
|
Entonces verifico que la pagina no rompa
|
|
16
16
|
Y espero que termine de cargar la pagina de checkout
|
|
17
17
|
Y verifico que ingrese al checkout
|
|
18
|
+
Entonces si ingreso por keeper, ingreso al checkout con cookie "useNewBookingProvider" al "0"
|
|
18
19
|
Cuando me logueo como usuario "bookingvuelos@despegar.com" y pass "despegar"
|
|
19
20
|
Y espero que termine de cargar la pagina de checkout
|
|
20
21
|
Cuando verifico que ingrese al checkout
|
|
21
|
-
Entonces si ingreso por keeper, ingreso al checkout con cookie "useNewBookingProvider" al "0"
|
|
22
22
|
Entonces verifico que se haya logueado correctamente
|
|
23
23
|
Y valido los valores del desglose del checkout
|
|
24
24
|
Y verifico el pixel de Efrontier
|
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.9.
|
|
4
|
+
version: 1.9.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lgonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-06-
|
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: henry-container
|