gitlab-qa 7.8.0 → 7.8.1

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
  SHA256:
3
- metadata.gz: a57eadb5d0c8b13166ba80108c3c183299097ff4f90a39080df27216bdf1eabf
4
- data.tar.gz: ff74b7e345f0c8bec66f0fe9ce0d6688375a3cd4de6fdc3dfd1db027f0e6a0fc
3
+ metadata.gz: 3d5db8c8b0acf394172a0def237d3049c42c04a811204589d6052fb3fda32eb2
4
+ data.tar.gz: ae97cccc20dce22ce593a1d5a9690d6375b68fcd8ca1d2c4f854803c92dc17d2
5
5
  SHA512:
6
- metadata.gz: 44fbe3b8d2f2e17a0e2614d0e55a6445751de96b7fec209f71bca58ddcaeed7105c5d8d697ea855111e9d35f4c387a4ccd6bc7260085f4d50703784f0cb07b25
7
- data.tar.gz: 72ff7585e4be89bfe42f210a864b775195c0e2dc9d47da2d5bf6c54406684c02faaf6e8fda6ea7e70d3f0f080e3213b845b8866830879b6956cfb8a57146c92c
6
+ metadata.gz: 9f13f3e88a045994996a2664e0efedc7dadac3ac53e7cd52b0338cf95b33224bd28d92dbe1909dd0ba66f60b4de1b41dd407c1fd1604b72b295c9368a8526710
7
+ data.tar.gz: aed74598a8cb77c86822ceb2dc457641e4092aa764dba0bbcb3cd281d4a85abe329a8ecda6670e325655afd0470730b9e7699f5be5b0517dec66866f7adcca04
@@ -51,7 +51,10 @@ module Gitlab
51
51
 
52
52
  testcases = search_issues(test: test, issue_type: 'test_case', iid: iid)
53
53
 
54
- warn(%(Test case url "#{test.testcase}" not valid)) if iid && testcases.blank?
54
+ if iid && testcases.blank?
55
+ warn(%(Test case url "#{test.testcase}" not valid))
56
+ testcases = search_issues(test: test, issue_type: 'test_case')
57
+ end
55
58
 
56
59
  warn(%(Too many test cases found with the file path "#{test.file}" and name "#{test.name}")) if testcases&.many?
57
60
 
@@ -71,7 +74,7 @@ module Gitlab
71
74
  end
72
75
 
73
76
  def iid_from_testcase_url(url)
74
- return warn(%(Please update #{url} to test case url")) if url&.include?('/-/issues/')
77
+ return warn(%(\nPlease update #{url} to test case url")) if url&.include?('/-/issues/')
75
78
 
76
79
  url && url.split('/').last.to_i
77
80
  end
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module QA
3
- VERSION = '7.8.0'.freeze
3
+ VERSION = '7.8.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-qa
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.8.0
4
+ version: 7.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-31 00:00:00.000000000 Z
11
+ date: 2021-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control