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 'spec/frontend/pipelines/graph/mock_data.js')
-rw-r--r--spec/frontend/pipelines/graph/mock_data.js125
1 files changed, 125 insertions, 0 deletions
diff --git a/spec/frontend/pipelines/graph/mock_data.js b/spec/frontend/pipelines/graph/mock_data.js
index dcbbde7bf36..41823bfdb9f 100644
--- a/spec/frontend/pipelines/graph/mock_data.js
+++ b/spec/frontend/pipelines/graph/mock_data.js
@@ -73,6 +73,10 @@ export const mockPipelineResponse = {
__typename: 'CiBuildNeedConnection',
nodes: [],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [],
+ },
},
],
},
@@ -118,6 +122,10 @@ export const mockPipelineResponse = {
__typename: 'CiBuildNeedConnection',
nodes: [],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [],
+ },
},
],
},
@@ -163,6 +171,10 @@ export const mockPipelineResponse = {
__typename: 'CiBuildNeedConnection',
nodes: [],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [],
+ },
},
],
},
@@ -208,6 +220,10 @@ export const mockPipelineResponse = {
__typename: 'CiBuildNeedConnection',
nodes: [],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [],
+ },
},
{
__typename: 'CiJob',
@@ -235,6 +251,10 @@ export const mockPipelineResponse = {
__typename: 'CiBuildNeedConnection',
nodes: [],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [],
+ },
},
{
__typename: 'CiJob',
@@ -262,6 +282,10 @@ export const mockPipelineResponse = {
__typename: 'CiBuildNeedConnection',
nodes: [],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [],
+ },
},
],
},
@@ -339,6 +363,27 @@ export const mockPipelineResponse = {
},
],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [
+ {
+ __typename: 'CiBuildNeed',
+ id: '37',
+ name: 'build_c',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '38',
+ name: 'build_b',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '39',
+ name:
+ 'build_a_nlfjkdnlvskfnksvjknlfdjvlvnjdkjdf_nvjkenjkrlngjeknjkl',
+ },
+ ],
+ },
},
],
},
@@ -411,6 +456,37 @@ export const mockPipelineResponse = {
},
],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [
+ {
+ __typename: 'CiBuildNeed',
+ id: '45',
+ name: 'build_d 3/3',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '46',
+ name: 'build_d 2/3',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '47',
+ name: 'build_d 1/3',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '48',
+ name: 'build_b',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '49',
+ name:
+ 'build_a_nlfjkdnlvskfnksvjknlfdjvlvnjdkjdf_nvjkenjkrlngjeknjkl',
+ },
+ ],
+ },
},
{
__typename: 'CiJob',
@@ -465,6 +541,37 @@ export const mockPipelineResponse = {
},
],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [
+ {
+ __typename: 'CiBuildNeed',
+ id: '52',
+ name: 'build_d 3/3',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '53',
+ name: 'build_d 2/3',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '54',
+ name: 'build_d 1/3',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '55',
+ name: 'build_b',
+ },
+ {
+ __typename: 'CiBuildNeed',
+ id: '56',
+ name:
+ 'build_a_nlfjkdnlvskfnksvjknlfdjvlvnjdkjdf_nvjkenjkrlngjeknjkl',
+ },
+ ],
+ },
},
],
},
@@ -503,6 +610,10 @@ export const mockPipelineResponse = {
__typename: 'CiBuildNeedConnection',
nodes: [],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [],
+ },
},
],
},
@@ -547,6 +658,16 @@ export const mockPipelineResponse = {
},
],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [
+ {
+ __typename: 'CiBuildNeed',
+ id: '65',
+ name: 'build_b',
+ },
+ ],
+ },
},
],
},
@@ -720,6 +841,10 @@ export const wrappedPipelineReturn = {
__typename: 'CiBuildNeedConnection',
nodes: [],
},
+ previousStageJobsOrNeeds: {
+ __typename: 'CiJobConnection',
+ nodes: [],
+ },
status: {
__typename: 'DetailedStatus',
id: '84',