Skip to content

test: save json results as artifact

Description

As part of a request gitlab-org/quality/quality-engineering/team-tasks#3162 (comment 2207912490) to display a dashboard of E2E test results. We need to create a json test result file that can be easily sent to a datasource.

It also contains some diagnostic information which can be useful for debugging.

Example results from this MR: https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/jobs/8419278015/artifacts/browse/test/e2e/json-results/

https://gitlab-org.gitlab.io/-/gitlab-vscode-extension/-/jobs/8419278015/artifacts/test/e2e/json-results/merged-vscode-results.json

Related Issues

gitlab-org/quality/quality-engineering/team-tasks#3162 (comment 2207912490)

How has this been tested?

Pipeline in MR has json file of test results

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes
Edited by Jay McCure

Merge request reports

Loading