Ifd_Automation 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/Ifd_Automation/version.rb +1 -1
- data/lib/Ifd_Automation/web_steps_helper.rb +113 -117
- data/project/Gemfile +1 -0
- data/project/Gemfile.lock +3 -1
- data/project/Rakefile +7 -16
- data/project/config/options.config +5 -0
- data/project/features/TestSuite/WebGUI.feature +3 -2
- data/project/features/step_definitions/lib_steps/steps_definition.rb +13 -3
- data/project/features/step_definitions/repositories/project_object.yml +155 -2
- data/project/features/support/env.rb +52 -47
- data/project/features/support/hooks.rb +110 -17
- data/project/features/support/itms_action.rb +9 -6
- metadata +22 -34
- data/project/Reports/anhpham/TEST-features-TestSuite-WebGUI.xml +0 -23
- data/project/Reports/anhpham/TEST-features-TestSuite-WebGUI_copy.xml +0 -23
- data/project/Reports/anhpham/abc_report.html +0 -172
- data/project/Reports/anhpham/abc_report.json +0 -210
- data/project/config/local_browser_config.yml +0 -9
- data/project/config/server_browser_config.yml +0 -11
@@ -5,15 +5,18 @@ class ITMS
|
|
5
5
|
begin
|
6
6
|
res = Net::HTTP.get_response(uri)
|
7
7
|
rescue SocketError
|
8
|
-
puts
|
9
|
-
|
8
|
+
puts "❌ ERROR: Network connectivity issue"
|
9
|
+
exit(1)
|
10
10
|
rescue Errno::ECONNREFUSED => e
|
11
|
-
puts
|
12
|
-
puts e.message
|
11
|
+
puts "❌ ERROR: The server is down."
|
12
|
+
puts "❌ ERROR: #{e.message}"
|
13
|
+
exit(1)
|
13
14
|
rescue Timeout::Error => e
|
14
|
-
puts
|
15
|
-
puts e.message
|
15
|
+
puts "❌ ERROR: Timeout error occurred."
|
16
|
+
puts "❌ ERROR: #{e.message}"
|
17
|
+
exit(1)
|
16
18
|
# Retry a few times and fail with timeout error message
|
17
19
|
end
|
18
20
|
end
|
21
|
+
|
19
22
|
end
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Ifd_Automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anh Pham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.6'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 3.6.0
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.6'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3.6'
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 3.6.0
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.6'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: cucumber
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,20 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 2.7.1
|
53
|
+
version: 3.29.0
|
57
54
|
type: :runtime
|
58
55
|
prerelease: false
|
59
56
|
version_requirements: !ruby/object:Gem::Requirement
|
60
57
|
requirements:
|
61
58
|
- - "~>"
|
62
59
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 2.7.1
|
60
|
+
version: 3.29.0
|
67
61
|
- !ruby/object:Gem::Dependency
|
68
62
|
name: net-ssh
|
69
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,22 +124,22 @@ dependencies:
|
|
130
124
|
name: rspec
|
131
125
|
requirement: !ruby/object:Gem::Requirement
|
132
126
|
requirements:
|
133
|
-
- - "~>"
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version: '3.8'
|
136
127
|
- - ">="
|
137
128
|
- !ruby/object:Gem::Version
|
138
129
|
version: 3.8.0
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '3.8'
|
139
133
|
type: :runtime
|
140
134
|
prerelease: false
|
141
135
|
version_requirements: !ruby/object:Gem::Requirement
|
142
136
|
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '3.8'
|
146
137
|
- - ">="
|
147
138
|
- !ruby/object:Gem::Version
|
148
139
|
version: 3.8.0
|
140
|
+
- - "~>"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '3.8'
|
149
143
|
- !ruby/object:Gem::Dependency
|
150
144
|
name: parallel_tests
|
151
145
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,20 +164,20 @@ dependencies:
|
|
170
164
|
name: report_builder
|
171
165
|
requirement: !ruby/object:Gem::Requirement
|
172
166
|
requirements:
|
173
|
-
- - "
|
167
|
+
- - ">="
|
174
168
|
- !ruby/object:Gem::Version
|
175
169
|
version: '1.8'
|
176
|
-
- - "
|
170
|
+
- - "~>"
|
177
171
|
- !ruby/object:Gem::Version
|
178
172
|
version: '1.8'
|
179
173
|
type: :runtime
|
180
174
|
prerelease: false
|
181
175
|
version_requirements: !ruby/object:Gem::Requirement
|
182
176
|
requirements:
|
183
|
-
- - "
|
177
|
+
- - ">="
|
184
178
|
- !ruby/object:Gem::Version
|
185
179
|
version: '1.8'
|
186
|
-
- - "
|
180
|
+
- - "~>"
|
187
181
|
- !ruby/object:Gem::Version
|
188
182
|
version: '1.8'
|
189
183
|
- !ruby/object:Gem::Dependency
|
@@ -242,12 +236,7 @@ files:
|
|
242
236
|
- project/Gemfile.lock
|
243
237
|
- project/README.md
|
244
238
|
- project/Rakefile
|
245
|
-
- project/
|
246
|
-
- project/Reports/anhpham/TEST-features-TestSuite-WebGUI_copy.xml
|
247
|
-
- project/Reports/anhpham/abc_report.html
|
248
|
-
- project/Reports/anhpham/abc_report.json
|
249
|
-
- project/config/local_browser_config.yml
|
250
|
-
- project/config/server_browser_config.yml
|
239
|
+
- project/config/options.config
|
251
240
|
- project/cucumber.yml
|
252
241
|
- project/features/TestData/globalData.yml
|
253
242
|
- project/features/TestSuite/WebGUI.feature
|
@@ -275,8 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
264
|
- !ruby/object:Gem::Version
|
276
265
|
version: '0'
|
277
266
|
requirements: []
|
278
|
-
|
279
|
-
rubygems_version: 2.5.2.3
|
267
|
+
rubygems_version: 3.0.6
|
280
268
|
signing_key:
|
281
269
|
specification_version: 4
|
282
270
|
summary: SELENIUM WEBDRIVER WITH RUBY & CUCUMBER
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<testsuite failures="1" errors="0" skipped="0" tests="1" time="0.037083" name="feature 2">
|
3
|
-
<testcase classname="feature 2" name="scenario 2" time="0.037083">
|
4
|
-
<failure message="failed scenario 2" type="failed">
|
5
|
-
<![CDATA[Scenario: scenario 2
|
6
|
-
|
7
|
-
Before hook at features/support/hooks.rb:1
|
8
|
-
|
9
|
-
Message:
|
10
|
-
]]>
|
11
|
-
<![CDATA[
|
12
|
-
>>> Error: undefined method `capabilities' for ["browserName: firefox", "record_video: MAC OSX 10"]:Array (RuntimeError)
|
13
|
-
./features/support/hooks.rb:7:in `rescue in block in <top (required)>'
|
14
|
-
./features/support/hooks.rb:2:in `Before']]>
|
15
|
-
</failure>
|
16
|
-
<system-out>
|
17
|
-
<![CDATA[]]>
|
18
|
-
</system-out>
|
19
|
-
<system-err>
|
20
|
-
<![CDATA[]]>
|
21
|
-
</system-err>
|
22
|
-
</testcase>
|
23
|
-
</testsuite>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<testsuite failures="1" errors="0" skipped="0" tests="1" time="0.002251" name="feature 1">
|
3
|
-
<testcase classname="feature 1" name="scenario 1" time="0.002251">
|
4
|
-
<failure message="failed scenario 1" type="failed">
|
5
|
-
<![CDATA[Scenario: scenario 1
|
6
|
-
|
7
|
-
Before hook at features/support/hooks.rb:1
|
8
|
-
|
9
|
-
Message:
|
10
|
-
]]>
|
11
|
-
<![CDATA[
|
12
|
-
>>> Error: undefined method `capabilities' for ["browserName: firefox", "record_video: MAC OSX 10"]:Array (RuntimeError)
|
13
|
-
./features/support/hooks.rb:7:in `rescue in block in <top (required)>'
|
14
|
-
./features/support/hooks.rb:2:in `Before']]>
|
15
|
-
</failure>
|
16
|
-
<system-out>
|
17
|
-
<![CDATA[]]>
|
18
|
-
</system-out>
|
19
|
-
<system-err>
|
20
|
-
<![CDATA[]]>
|
21
|
-
</system-err>
|
22
|
-
</testcase>
|
23
|
-
</testsuite>
|
@@ -1,172 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>INFOdation Test Management System</title><link rel="icon" href="https://reportbuilder.rajatthareja.com/rb.ico">
|
6
|
-
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
7
|
-
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">
|
8
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
|
9
|
-
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.8/css/report.builder.min.css" rel="stylesheet">
|
10
|
-
</head><body>
|
11
|
-
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
12
|
-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
|
13
|
-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.min.js"></script>
|
14
|
-
<script type="text/javascript" src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script><header class="blue lighten-5">
|
15
|
-
<div class="row blue lighten-1">
|
16
|
-
<div class="col m6 hide-on-small-only">
|
17
|
-
<h5 class="truncate white-text tooltipped" data-tooltip="INFOdation Test Management System">INFOdation Test Management System</h5>
|
18
|
-
</div><div class="col m6 s12 blue lighten-1">
|
19
|
-
<ul class="tabs blue lighten-1 row" style="overflow-x: hidden">
|
20
|
-
<li class="tab col s3">
|
21
|
-
<a class="blue lighten-3 active blue-text waves-effect waves-light tooltipped" data-tooltip="Results Overview" href="#overview"><i class="material-icons">assessment</i> Overview</a>
|
22
|
-
</li>
|
23
|
-
<li class="tab col s3">
|
24
|
-
<a class="blue lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Scenarios by Features" href="#features"><i class="material-icons">view_headline</i> Features</a>
|
25
|
-
</li>
|
26
|
-
<li class="tab col s3">
|
27
|
-
<a class="blue lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Scenarios Summary Table" href="#summary"><i class="material-icons">view_comfy</i> Summary</a>
|
28
|
-
</li>
|
29
|
-
<li class="tab col s3">
|
30
|
-
<a class="blue lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Failed Scenarios" href="#errors"><i class="material-icons">bug_report</i> Errors</a>
|
31
|
-
</li>
|
32
|
-
</ul>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
</header>
|
36
|
-
<div id="g0f0s0" class="modal modal-fixed-footer">
|
37
|
-
<div class="modal-content"><h5>scenario 1 (0.002s)</h5>
|
38
|
-
features/TestSuite/WebGUI_copy.feature:2<pre>
|
39
|
-
>>> Error: undefined method `capabilities' for ["browserName: firefox", "record_video: MAC OSX 10"]:Array (RuntimeError)
|
40
|
-
./features/support/hooks.rb:7:in `rescue in block in <top (required)>'
|
41
|
-
./features/support/hooks.rb:2:in `Before'</pre><ul class="collection stepList"><li class="collection-item step skipped">
|
42
|
-
<b>Given </b> I open the page "http://rubygems.org" (0.000s)</li>
|
43
|
-
</ul>
|
44
|
-
</div><div class="modal-footer">
|
45
|
-
<span class="modal-action modal-close waves-effect waves-green btn-flat"><i class="material-icons">close</i></span>
|
46
|
-
</div>
|
47
|
-
</div><div id="g0f1s0" class="modal modal-fixed-footer">
|
48
|
-
<div class="modal-content"><div class="chip"><i class="material-icons rotate-45">label</i>@test1</div><h5>scenario 2 (0.017s)</h5>
|
49
|
-
features/TestSuite/WebGUI.feature:3<pre>
|
50
|
-
>>> Error: undefined method `capabilities' for ["browserName: firefox", "record_video: MAC OSX 10"]:Array (RuntimeError)
|
51
|
-
./features/support/hooks.rb:7:in `rescue in block in <top (required)>'
|
52
|
-
./features/support/hooks.rb:2:in `Before'</pre><ul class="collection stepList"><li class="collection-item step skipped">
|
53
|
-
<b>Given </b> I open the page "http://infodation.vn" (0.000s)</li>
|
54
|
-
</ul>
|
55
|
-
</div><div class="modal-footer">
|
56
|
-
<span class="modal-action modal-close waves-effect waves-green btn-flat"><i class="material-icons">close</i></span>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
<script type="text/javascript">
|
60
|
-
$(document).ready(function () {$('#g0f0s0').modal();$('#g0f0s1').modal();$('#g0f1s0').modal();$('#g0f1s1').modal();});
|
61
|
-
</script>
|
62
|
-
<main class="blue lighten-5">
|
63
|
-
<div class="row"><div id="overview" class="col s12 blue lighten-5">
|
64
|
-
<div class="row">
|
65
|
-
<div class="col m4 s12">
|
66
|
-
<canvas id="featuresDoughnut" width="400" height="400"></canvas>
|
67
|
-
<table id="metaDataFeatures" class="bordered">
|
68
|
-
<tbody></tbody>
|
69
|
-
</table>
|
70
|
-
</div><div class="col m4 s12">
|
71
|
-
<canvas id="scenariosDoughnut" width="400" height="400"></canvas>
|
72
|
-
<table id="metaDataScenarios" class="bordered">
|
73
|
-
<tbody></tbody>
|
74
|
-
</table>
|
75
|
-
</div><div class="col m4 s12">
|
76
|
-
<table id="metaData" class="bordered">
|
77
|
-
<tbody>
|
78
|
-
<tr><th>Total Time</th><td>0.019s</td></tr><tr>
|
79
|
-
<th>Browser</th>
|
80
|
-
<td></td>
|
81
|
-
</tr><tr>
|
82
|
-
<th>Platform</th>
|
83
|
-
<td></td>
|
84
|
-
</tr><tr>
|
85
|
-
<th>Browser Version</th>
|
86
|
-
<td></td>
|
87
|
-
</tr><tr>
|
88
|
-
<th>Report Generated</th>
|
89
|
-
<td>2019-08-07 08:22:04 UTC</td>
|
90
|
-
</tr></tbody>
|
91
|
-
</table>
|
92
|
-
</div>
|
93
|
-
</div></div><div id="features" class="col s12 blue lighten-5 white-text">
|
94
|
-
<ul class="featureList collapsible popout" data-collapsible="expandable">
|
95
|
-
<li class="feature broken">
|
96
|
-
<div class="collapsible-header blue lighten-1 waves-effect waves-light">
|
97
|
-
<i class="material-icons">featured_play_list</i>
|
98
|
-
<b>Feature</b> feature 1 (0.002s)
|
99
|
-
</div><div class="collapsible-body blue lighten-4">
|
100
|
-
<ul class="collection scenarioList"><li class="collection-item scenario failed">
|
101
|
-
<a class="waves-effect waves-light modal-trigger white-text" href="#g0f0s0">
|
102
|
-
<b>Scenario</b> scenario 1 (0.002s)
|
103
|
-
</a>
|
104
|
-
</li></ul>
|
105
|
-
</div>
|
106
|
-
</li><li class="feature broken">
|
107
|
-
<div class="collapsible-header blue lighten-1 waves-effect waves-light">
|
108
|
-
<i class="material-icons">featured_play_list</i>
|
109
|
-
<b>Feature</b> feature 2 (0.017s)
|
110
|
-
</div><div class="collapsible-body blue lighten-4">
|
111
|
-
<ul class="collection scenarioList"><li class="collection-item scenario failed">
|
112
|
-
<a class="waves-effect waves-light modal-trigger white-text" href="#g0f1s0">
|
113
|
-
<b>Scenario</b> scenario 2 (0.017s)
|
114
|
-
</a>
|
115
|
-
</li></ul>
|
116
|
-
</div>
|
117
|
-
</li>
|
118
|
-
</ul></div><div id="summary" class="col s12 blue lighten-5">
|
119
|
-
<table id="summaryTable" class="bordered blue lighten-1 white-text" width="100%">
|
120
|
-
<thead>
|
121
|
-
<tr>
|
122
|
-
<th class="hide-on-small-only">Feature</th>
|
123
|
-
<th>Scenario</th>
|
124
|
-
<th class="hide">Tags</th>
|
125
|
-
<th>Status</th>
|
126
|
-
<th class="hide-on-small-only">Error</th>
|
127
|
-
</tr>
|
128
|
-
</thead>
|
129
|
-
<tbody><tr class="failed">
|
130
|
-
<td class="hide-on-small-only">
|
131
|
-
feature 1
|
132
|
-
</td><td class="hoverable">
|
133
|
-
<a class="modal-trigger white-text" href="#g0f0s0">scenario 1</a>
|
134
|
-
</td><td class="hide"></td><td class="uppercase">
|
135
|
-
failed
|
136
|
-
</td><td class="hide-on-small-only"></td></tr>
|
137
|
-
<tr class="failed">
|
138
|
-
<td class="hide-on-small-only">
|
139
|
-
feature 2
|
140
|
-
</td><td class="hoverable">
|
141
|
-
<a class="modal-trigger white-text" href="#g0f1s0">scenario 2</a>
|
142
|
-
</td><td class="hide">
|
143
|
-
@test1.
|
144
|
-
</td><td class="uppercase">
|
145
|
-
failed
|
146
|
-
</td><td class="hide-on-small-only"></td></tr>
|
147
|
-
</tbody>
|
148
|
-
</table></div><div id="errors" class="col s12 blue lighten-5">
|
149
|
-
<ul class="errorList collapsible popout" data-collapsible="expandable"><li class="error">
|
150
|
-
<div class="collapsible-header red lighten-2 white-text waves-effect waves-light">
|
151
|
-
<i class="material-icons">bug_report</i>
|
152
|
-
</div><div class="collapsible-body blue lighten-4">
|
153
|
-
<ul class="collection failedScenarioList">
|
154
|
-
<li class="collection-item failedScenario blue lighten-5 red-text">
|
155
|
-
<i class="material-icons">highlight_off</i> <a class="modal-trigger red-text" href="#g0f0s0">scenario 1</a>
|
156
|
-
</li><li class="collection-item failedScenario blue lighten-5 red-text">
|
157
|
-
<i class="material-icons">highlight_off</i> <a class="modal-trigger red-text" href="#g0f1s0">scenario 2</a>
|
158
|
-
</li>
|
159
|
-
</ul>
|
160
|
-
</div>
|
161
|
-
</li>
|
162
|
-
</ul></div>
|
163
|
-
</div>
|
164
|
-
</main><footer class="page-footer blue lighten-4">
|
165
|
-
<div class="footer-copyright blue lighten-1">
|
166
|
-
<div class="container">
|
167
|
-
Happy Reporting!
|
168
|
-
<a class="white-text text-lighten-4 right" href="https://reportbuilder.rajatthareja.com">Generated by Report Builder</a>
|
169
|
-
</div>
|
170
|
-
</div>
|
171
|
-
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.8/js/report.builder.min.js"></script></body>
|
172
|
-
</html>
|
@@ -1,210 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"uri": "features/TestSuite/WebGUI_copy.feature",
|
4
|
-
"id": "feature-1",
|
5
|
-
"keyword": "Feature",
|
6
|
-
"name": "feature 1",
|
7
|
-
"description": "",
|
8
|
-
"line": 1,
|
9
|
-
"elements": [
|
10
|
-
{
|
11
|
-
"id": "feature-1;scenario-1",
|
12
|
-
"keyword": "Scenario",
|
13
|
-
"name": "scenario 1",
|
14
|
-
"description": "",
|
15
|
-
"line": 2,
|
16
|
-
"type": "scenario",
|
17
|
-
"before": [
|
18
|
-
{
|
19
|
-
"match": {
|
20
|
-
"location": "capybara-2.18.0/lib/capybara/cucumber.rb:13"
|
21
|
-
},
|
22
|
-
"result": {
|
23
|
-
"status": "passed",
|
24
|
-
"duration": 12000
|
25
|
-
},
|
26
|
-
"status": "passed",
|
27
|
-
"duration": 12000
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"match": {
|
31
|
-
"location": "capybara-2.18.0/lib/capybara/cucumber.rb:21"
|
32
|
-
},
|
33
|
-
"result": {
|
34
|
-
"status": "passed",
|
35
|
-
"duration": 8000
|
36
|
-
},
|
37
|
-
"status": "passed",
|
38
|
-
"duration": 8000
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"match": {
|
42
|
-
"location": "features/support/hooks.rb:1"
|
43
|
-
},
|
44
|
-
"result": {
|
45
|
-
"status": "failed",
|
46
|
-
"error_message": "\n>>> Error: undefined method `capabilities' for [\"browserName: firefox\", \"record_video: MAC OSX 10\"]:Array (RuntimeError)\n./features/support/hooks.rb:7:in `rescue in block in <top (required)>'\n./features/support/hooks.rb:2:in `Before'",
|
47
|
-
"duration": 1633000
|
48
|
-
},
|
49
|
-
"status": "failed",
|
50
|
-
"duration": 1633000
|
51
|
-
}
|
52
|
-
],
|
53
|
-
"steps": [
|
54
|
-
{
|
55
|
-
"keyword": "Given ",
|
56
|
-
"name": "I open the page "http://rubygems.org"",
|
57
|
-
"line": 3,
|
58
|
-
"match": {
|
59
|
-
"location": "features/step_definitions/lib_steps/steps_definition.rb:1"
|
60
|
-
},
|
61
|
-
"result": {
|
62
|
-
"status": "skipped",
|
63
|
-
"duration": 0
|
64
|
-
},
|
65
|
-
"status": "skipped",
|
66
|
-
"duration": 0
|
67
|
-
}
|
68
|
-
],
|
69
|
-
"after": [
|
70
|
-
{
|
71
|
-
"match": {
|
72
|
-
"location": "features/support/hooks.rb:11"
|
73
|
-
},
|
74
|
-
"result": {
|
75
|
-
"status": "passed",
|
76
|
-
"duration": 9000
|
77
|
-
},
|
78
|
-
"status": "passed",
|
79
|
-
"duration": 9000
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"match": {
|
83
|
-
"location": "capybara-2.18.0/lib/capybara/cucumber.rb:9"
|
84
|
-
},
|
85
|
-
"result": {
|
86
|
-
"status": "passed",
|
87
|
-
"duration": 8000
|
88
|
-
},
|
89
|
-
"status": "passed",
|
90
|
-
"duration": 8000
|
91
|
-
}
|
92
|
-
],
|
93
|
-
"status": "failed",
|
94
|
-
"duration": 1670000
|
95
|
-
}
|
96
|
-
],
|
97
|
-
"status": "broken",
|
98
|
-
"duration": 1670000
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"uri": "features/TestSuite/WebGUI.feature",
|
102
|
-
"id": "feature-2",
|
103
|
-
"keyword": "Feature",
|
104
|
-
"name": "feature 2",
|
105
|
-
"description": "",
|
106
|
-
"line": 2,
|
107
|
-
"tags": [
|
108
|
-
{
|
109
|
-
"name": "@test1",
|
110
|
-
"line": 1
|
111
|
-
}
|
112
|
-
],
|
113
|
-
"elements": [
|
114
|
-
{
|
115
|
-
"id": "feature-2;scenario-2",
|
116
|
-
"keyword": "Scenario",
|
117
|
-
"name": "scenario 2",
|
118
|
-
"description": "",
|
119
|
-
"line": 3,
|
120
|
-
"type": "scenario",
|
121
|
-
"tags": [
|
122
|
-
{
|
123
|
-
"name": "@test1",
|
124
|
-
"line": 1
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"before": [
|
128
|
-
{
|
129
|
-
"match": {
|
130
|
-
"location": "capybara-2.18.0/lib/capybara/cucumber.rb:13"
|
131
|
-
},
|
132
|
-
"result": {
|
133
|
-
"status": "passed",
|
134
|
-
"duration": 27000
|
135
|
-
},
|
136
|
-
"status": "passed",
|
137
|
-
"duration": 27000
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"match": {
|
141
|
-
"location": "capybara-2.18.0/lib/capybara/cucumber.rb:21"
|
142
|
-
},
|
143
|
-
"result": {
|
144
|
-
"status": "passed",
|
145
|
-
"duration": 26000
|
146
|
-
},
|
147
|
-
"status": "passed",
|
148
|
-
"duration": 26000
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"match": {
|
152
|
-
"location": "features/support/hooks.rb:1"
|
153
|
-
},
|
154
|
-
"result": {
|
155
|
-
"status": "failed",
|
156
|
-
"error_message": "\n>>> Error: undefined method `capabilities' for [\"browserName: firefox\", \"record_video: MAC OSX 10\"]:Array (RuntimeError)\n./features/support/hooks.rb:7:in `rescue in block in <top (required)>'\n./features/support/hooks.rb:2:in `Before'",
|
157
|
-
"duration": 16768000
|
158
|
-
},
|
159
|
-
"status": "failed",
|
160
|
-
"duration": 16768000
|
161
|
-
}
|
162
|
-
],
|
163
|
-
"steps": [
|
164
|
-
{
|
165
|
-
"keyword": "Given ",
|
166
|
-
"name": "I open the page "http://infodation.vn"",
|
167
|
-
"line": 4,
|
168
|
-
"match": {
|
169
|
-
"location": "features/step_definitions/lib_steps/steps_definition.rb:1"
|
170
|
-
},
|
171
|
-
"result": {
|
172
|
-
"status": "skipped",
|
173
|
-
"duration": 0
|
174
|
-
},
|
175
|
-
"status": "skipped",
|
176
|
-
"duration": 0
|
177
|
-
}
|
178
|
-
],
|
179
|
-
"after": [
|
180
|
-
{
|
181
|
-
"match": {
|
182
|
-
"location": "features/support/hooks.rb:11"
|
183
|
-
},
|
184
|
-
"result": {
|
185
|
-
"status": "passed",
|
186
|
-
"duration": 17000
|
187
|
-
},
|
188
|
-
"status": "passed",
|
189
|
-
"duration": 17000
|
190
|
-
},
|
191
|
-
{
|
192
|
-
"match": {
|
193
|
-
"location": "capybara-2.18.0/lib/capybara/cucumber.rb:9"
|
194
|
-
},
|
195
|
-
"result": {
|
196
|
-
"status": "passed",
|
197
|
-
"duration": 14000
|
198
|
-
},
|
199
|
-
"status": "passed",
|
200
|
-
"duration": 14000
|
201
|
-
}
|
202
|
-
],
|
203
|
-
"status": "failed",
|
204
|
-
"duration": 16852000
|
205
|
-
}
|
206
|
-
],
|
207
|
-
"status": "broken",
|
208
|
-
"duration": 16852000
|
209
|
-
}
|
210
|
-
]
|