Skip to content

Add GraphQL start up call for pipeline Web test

Nailia Iskhakova requested to merge 491-graphql-test into main

What does this MR do?

Related to !385 (closed) and #491 (closed)

Adds GraphQL call for fetching jobs on Pipeline page. It uses startup_graphql_calls values that GitLab provides to send GraphQL requests (#491 (comment 806237545)) - example for Pipeline page and FE documentation about start up calls.

Bumps up min GitLab version for k6/tests/web/web_project_pipelines_pipeline.js to 13.11 as GraphQL requests were first introduced with graphql_pipeline_details FF and was enabled by default in 13.11 gitlab-org/gitlab#299112 (closed) + gitlab-org/gitlab!47347 (diffs).

Code was tested against 13.10, 13.11, 13.12, 14.6 and 14.7.

  • As a follow up create an issue to add GraphQL requests to other pages using k6/lib/gpt_graphql_helper.js -> web_project_files, Releases, web_project, etc - #492

Related issues

Closes #491 (closed)

Edited by Nailia Iskhakova

Merge request reports