Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/ci/test_suite_type.rb')
-rw-r--r--app/graphql/types/ci/test_suite_type.rb29
1 files changed, 17 insertions, 12 deletions
diff --git a/app/graphql/types/ci/test_suite_type.rb b/app/graphql/types/ci/test_suite_type.rb
index 7ce479632cc..8845338ed6d 100644
--- a/app/graphql/types/ci/test_suite_type.rb
+++ b/app/graphql/types/ci/test_suite_type.rb
@@ -10,31 +10,36 @@ module Types
connection_type_class(Types::CountableConnectionType)
field :name, GraphQL::Types::String, null: true,
- description: 'Name of the test suite.'
+ description: 'Name of the test suite.'
field :total_time, GraphQL::Types::Float, null: true,
- description: 'Total duration of the tests in the test suite.'
+ description: 'Total duration of the tests in the test suite.'
field :total_count, GraphQL::Types::Int, null: true,
- description: 'Total number of the test cases in the test suite.'
+ description: 'Total number of the test cases in the test suite.'
- field :success_count, GraphQL::Types::Int, null: true,
- description: 'Total number of test cases that succeeded in the test suite.'
+ field :success_count,
+ GraphQL::Types::Int,
+ null: true,
+ description: 'Total number of test cases that succeeded in the test suite.'
- field :failed_count, GraphQL::Types::Int, null: true,
- description: 'Total number of test cases that failed in the test suite.'
+ field :failed_count,
+ GraphQL::Types::Int,
+ null: true,
+ description: 'Total number of test cases that failed in the test suite.'
- field :skipped_count, GraphQL::Types::Int, null: true,
- description: 'Total number of test cases that were skipped in the test suite.'
+ field :skipped_count,
+ GraphQL::Types::Int, null: true,
+ description: 'Total number of test cases that were skipped in the test suite.'
field :error_count, GraphQL::Types::Int, null: true,
- description: 'Total number of test cases that had an error.'
+ description: 'Total number of test cases that had an error.'
field :suite_error, GraphQL::Types::String, null: true,
- description: 'Test suite error message.'
+ description: 'Test suite error message.'
field :test_cases, Types::Ci::TestCaseType.connection_type, null: true,
- description: 'Test cases in the test suite.'
+ description: 'Test cases in the test suite.'
end
# rubocop: enable Graphql/AuthorizeTypes
end