parallel_report_portal 2.0.1 → 2.0.2

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
  SHA256:
3
- metadata.gz: 4e7791266b8182c87f0456af3f5a473d9757290a0d7c753753db088413aec9d5
4
- data.tar.gz: c96a4e60af404fc80d9fa8427b2cc6dd1080871f1cdc9873c3834d0c7f3b59f2
3
+ metadata.gz: 0add9e8d3a73f7dc7886490f11a20c8d1b50ac9dda6a9421a8d8d0bb747ab039
4
+ data.tar.gz: 25a678c5e5e6924427b1c63903ced4289de914888d095dd13d710b718209cc08
5
5
  SHA512:
6
- metadata.gz: a2ce25379d17872648ce74db6b68f12d4e799d0c18b2eccf03d49a0ee8b14a9ecd7d30f02652667598687f26afa03d2c138ceb2988ac461ce223465019d2f91c
7
- data.tar.gz: 91ad9f32747f427aefc47d29f751efd422fb300836fe054b6bb5e7965ffa430b272eb928d6661b490efecba2b3916262f57c81477a1fb9a5685936148c595af9
6
+ metadata.gz: 5ba5a9a4da4503db9c6c341f50dd452ea27dff36b231fb2106ba6c7519284519f6408a5a0178ae105dea62178d56873a10d5dade750b3f40f89f0042c0442250
7
+ data.tar.gz: abf1e05a8b9a223032e5dac8cc5083a22c9d94e55c5d732a141f493b02678d4c56e0321cb14457cacd71c586ad7d7b9b989fe7b3cdeb9a7cd91e26c9f5b9bda0
@@ -175,7 +175,12 @@ module ParallelReportPortal
175
175
 
176
176
  def lookup_test_case(test_case)
177
177
  if using_cucumber_messages?
178
- @ast_lookup.scenario_source(test_case).scenario
178
+ sc = @ast_lookup.scenario_source(test_case)
179
+ if sc.respond_to?(:scenario)
180
+ @ast_lookup.scenario_source(test_case).scenario
181
+ else
182
+ @ast_lookup.scenario_source(test_case).scenario_outline
183
+ end
179
184
  else
180
185
  test_case
181
186
  end
@@ -162,7 +162,7 @@ module ParallelReportPortal
162
162
  name: "#{keyword}: #{test_case.name}",
163
163
  type: 'STEP',
164
164
  launch_id: launch_id,
165
- description: test_case.location.to_s,
165
+ description: test_case.description,
166
166
  attributes: test_case.tags.map(&:name)
167
167
  }.to_json
168
168
  end
@@ -1,3 +1,3 @@
1
1
  module ParallelReportPortal
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_report_portal
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Brookes-Thomas
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-05-11 00:00:00.000000000 Z
12
+ date: 2021-05-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appraisal
@@ -192,7 +192,6 @@ files:
192
192
  - ".rspec"
193
193
  - Appraisals
194
194
  - Gemfile
195
- - Gemfile.lock
196
195
  - LICENSE.txt
197
196
  - ParallelReportPortal.drawio
198
197
  - README.md