description'Values for filtering runners in namespaces.'
value'DIRECT',
description: "Include runners that have a direct relationship.",
value: :direct
value'DESCENDANTS',
description: "Include runners that have either a direct relationship or a relationship with descendants. These can be project runners or group runners (in the case where group is queried).",
| <aid="grouprunnersmembership"></a>`membership` | [`RunnerMembershipFilter`](#runnermembershipfilter) | Control which runners to include in the results. |
| <aid="grouprunnerssearch"></a>`search` | [`String`](#string) | Filter by full token or partial text in description field. |
| <aid="grouprunnerssort"></a>`sort` | [`CiRunnerSort`](#cirunnersort) | Sort order of results. |
| <aid="grouprunnersstatus"></a>`status` | [`CiRunnerStatus`](#cirunnerstatus) | Filter runners by status. |
| <aid="grouprunnerstaglist"></a>`tagList` | [`[String!]`](#string) | Filter by tags associated with the runner (comma-separated or array). |
| <aid="grouprunnerstype"></a>`type` | [`CiRunnerType`](#cirunnertype) | Filter runners by type. |
##### `Group.timelogs`
##### `Group.timelogs`
Time logged on issues and merge requests in the group and its subgroups.
Time logged on issues and merge requests in the group and its subgroups.
...
@@ -15626,6 +15647,15 @@ Status of a requirement based on last test report.
...
@@ -15626,6 +15647,15 @@ Status of a requirement based on last test report.
| <aid="requirementstatusfiltermissing"></a>`MISSING` | Requirements without any test report. |
| <aid="requirementstatusfiltermissing"></a>`MISSING` | Requirements without any test report. |
| <aid="runnermembershipfilterdescendants"></a>`DESCENDANTS` | Include runners that have either a direct relationship or a relationship with descendants. These can be project runners or group runners (in the case where group is queried). |
| <aid="runnermembershipfilterdirect"></a>`DIRECT` | Include runners that have a direct relationship. |
# Then, we can check specific edge cases for this resolver
context'with obj set to nil'do
let(:obj){nil}
it'raises an error'do
expect{subject}.toraise_error('Expected group missing')
end
end
context'with obj not set to group'do
let(:obj){build(:project)}
it'raises an error'do
expect{subject}.toraise_error('Expected group missing')
end
end
# Here we have a mocked part. We assume that all possible edge cases are covered in RunnersFinder spec. So we don't need to test them twice.
# Only thing we can do is to verify that args from the resolver is correctly transformed to params of the Finder and we return the Finder's result back.
context'with "active_runner" and "instance_runner" tags as array'do
let(:tag_list){%w[instance_runner active_runner]}
it'returns the offline_project_runner runner'do
is_expected.tocontain_exactly(instance_runner)
end
end
end
end
end
context'when text is filtered'do
# Here we have a mocked part. We assume that all possible edge cases are covered in RunnersFinder spec. So we don't need to test them twice.
# Only thing we can do is to verify that args from the resolver is correctly transformed to params of the Finder and we return the Finder's result back.