ds_test 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bashrc +2 -0
- data/Gemfile +1 -0
- data/Gemfile.lock.orig +143 -0
- data/cucumber.out.orig +31 -0
- data/ds_test.gemspec +1 -1
- data/failedbookings_alert +5 -0
- data/features/PAMFailedBookings.feature +1 -1
- data/features/commissionChange +10 -0
- data/features/methods/PAMFailedBookings_actions.rb +49 -1
- data/features/step_definitions/PAMFailedBookings_steps.rb +6 -4
- data/features/step_definitions/commissionChange_steps +9 -0
- data/features/support/env.rb +15 -0
- data/henry-context.yml +11 -1
- data/out.henry.orig +5 -0
- metadata +11 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 820c97099f1d3c1f490b740084f82c756b022365
|
4
|
+
data.tar.gz: 8e8c7ac909852b4da5255aad7b11d858ef7f28cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30a880cdb83615cb495db8201089aa521a76137f7c6f6cb4f80e8d8c490d7fb600086f12131d465e370411e03b00190804dbd526b812b368dda491b6cab66159
|
7
|
+
data.tar.gz: 2152bbb0bf3c8adfd1b6e081991812e9bac60ebfee77fed7112fd60cf5559cccf5649d00ee05c6fb803dfd154bd90db821e5016867d2383b894399bcb765a3ae
|
data/.bashrc
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock.orig
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
<<<<<<< HEAD
|
5
|
+
ds_test (0.0.5)
|
6
|
+
=======
|
7
|
+
ds_test (0.0.6)
|
8
|
+
>>>>>>> 52774100463d3c5af0007f9c1cf30ddcb90ad1dc
|
9
|
+
henry-container
|
10
|
+
hpricot
|
11
|
+
httparty
|
12
|
+
httpclient
|
13
|
+
rest-client
|
14
|
+
watir-webdriver
|
15
|
+
|
16
|
+
GEM
|
17
|
+
remote: https://rubygems.org/
|
18
|
+
remote: http://gems.despegar.com/
|
19
|
+
specs:
|
20
|
+
ansi (1.5.0)
|
21
|
+
builder (3.2.2)
|
22
|
+
byebug (5.0.0)
|
23
|
+
columnize (= 0.9.0)
|
24
|
+
childprocess (0.5.6)
|
25
|
+
ffi (~> 1.0, >= 1.0.11)
|
26
|
+
colorize (0.7.7)
|
27
|
+
columnize (0.9.0)
|
28
|
+
cucumber (2.0.2)
|
29
|
+
builder (>= 2.1.2)
|
30
|
+
cucumber-core (~> 1.2.0)
|
31
|
+
diff-lcs (>= 1.1.3)
|
32
|
+
gherkin (~> 2.12)
|
33
|
+
multi_json (>= 1.7.5, < 2.0)
|
34
|
+
multi_test (>= 0.1.2)
|
35
|
+
cucumber-core (1.2.0)
|
36
|
+
gherkin (~> 2.12.0)
|
37
|
+
diff-lcs (1.2.5)
|
38
|
+
domain_name (0.5.24)
|
39
|
+
unf (>= 0.0.5, < 1.0.0)
|
40
|
+
faraday (0.9.1)
|
41
|
+
multipart-post (>= 1.2, < 3)
|
42
|
+
ffi (1.9.10)
|
43
|
+
geminabox (0.12.4)
|
44
|
+
builder
|
45
|
+
faraday
|
46
|
+
httpclient (>= 2.2.7)
|
47
|
+
nesty
|
48
|
+
sinatra (>= 1.2.7)
|
49
|
+
gherkin (2.12.2)
|
50
|
+
multi_json (~> 1.3)
|
51
|
+
henry-container (0.1.14)
|
52
|
+
colorize
|
53
|
+
cucumber
|
54
|
+
minitest-reporters
|
55
|
+
rake
|
56
|
+
rspec
|
57
|
+
trollop
|
58
|
+
hpricot (0.8.6)
|
59
|
+
http-cookie (1.0.2)
|
60
|
+
domain_name (~> 0.5)
|
61
|
+
httparty (0.13.5)
|
62
|
+
json (~> 1.8)
|
63
|
+
multi_xml (>= 0.5.2)
|
64
|
+
httpclient (2.6.0.1)
|
65
|
+
json (1.8.3)
|
66
|
+
mime-types (2.6.1)
|
67
|
+
minitest (5.7.0)
|
68
|
+
minitest-reporters (1.0.19)
|
69
|
+
ansi
|
70
|
+
builder
|
71
|
+
minitest (>= 5.0)
|
72
|
+
ruby-progressbar
|
73
|
+
multi_json (1.11.2)
|
74
|
+
multi_test (0.1.2)
|
75
|
+
multi_xml (0.5.5)
|
76
|
+
multipart-post (2.0.0)
|
77
|
+
nesty (1.0.2)
|
78
|
+
netrc (0.7.9)
|
79
|
+
rack (1.6.4)
|
80
|
+
rack-protection (1.5.3)
|
81
|
+
rack
|
82
|
+
rake (10.4.2)
|
83
|
+
rest-client (1.8.0)
|
84
|
+
http-cookie (>= 1.0.2, < 2.0)
|
85
|
+
mime-types (>= 1.16, < 3.0)
|
86
|
+
netrc (~> 0.7)
|
87
|
+
rspec (3.3.0)
|
88
|
+
rspec-core (~> 3.3.0)
|
89
|
+
rspec-expectations (~> 3.3.0)
|
90
|
+
rspec-mocks (~> 3.3.0)
|
91
|
+
rspec-core (3.3.2)
|
92
|
+
rspec-support (~> 3.3.0)
|
93
|
+
rspec-expectations (3.3.1)
|
94
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
95
|
+
rspec-support (~> 3.3.0)
|
96
|
+
rspec-mocks (3.3.2)
|
97
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
98
|
+
rspec-support (~> 3.3.0)
|
99
|
+
rspec-support (3.3.0)
|
100
|
+
ruby-progressbar (1.7.5)
|
101
|
+
rubyzip (1.1.7)
|
102
|
+
selenium-webdriver (2.46.2)
|
103
|
+
childprocess (~> 0.5)
|
104
|
+
multi_json (~> 1.0)
|
105
|
+
rubyzip (~> 1.0)
|
106
|
+
websocket (~> 1.0)
|
107
|
+
sinatra (1.4.6)
|
108
|
+
rack (~> 1.4)
|
109
|
+
rack-protection (~> 1.4)
|
110
|
+
tilt (>= 1.3, < 3)
|
111
|
+
tilt (2.0.1)
|
112
|
+
timeout (0.0.1)
|
113
|
+
timeout-extensions
|
114
|
+
timeout-extensions (0.0.0)
|
115
|
+
trollop (2.1.2)
|
116
|
+
unf (0.1.4)
|
117
|
+
unf_ext
|
118
|
+
unf_ext (0.0.7.1)
|
119
|
+
watir-webdriver (0.8.0)
|
120
|
+
selenium-webdriver (>= 2.46.2)
|
121
|
+
websocket (1.2.2)
|
122
|
+
|
123
|
+
PLATFORMS
|
124
|
+
ruby
|
125
|
+
|
126
|
+
DEPENDENCIES
|
127
|
+
bundler
|
128
|
+
byebug
|
129
|
+
cucumber
|
130
|
+
ds_test!
|
131
|
+
geminabox
|
132
|
+
henry-container
|
133
|
+
hpricot
|
134
|
+
httpclient
|
135
|
+
json
|
136
|
+
minitest
|
137
|
+
rake
|
138
|
+
rest-client
|
139
|
+
rspec
|
140
|
+
timeout
|
141
|
+
|
142
|
+
BUNDLED WITH
|
143
|
+
1.10.6
|
data/cucumber.out.orig
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
#language: es
|
2
|
+
[36m@quota_media[0m
|
3
|
+
Característica: Verificar la mediante servicio la quota de media, de este modo poder realizar una alarma cuando se llegue al límite
|
4
|
+
|
5
|
+
<<<<<<< HEAD
|
6
|
+
Escenario: Invocar el servicio de bookings fallidos de PAM validadndo que existan o no entradas.[90m # features/PAMFailedBookings.feature:7[0m
|
7
|
+
[32mDado que invoco al servicio de bookings fallidos de PAM[90m # features/step_definitions/PAMFailedBookings_steps.rb:3[0m[0m
|
8
|
+
[31mEntonces checkeo si hay bookings fallidos[90m # features/step_definitions/PAMFailedBookings_steps.rb:7[0m[0m
|
9
|
+
[36mHay 1 reserva(s) fallidas en PAM[0m
|
10
|
+
[36m[98236393][0m
|
11
|
+
[31m expected: truthy value[0m
|
12
|
+
[31m got: false (RSpec::Expectations::ExpectationNotMetError)[0m
|
13
|
+
[31m ./features/step_definitions/PAMFailedBookings_steps.rb:8:in `/^checkeo si hay bookings fallidos$/'[0m
|
14
|
+
[31m features/PAMFailedBookings.feature:11:in `Entonces checkeo si hay bookings fallidos'[0m
|
15
|
+
|
16
|
+
[31mFailing Scenarios:[0m
|
17
|
+
[31mcucumber features/PAMFailedBookings.feature:7[0m[90m # Escenario: Invocar el servicio de bookings fallidos de PAM validadndo que existan o no entradas.[0m
|
18
|
+
|
19
|
+
1 scenario ([31m1 failed[0m)
|
20
|
+
2 steps ([31m1 failed[0m, [32m1 passed[0m)
|
21
|
+
0m0.482s
|
22
|
+
=======
|
23
|
+
Escenario: Invocar el servicio de quota media validando que el valor de used sea inferior al de total.[90m # features/quotamedia.feature:7[0m
|
24
|
+
[32mDado que invoco al servicio de quota de media[90m # features/step_definitions/servicios_steps.rb:3[0m[0m
|
25
|
+
[32mEntonces verifico el estado de la quota[90m # features/step_definitions/servicios_steps.rb:7[0m[0m
|
26
|
+
[36mTodo bien[0m
|
27
|
+
|
28
|
+
1 scenario ([32m1 passed[0m)
|
29
|
+
2 steps ([32m2 passed[0m)
|
30
|
+
0m0.315s
|
31
|
+
>>>>>>> 52774100463d3c5af0007f9c1cf30ddcb90ad1dc
|
data/ds_test.gemspec
CHANGED
@@ -4,7 +4,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "ds_test"
|
7
|
-
gem.version = "0.0
|
7
|
+
gem.version = "0.1.0"
|
8
8
|
gem.authors = ["DS QA"]
|
9
9
|
gem.email = ["jdelrio@despegar.com,smendoza@despegar.com"]
|
10
10
|
gem.description = %q{Test de Media}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Característica: Consultar el servicio de bookings fallidos de PAM para ver si existe alguno y generar una alarma para alertar de la situación.
|
6
6
|
|
7
|
-
Escenario: Invocar el servicio de bookings fallidos de PAM
|
7
|
+
Escenario: Invocar el servicio de bookings fallidos de PAM validando que existan o no entradas.
|
8
8
|
|
9
9
|
|
10
10
|
Dado que invoco al servicio de bookings fallidos de PAM
|
@@ -0,0 +1,10 @@
|
|
1
|
+
#language: es
|
2
|
+
|
3
|
+
@commision_change
|
4
|
+
|
5
|
+
Característica: Consultar el servicio de comisiones especiales de PAM para verificar si cambiaron los coeficientes cargados.
|
6
|
+
|
7
|
+
Escenario: Invocar el servicio de comisiones especiales de PAM validando que hayan cambiado los porcentajes y la diferencia.
|
8
|
+
|
9
|
+
Dado que invoco al servicio de comisiones especiales de PAM
|
10
|
+
Entonces checkeo si cambiaron los coeficientes de comisiones.
|
@@ -31,13 +31,61 @@ def checkear_respuesta
|
|
31
31
|
|
32
32
|
puts items
|
33
33
|
|
34
|
+
@items = items
|
35
|
+
|
34
36
|
resultado = false
|
35
37
|
|
36
38
|
else
|
37
39
|
|
38
40
|
puts 'No hay reservas fallidas en PAM'
|
39
|
-
|
41
|
+
|
42
|
+
end
|
43
|
+
|
44
|
+
|
45
|
+
end
|
46
|
+
|
47
|
+
def enviar_alerta
|
48
|
+
#Envia un email de alerta cuando se registran nuevos bookings fallidos
|
49
|
+
|
50
|
+
semaphore = HTTParty.get("http://henry.despegar.com/api/monitoring/semaphores/status/55ca5f49e4b09c07e3b554cb")
|
51
|
+
execution = HTTParty.get("http://henry.despegar.com/api/executions/stats/55ca5600e4b09c07e3b554c7")
|
52
|
+
|
53
|
+
run_id = (execution['data']['runs'].to_a.size - 1)
|
54
|
+
|
55
|
+
last_execution = execution['data']['runs'][run_id]['executionInstanceId']
|
56
|
+
result = HTTParty.get("http://henry.despegar.com/api/results/#{last_execution}")
|
57
|
+
|
58
|
+
last_items = result['data'][0]['result']['tasks'][0][0]['returnedData']['output'][/\[(.*?)\]/, 1 ]
|
59
|
+
|
60
|
+
if semaphore['data']['statusHolder']['status']['status'] == 'ERROR'
|
61
|
+
|
62
|
+
if last_items.length < @items.to_s[/\[(.*?)\]/, 1 ].length
|
63
|
+
|
64
|
+
body_template = '<br><h2># Servicio de alerta de bookings fallidos de DS-PAM #</h2><br><b>Existen nuevas reservas fallidas / pendientes de emisión:</b><br><ul>'
|
65
|
+
|
66
|
+
@items.each do | item |
|
67
|
+
body_template = body_template + '<li>' + item.to_s + '</li>'
|
68
|
+
end
|
69
|
+
|
70
|
+
body_template = body_template + '</ul>'
|
71
|
+
|
72
|
+
|
73
|
+
mail = Mail.new do
|
74
|
+
from 'ds.test.alert@gmail.com'
|
75
|
+
to 'smendoza@despegar.com'
|
76
|
+
subject 'Nuevas reservas fallidas de DS-PAM'
|
77
|
+
|
78
|
+
html_part do
|
79
|
+
content_type 'text/html; charset=UTF-8'
|
80
|
+
body body_template
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
mail.deliver!
|
85
|
+
|
86
|
+
end
|
40
87
|
end
|
41
88
|
|
89
|
+
false
|
42
90
|
|
43
91
|
end
|
@@ -5,7 +5,9 @@ Dado(/^que invoco al servicio de bookings fallidos de PAM$/) do
|
|
5
5
|
end
|
6
6
|
|
7
7
|
Entonces(/^checkeo si hay bookings fallidos$/) do
|
8
|
-
checkear_respuesta
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
resultado = checkear_respuesta
|
9
|
+
##resultado.should be_truthy
|
10
|
+
if !resultado
|
11
|
+
enviar_alerta
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
#language: es
|
3
|
+
Dado(/^que invoco al servicio de consulta de comisiones especiales$/) do
|
4
|
+
commission_change
|
5
|
+
end
|
6
|
+
|
7
|
+
Entonces(/^checkeo si cambiaron los coeficientes de las comisiones$/) do
|
8
|
+
checkear_respuesta.should be_truthy
|
9
|
+
end
|
data/features/support/env.rb
CHANGED
@@ -13,7 +13,20 @@ require 'open-uri'
|
|
13
13
|
require 'byebug'
|
14
14
|
require 'minitest'
|
15
15
|
require 'rake'
|
16
|
+
require 'mail'
|
16
17
|
|
18
|
+
mail_options = {
|
19
|
+
:address => "smtp.gmail.com",
|
20
|
+
:port => 587,
|
21
|
+
:domain => 'gmail.com',
|
22
|
+
:user_name => 'ds.test.alert@gmail.com',
|
23
|
+
:password => 'dstestalert',
|
24
|
+
:authentication => 'plain',
|
25
|
+
:enable_starttls_auto => true }
|
26
|
+
|
27
|
+
Mail.defaults do
|
28
|
+
delivery_method :smtp, mail_options
|
29
|
+
end
|
17
30
|
|
18
31
|
begin
|
19
32
|
HENRY_PARAMS = Henry::Environment.params
|
@@ -27,6 +40,8 @@ rescue
|
|
27
40
|
$ENV = "rc"
|
28
41
|
end
|
29
42
|
|
43
|
+
|
44
|
+
|
30
45
|
#if (HENRY_PARAMS['env'].nil?)
|
31
46
|
# @navegador = [:firefox, :chrome].sample
|
32
47
|
|
data/henry-context.yml
CHANGED
@@ -18,4 +18,14 @@ tasks:
|
|
18
18
|
expand: true
|
19
19
|
reports:
|
20
20
|
- format: html
|
21
|
-
name: ${DATE}_${TASK_NAME}.html
|
21
|
+
name: ${DATE}_${TASK_NAME}.html
|
22
|
+
|
23
|
+
- name: commission_change
|
24
|
+
class_name: Henry::Task::CucumberTask
|
25
|
+
options:
|
26
|
+
tags:
|
27
|
+
- commission_change
|
28
|
+
expand: true
|
29
|
+
reports:
|
30
|
+
- format: html
|
31
|
+
name: ${DATE}_${TASK_NAME}.html
|
data/out.henry.orig
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
<<<<<<< HEAD
|
2
|
+
{"summary":{"total":1,"breakdownByStatusCode":{"OK":0,"ERROR":1,"WARNING":0}},"tasks":[[{"name":"pam_failed_bookings","code":"ERROR","message":"exit","returnedData":{"output":"#language: es\n\u001b[36m@pam_failed_bookings\u001b[0m\nCaracterística: Consultar el servicio de bookings fallidos de PAM para ver si existe alguno y generar una alarma para alertar de la situación.\n\n Escenario: Invocar el servicio de bookings fallidos de PAM validadndo que existan o no entradas.\u001b[90m # features/PAMFailedBookings.feature:7\u001b[0m\n \u001b[32mDado que invoco al servicio de bookings fallidos de PAM\u001b[90m # features/step_definitions/PAMFailedBookings_steps.rb:3\u001b[0m\u001b[0m\n \u001b[31mEntonces checkeo si hay bookings fallidos\u001b[90m # features/step_definitions/PAMFailedBookings_steps.rb:7\u001b[0m\u001b[0m\n \u001b[36mHay 1 reserva(s) fallidas en PAM\u001b[0m\n \u001b[36m[98236393]\u001b[0m\n\u001b[31m expected: truthy value\u001b[0m\n\u001b[31m got: false (RSpec::Expectations::ExpectationNotMetError)\u001b[0m\n\u001b[31m ./features/step_definitions/PAMFailedBookings_steps.rb:8:in `/^checkeo si hay bookings fallidos$/'\u001b[0m\n\u001b[31m features/PAMFailedBookings.feature:11:in `Entonces checkeo si hay bookings fallidos'\u001b[0m\n\n\u001b[31mFailing Scenarios:\u001b[0m\n\u001b[31mcucumber features/PAMFailedBookings.feature:7\u001b[0m\u001b[90m # Escenario: Invocar el servicio de bookings fallidos de PAM validadndo que existan o no entradas.\u001b[0m\n\n1 scenario (\u001b[31m1 failed\u001b[0m)\n2 steps (\u001b[31m1 failed\u001b[0m, \u001b[32m1 passed\u001b[0m)\n0m0.482s\n","backtrace":["/home/smendoza/.rvm/gems/ruby-2.2.2/gems/cucumber-2.0.2/lib/cucumber/rake/task.rb:94:in `exit'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/cucumber-2.0.2/lib/cucumber/rake/task.rb:94:in `block in run'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/file_utils.rb:57:in `call'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/file_utils.rb:57:in `sh'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/file_utils_ext.rb:37:in `sh'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/cucumber-2.0.2/lib/cucumber/rake/task.rb:92:in `run'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/cucumber-2.0.2/lib/cucumber/rake/task.rb:143:in `block in define_task'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:240:in `call'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:235:in `each'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:235:in `execute'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'","/home/smendoza/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/henry-container-0.1.14/lib/henry/task/rake_task.rb:23:in `execute'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/henry-container-0.1.14/lib/henry/container.rb:35:in `block (2 levels) in execute'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/henry-container-0.1.14/lib/henry/container.rb:28:in `each'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/henry-container-0.1.14/lib/henry/container.rb:28:in `block in execute'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/henry-container-0.1.14/lib/henry/container.rb:25:in `each'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/henry-container-0.1.14/lib/henry/container.rb:25:in `each_with_index'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/henry-container-0.1.14/lib/henry/container.rb:25:in `execute'","/home/smendoza/.rvm/gems/ruby-2.2.2/gems/henry-container-0.1.14/bin/henry-ruby-container:28:in `<top (required)>'","/home/smendoza/.rvm/gems/ruby-2.2.2/bin/henry-ruby-container:23:in `load'","/home/smendoza/.rvm/gems/ruby-2.2.2/bin/henry-ruby-container:23:in `<main>'","/home/smendoza/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'","/home/smendoza/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'"]},"log":{},"worker":"smendoza-ThinkPad-Edge","parameters":{"env":"rc"}}]]}
|
3
|
+
=======
|
4
|
+
{"summary":{"total":1,"breakdownByStatusCode":{"OK":1,"ERROR":0,"WARNING":0}},"tasks":[[{"name":"quota_media","code":"OK","message":"OK","returnedData":{"output":"#language: es\n\u001b[36m@quota_media\u001b[0m\nCaracterística: Verificar la mediante servicio la quota de media, de este modo poder realizar una alarma cuando se llegue al límite\n\n Escenario: Invocar el servicio de quota media validando que el valor de used sea inferior al de total.\u001b[90m # features/quotamedia.feature:7\u001b[0m\n \u001b[32mDado que invoco al servicio de quota de media\u001b[90m # features/step_definitions/servicios_steps.rb:3\u001b[0m\u001b[0m\n \u001b[32mEntonces verifico el estado de la quota\u001b[90m # features/step_definitions/servicios_steps.rb:7\u001b[0m\u001b[0m\n \u001b[36mTodo bien\u001b[0m\n\n1 scenario (\u001b[32m1 passed\u001b[0m)\n2 steps (\u001b[32m2 passed\u001b[0m)\n0m0.315s\n","backtrace":null},"log":{},"worker":"jdelrio-530U3C-530U4C","parameters":{"env":"rc"}}]]}
|
5
|
+
>>>>>>> 52774100463d3c5af0007f9c1cf30ddcb90ad1dc
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ds_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DS QA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -185,6 +185,7 @@ executables: []
|
|
185
185
|
extensions: []
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
|
+
- ".bashrc"
|
188
189
|
- ".gitignore"
|
189
190
|
- ".henry/reports/html/2015-08-11T181012_quotamedia.html"
|
190
191
|
- ".henry/reports/html/2015-08-13T161030_quota_media.html"
|
@@ -195,16 +196,21 @@ files:
|
|
195
196
|
- ".henry/reports/html/2015-09-25T112623_pam_failed_bookings.html"
|
196
197
|
- Gemfile
|
197
198
|
- Gemfile.lock
|
199
|
+
- Gemfile.lock.orig
|
198
200
|
- README.md
|
199
201
|
- Rakefile
|
200
202
|
- cucumber.out
|
203
|
+
- cucumber.out.orig
|
201
204
|
- ds_test-0.0.4.gem
|
202
205
|
- ds_test.gemspec
|
206
|
+
- failedbookings_alert
|
203
207
|
- features/PAMFailedBookings.feature
|
208
|
+
- features/commissionChange
|
204
209
|
- features/methods/PAMFailedBookings_actions.rb
|
205
210
|
- features/methods/actions_media.rb
|
206
211
|
- features/quotamedia.feature
|
207
212
|
- features/step_definitions/PAMFailedBookings_steps.rb
|
213
|
+
- features/step_definitions/commissionChange_steps
|
208
214
|
- features/step_definitions/servicios_steps.rb
|
209
215
|
- features/support/env.rb
|
210
216
|
- henry-context.yml
|
@@ -215,6 +221,7 @@ files:
|
|
215
221
|
- log/PAMFailedBookings250920151127.html
|
216
222
|
- log/PAMFailedBookings250920151128.html
|
217
223
|
- out.henry
|
224
|
+
- out.henry.orig
|
218
225
|
homepage:
|
219
226
|
licenses: []
|
220
227
|
metadata: {}
|
@@ -240,9 +247,11 @@ specification_version: 4
|
|
240
247
|
summary: Test automatizados
|
241
248
|
test_files:
|
242
249
|
- features/PAMFailedBookings.feature
|
250
|
+
- features/commissionChange
|
243
251
|
- features/methods/PAMFailedBookings_actions.rb
|
244
252
|
- features/methods/actions_media.rb
|
245
253
|
- features/quotamedia.feature
|
246
254
|
- features/step_definitions/PAMFailedBookings_steps.rb
|
255
|
+
- features/step_definitions/commissionChange_steps
|
247
256
|
- features/step_definitions/servicios_steps.rb
|
248
257
|
- features/support/env.rb
|