Commit d3ff423a authored by Simon Knox's avatar Simon Knox

Merge branch '219803-test-summary-button' into 'master'

Migrate test report summary back button

Closes #219803

See merge request gitlab-org/gitlab!40450
parents 9d45ce15 a1e413da
<script> <script>
import { GlDeprecatedButton, GlProgressBar, GlIcon } from '@gitlab/ui'; import { GlButton, GlProgressBar } from '@gitlab/ui';
import { __ } from '~/locale'; import { __ } from '~/locale';
import { formattedTime } from '../../stores/test_reports/utils'; import { formattedTime } from '../../stores/test_reports/utils';
export default { export default {
name: 'TestSummary', name: 'TestSummary',
components: { components: {
GlDeprecatedButton, GlButton,
GlProgressBar, GlProgressBar,
GlIcon,
}, },
props: { props: {
report: { report: {
...@@ -68,14 +67,13 @@ export default { ...@@ -68,14 +67,13 @@ export default {
<div> <div>
<div class="row"> <div class="row">
<div class="col-12 d-flex gl-mt-3 align-items-center"> <div class="col-12 d-flex gl-mt-3 align-items-center">
<gl-deprecated-button <gl-button
v-if="showBack" v-if="showBack"
size="sm" size="small"
class="gl-mr-3 js-back-button" class="gl-mr-3 js-back-button"
icon="angle-left"
@click="onBackClick" @click="onBackClick"
> />
<gl-icon name="angle-left" />
</gl-deprecated-button>
<h4>{{ heading }}</h4> <h4>{{ heading }}</h4>
</div> </div>
......
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