Commit 0df6aa44 authored by Scott Hampton's avatar Scott Hampton

Add attachment_url to test case

Add a field for the attachment_url of a test case.
parent 85bd4ded
......@@ -24,6 +24,9 @@ module Types
field :file, GraphQL::STRING_TYPE, null: true,
description: 'Path to the file of the test case.'
field :attachment_url, GraphQL::STRING_TYPE, null: true,
description: 'URL of the test case attachment file.'
field :system_output, GraphQL::STRING_TYPE, null: true,
description: 'System output of the test case.'
......
......@@ -6212,6 +6212,7 @@ Test case in pipeline test report.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `attachmentUrl` | [`String`](#string) | URL of the test case attachment file. |
| `classname` | [`String`](#string) | Classname of the test case. |
| `executionTime` | [`Float`](#float) | Test case execution time in seconds. |
| `file` | [`String`](#string) | Path to the file of the test case. |
......
......@@ -7,7 +7,7 @@ RSpec.describe Types::Ci::TestCaseType do
it 'contains attributes related to a pipeline test case' do
expected_fields = %w[
name status classname file execution_time stack_Trace system_output recent_failures
name status classname file attachment_url execution_time stack_trace system_output recent_failures
]
expect(described_class).to have_graphql_fields(*expected_fields)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment