itriagetestrail 1.0.17 → 1.0.18
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fef11d9692639b82030485fef2c5f9a5184e9bbc
|
4
|
+
data.tar.gz: 9364b9592f576a7ed935c5ae2eb478d5f68afb98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf7bc5ff2a2cdd9a3460ebf2b915229fe62f98971bf35b1c201369384781acc5fd75e5bf6b70df4925c192ff4e618b0e5e02955ec459d9571d3d8dd2135bd8c4
|
7
|
+
data.tar.gz: 2cd790d120d2f4f47905d044fa91238a9096f8229d5358c436de594f7de1bcb99e088c20566bbeacfaf6806c98ce75d0fd029dc538933f11363f4b013a639cee
|
@@ -51,7 +51,6 @@ module Itriagetestrail
|
|
51
51
|
# Pull Tag IDs
|
52
52
|
unless @scenario_tags.nil?
|
53
53
|
|
54
|
-
# TODO: Determine how to approach updating tags without permanently storing results on broken tests?
|
55
54
|
# https://github.com/cucumber/cucumber-ruby/blob/master/lib/cucumber/runtime.rb
|
56
55
|
# Test has to actually run in order to populate testrail.
|
57
56
|
|
@@ -67,13 +66,16 @@ module Itriagetestrail
|
|
67
66
|
end
|
68
67
|
end
|
69
68
|
|
70
|
-
|
71
|
-
testrail_case_tag_ids = @test_cases.select { |item| item['id'] == case_id }[0]['custom_tags']
|
69
|
+
current_case = @test_cases.select { |item| item['id'] == case_id }[0]
|
72
70
|
|
73
|
-
|
74
|
-
|
75
|
-
|
71
|
+
testrail_case_tag_ids = current_case['custom_tags']
|
72
|
+
testrail_case_steps = current_case['custom_steps']
|
73
|
+
|
74
|
+
if testrail_case_tag_ids == scenario_tag_ids || testrail_case_steps == @scenario_steps
|
75
|
+
@client.send_post("update_case/#{case_id}", { 'custom_tags': scenario_tag_ids, 'custom_steps': @scenario_steps})
|
76
76
|
end
|
77
|
+
|
78
|
+
# Now that we have the case id, lets update tags
|
77
79
|
end
|
78
80
|
|
79
81
|
# Update Test Run
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itriagetestrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a801069
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|