Skip to content

Update current test details script to show a linkable list of data being tested

Nailia Iskhakova (OOO) requested to merge 432-show-linkable-test-data into master

The MR adds a new @example_uri tag to the tests where linkable example on Staging can be generated. ci-report-test-info-wiki will parse the test file and change all params starting with : (like /api/v4/projects/:encoded_path/issues/:issue_iid) with the settings from gitlabhq.json file if possible.

Example of the new Current Test Details page: https://gitlab.com/gitlab-org/quality/performance/-/wikis/432-Issue-New-Current-Test-Details

Also added dry run option to bin/ci-report-test-info-wiki.

Didn't reuse @endpoint tag for this purpose as this tag is used to give a high level overview of the endpoint path. If we would use it for both live url and overview, it would look not very clear - for example GET /projects/:id/merge_requests/:merge_request_iid/discussions vs /api/v4/projects/:encoded_path/merge_requests/:mr_discussions_iid/discussions. Additionally, not all tests can have live url, like for example search tests or unsafe tests. And some tests like git_push or git_pull are sending multiple requests one of which is POST which would complicate parsing.

Closes #432 (closed)

Edited by Nailia Iskhakova (OOO)

Merge request reports

Loading