ds-gui-automation 0.1.47 → 0.1.48

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.
@@ -19,15 +19,15 @@ Then(/^I should see an acceptable percentage of reservations cancelled in collec
19
19
  day_index = (@@day_call['cancelled_in_collection'].to_f / @@day_call['created'].to_f) * 100
20
20
 
21
21
  if country == 'AR'
22
- ((day_index - month_index) <= 3).should be_true
22
+ ((day_index - month_index) < 3).should be_true
23
23
  puts "Porcentaje setteado ==> 3%"
24
24
  end
25
25
  if country == 'BR'
26
- ((day_index - month_index) <= 5).should be_true
26
+ ((day_index - month_index) < 5).should be_true
27
27
  puts "Porcentaje setteado ==> 5%"
28
28
  end
29
29
 
30
- puts "Porcentaje devuelto ==> #{day_index}"
30
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
31
31
 
32
32
  end
33
33
 
@@ -38,15 +38,15 @@ Then(/^I should see an acceptable percentage of reservations cancelled in issue
38
38
  day_index = (@@day_call['cancelled_in_issuance'].to_f / @@day_call['created'].to_f) * 100
39
39
 
40
40
  if country == 'AR'
41
- ((day_index - month_index) <= 1).should be_true
41
+ ((day_index - month_index) < 1).should be_true
42
42
  puts "Porcentaje setteado ==> 1%"
43
43
  end
44
44
  if country == 'BR'
45
- ((day_index - month_index) <= 1).should be_true
45
+ ((day_index - month_index) < 1).should be_true
46
46
  puts "Porcentaje setteado ==> 1%"
47
47
  end
48
48
 
49
- puts "Porcentaje devuelto ==> #{day_index}"
49
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
50
50
 
51
51
  end
52
52
 
@@ -57,15 +57,15 @@ Then(/^I should see an acceptable percentage of reservations cancelled in VCC fo
57
57
  day_index = (@@day_call['error_vcc'].to_f / @@day_call['created'].to_f) * 100
58
58
 
59
59
  if country == 'AR'
60
- ((day_index - month_index) <= 1).should be_true
60
+ ((day_index - month_index) < 1).should be_true
61
61
  puts "Porcentaje setteado ==> 1%"
62
62
  end
63
63
  if country == 'BR'
64
- ((day_index - month_index) <= 1).should be_true
64
+ ((day_index - month_index) < 1).should be_true
65
65
  puts "Porcentaje setteado ==> 1%"
66
66
  end
67
67
 
68
- puts "Porcentaje devuelto ==> #{day_index}"
68
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
69
69
 
70
70
  end
71
71
 
@@ -76,15 +76,15 @@ Then(/^I should see an acceptable percentage of successful reservations for "(.*
76
76
  day_index = (@@day_call['issued'].to_f / @@day_call['created'].to_f) * 100
77
77
 
78
78
  if country == 'AR'
79
- ((day_index - month_index) <= 10).should be_true
79
+ ((day_index - month_index) < 10).should be_true
80
80
  puts "Porcentaje setteado ==> 10%"
81
81
  end
82
82
  if country == 'BR'
83
- ((day_index - month_index) <= 10).should be_true
83
+ ((day_index - month_index) < 10).should be_true
84
84
  puts "Porcentaje setteado ==> 10%"
85
85
  end
86
86
 
87
- puts "Porcentaje devuelto ==> #{day_index}"
87
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
88
88
 
89
89
  end
90
90
 
@@ -95,14 +95,14 @@ Then(/^I should see an acceptable percentage of reservations in others for "(.*)
95
95
  day_index = (@@day_call['others'].to_f / @@day_call['created'].to_f) * 100
96
96
 
97
97
  if country == 'AR'
98
- ((day_index - month_index) <= 15).should be_true
98
+ ((day_index - month_index) < 15).should be_true
99
99
  puts "Porcentaje setteado ==> 15%"
100
100
  end
101
101
  if country == 'BR'
102
- ((day_index - month_index) <= 15).should be_true
102
+ ((day_index - month_index) < 15).should be_true
103
103
  puts "Porcentaje setteado ==> 15%"
104
104
  end
105
105
 
106
- puts "Porcentaje devuelto ==> #{day_index}"
106
+ puts "Porcentaje devuelto ==> #{day_index - month_index}%"
107
107
 
108
108
  end
data/lib/ds/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DestinationServicesGUI
2
- VERSION = "0.1.47"
2
+ VERSION = "0.1.48"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds-gui-automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.47
4
+ version: 0.1.48
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: