Commit beabd19f authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'grouped-test-reports-spec-update' into 'master'

Update grouped test report spec

See merge request gitlab-org/gitlab!34089
parents d86ee4b7 12d90a25
...@@ -54,7 +54,10 @@ export default { ...@@ -54,7 +54,10 @@ export default {
<ci-icon v-else :status="iconStatus" :size="24" /> <ci-icon v-else :status="iconStatus" :size="24" />
</div> </div>
<div class="report-block-list-issue-description"> <div class="report-block-list-issue-description">
<div class="report-block-list-issue-description-text"> <div
class="report-block-list-issue-description-text"
data-testid="test-summary-row-description"
>
{{ summary {{ summary
}}<span v-if="popoverOptions" class="text-nowrap" }}<span v-if="popoverOptions" class="text-nowrap"
>&nbsp;<popover v-if="popoverOptions" :options="popoverOptions" class="align-top" /> >&nbsp;<popover v-if="popoverOptions" :options="popoverOptions" class="align-top" />
......
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
</script> </script>
<template> <template>
<div class="report-block-list-issue-description prepend-top-5 append-bottom-5"> <div class="report-block-list-issue-description prepend-top-5 append-bottom-5">
<div class="report-block-list-issue-description-text"> <div class="report-block-list-issue-description-text" data-testid="test-issue-body-description">
<button <button
type="button" type="button"
class="btn-link btn-blank text-left break-link vulnerability-name-button" class="btn-link btn-blank text-left break-link vulnerability-name-button"
......
{ {
"summary": { "total": 11, "resolved": 0, "errored": 2, "failed": 0 }, "summary": { "total": 11, "resolved": 0, "errored": 2, "failed": 0 },
"suites": [ "suites": [
{
"name": "rspec:pg",
"summary": { "total": 8, "resolved": 0, "errored": 0, "failed": 0 },
"new_failures": [],
"resolved_failures": [],
"existing_failures": [],
"new_errors": [],
"resolved_errors": [],
"existing_errors": []
},
{ {
"name": "karma", "name": "karma",
"summary": { "total": 3, "resolved": 0, "errored": 2, "failed": 0 }, "summary": { "total": 3, "resolved": 0, "errored": 2, "failed": 0 },
...@@ -33,6 +23,16 @@ ...@@ -33,6 +23,16 @@
], ],
"resolved_errors": [], "resolved_errors": [],
"existing_errors": [] "existing_errors": []
},
{
"name": "rspec:pg",
"summary": { "total": 8, "resolved": 0, "errored": 0, "failed": 0 },
"new_failures": [],
"resolved_failures": [],
"existing_failures": [],
"new_errors": [],
"resolved_errors": [],
"existing_errors": []
} }
] ]
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment