flights_gui_tests 0.5.4 → 0.5.5
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: bea710830d5446d766f3e53268bde680e9ff3111
|
4
|
+
data.tar.gz: eced35a1e851d555846c2a8ae2383d4e6e74fbc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1006de1c4d43f72bfecfbf16b9a8e0f5f07260c37fe7abdef8e6c66caa45bdb241ecb0f7f096bb299a7d2346f998f29ef4f2009b70f564cbcc4ee29fbb6cc717
|
7
|
+
data.tar.gz: 4cb0d1b9d2efc650bb438b4df5cfac5804b96f0daae835ad8c3e5ddb3dcda439d3b9a5ae27a2749ba4c13d333c4e59a4da6308f26c6eacde356ccb2f6a17bebd
|
@@ -18,14 +18,16 @@ module NewCheckout
|
|
18
18
|
div(:cerrar_popup_chat,:css=>"#dtalk-container .ux-header-close")
|
19
19
|
span(:cerrar_popup_cobertura,:css=>".popup-upselling-coverage .popup-close-button")
|
20
20
|
span(:cerrar_popup_cantidad_visitantes,:css=>"#searches-count-alert-popup .popup-close-button")
|
21
|
+
|
22
|
+
def cerrar_popups
|
23
|
+
begin
|
24
|
+
cerrar_popup_cantidad_visitantes_element.click if cerrar_popup_cantidad_visitantes_element.present?
|
25
|
+
cerrar_popup_chat_element.click if popup_chat_element.present?
|
26
|
+
rescue Selenium::WebDriver::Error::UnknownError
|
27
|
+
puts "Error al cerrar popups"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
21
31
|
end
|
22
32
|
|
23
|
-
def cerrar_popups
|
24
|
-
begin
|
25
|
-
cerrar_popup_cantidad_visitantes_element.click if cerrar_popup_cantidad_visitantes_element.present?
|
26
|
-
cerrar_popup_chat_element.click if popup_chat_element.present?
|
27
|
-
rescue Selenium::WebDriver::Error::UnknownError
|
28
|
-
puts "Error al cerrar popups"
|
29
|
-
end
|
30
|
-
end
|
31
33
|
end
|
@@ -18,14 +18,15 @@ module Checkout
|
|
18
18
|
div(:cerrar_popup_chat,:css=>"#dtalk-container .ux-header-close")
|
19
19
|
span(:cerrar_popup_cobertura,:css=>".popup-upselling-coverage .popup-close-button")
|
20
20
|
span(:cerrar_popup_cantidad_visitantes,:css=>"#searches-count-alert-popup .popup-close-button")
|
21
|
+
|
22
|
+
def cerrar_popups
|
23
|
+
begin
|
24
|
+
cerrar_popup_cantidad_visitantes_element.click if cerrar_popup_cantidad_visitantes_element.present?
|
25
|
+
cerrar_popup_chat_element.click if popup_chat_element.present?
|
26
|
+
rescue Selenium::WebDriver::Error::UnknownError
|
27
|
+
puts "Error al cerrar chat"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
21
31
|
end
|
22
|
-
|
23
|
-
def cerrar_popups
|
24
|
-
begin
|
25
|
-
cerrar_popup_cantidad_visitantes_element.click if cerrar_popup_cantidad_visitantes_element.present?
|
26
|
-
cerrar_popup_chat_element.click if popup_chat_element.present?
|
27
|
-
rescue Selenium::WebDriver::Error::UnknownError
|
28
|
-
puts "Error al cerrar chat"
|
29
|
-
end
|
30
|
-
end
|
31
32
|
end
|
data/flights_gui_tests.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
|
15
15
|
gem.require_paths = ["lib"] # Usualmente es solo lib -> ["lib"]
|
16
16
|
|
17
|
-
gem.version = '0.5.
|
17
|
+
gem.version = '0.5.5' # La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
18
18
|
|
19
19
|
gem.add_dependency('henry-container', '>= 0.1.39')
|
20
20
|
gem.add_dependency('page-object')
|