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/ci/runner/mock_data.js')
-rw-r--r--spec/frontend/ci/runner/mock_data.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/frontend/ci/runner/mock_data.js b/spec/frontend/ci/runner/mock_data.js
index b8eb9f0ba1b..51556650c32 100644
--- a/spec/frontend/ci/runner/mock_data.js
+++ b/spec/frontend/ci/runner/mock_data.js
@@ -310,6 +310,23 @@ export const mockSearchExamples = [
first: RUNNER_PAGE_SIZE,
},
},
+ {
+ name: 'version prefix',
+ urlQuery: '?version_prefix[]=16.',
+ search: {
+ runnerType: null,
+ membership: DEFAULT_MEMBERSHIP,
+ filters: [{ type: 'version_prefix', value: { data: '16.', operator: '=' } }],
+ pagination: {},
+ sort: CREATED_DESC,
+ },
+ graphqlVariables: {
+ versionPrefix: '16.',
+ membership: DEFAULT_MEMBERSHIP,
+ sort: CREATED_DESC,
+ first: RUNNER_PAGE_SIZE,
+ },
+ },
];
export const onlineContactTimeoutSecs = 2 * 60 * 60;