Method: Dri::ApiClient#fetch_test_failure_issues

Defined in:
lib/dri/api_client.rb

#fetch_test_failure_issues(labels: FAILURE_NEW) ⇒ Array<Gitlab::ObjectifiedHash>

Fetch issues related to failing test cases

Returns:

  • (Array<Gitlab::ObjectifiedHash>)


102
103
104
105
106
107
108
109
# File 'lib/dri/api_client.rb', line 102

def fetch_test_failure_issues(labels: FAILURE_NEW)
  gitlab.issues(
    GITLAB_PROJECT_ID,
    labels: labels,
    state: 'opened',
    scope: "all"
  ).auto_paginate
end