flights_gui_tests 2.3.76 → 2.3.77
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: b7998b986374e9cd4a6c978d22554a522203b6aa
|
4
|
+
data.tar.gz: f38ca0ccf162a7b5018ac030b9b291dd79ddfbeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec612290a2f4d161c84db1619ee5da9c46a286eafd32075557da38ce5e150b0f9d8ed131d907c93fcb9e3003a60ca5932c71c4953734765b4fa8fdd7b71a59e9
|
7
|
+
data.tar.gz: ea6f41c8d50b29d7be1f63043c3fa154d8d62e78199a17556b76cf50e273b1483eca67bddd3183ae6652e8a5e80f6a71b947f8c73cc0d58fb8c249674f79e04e
|
@@ -33,7 +33,7 @@ Y(/^(?:verifico|valido) que se muestren la caja de clientes felices$/) do
|
|
33
33
|
happy_clients.div(:class,'ux-common-comment').text.should match('[A-Z]|[a-z]|\=\)')
|
34
34
|
happy_clients.div(:class,'ux-common-comment-description').should visible
|
35
35
|
happy_clients.div(:class,'ux-common-comment-description').span(:class,'flights-comment-description').should visible
|
36
|
-
happy_clients.div(:class,'ux-common-comment-description').span(:class,'flights-comment-description').text.no_accents.should match('[A-Z]|[a-z]')
|
36
|
+
happy_clients.div(:class,'ux-common-comment-description').span(:class,'flights-comment-description').text.no_accents.should match('[A-Z]|[a-z]|\=\)')
|
37
37
|
happy_clients.span(:class,'description').should visible
|
38
38
|
happy_clients.span(:class,'description').text.no_accents.should match('Por que \d+ millones de viajeros nos eligen|Why \d+ million travelers choose us|Por que \d+ milhoes de viajantes nos escolhem')
|
39
39
|
end
|
data/features/support/hooks.rb
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
Before do |scenario|
|
3
3
|
@uow = "ROBOTFGUI-#{Socket.gethostname}-#{Time.now.strftime('%Y%m%d%H%M')}-#{scenario.tags.map{|tag| tag.name.gsub("@",'')}.join("-")}"
|
4
|
+
$browser.alert.ok if $browser.alert.exists?
|
5
|
+
$browser.goto("http://www.despegar.com/about")
|
6
|
+
begin
|
7
|
+
$browser.execute_script("javascript:void(document.cookie = 'X-UOW-CUSTOM=#{@uow}; Path=/')")
|
8
|
+
rescue
|
9
|
+
puts "No se pudo cargar el X-UOW"
|
10
|
+
end
|
4
11
|
end
|
5
12
|
|
6
13
|
After do |scenario|
|
@@ -114,11 +114,6 @@ class AllPages
|
|
114
114
|
when 'CN' then 'despegar.com'
|
115
115
|
when 'PT' then 'despegar.com'
|
116
116
|
else "despegar.com.#{@@site.downcase}"
|
117
|
-
end
|
118
|
-
begin
|
119
|
-
@browser.execute_script("javascript:void(document.cookie = 'X-UOW-CUSTOM=#{uow}; Path=/')")
|
120
|
-
rescue
|
121
|
-
puts "No se pudo cargar el X-UOW"
|
122
117
|
end
|
123
118
|
begin
|
124
119
|
@browser.execute_script("javascript:void(document.cookie = 'XDESP-TEST=true; Path=/')")
|
data/features/support/version.rb
CHANGED
@@ -16,7 +16,6 @@ Característica: landing.negative
|
|
16
16
|
Y verifico que la url sea la correcta
|
17
17
|
Y verifico que el mensaje de error en el cluster sea correcto
|
18
18
|
Y verifico que ciudades iguales de error
|
19
|
-
Y verifico que si paso tres ciudades en la url de error
|
20
19
|
Y verifico que fechas iguales no de error
|
21
20
|
Y verifico que la ciudad "xxx" de error
|
22
21
|
Y verifico que paginado negativo de error
|
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: 2.3.
|
4
|
+
version: 2.3.77
|
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-
|
11
|
+
date: 2015-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|