Commit e3fac1a2 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '212274-remove-virtual-list-from-test-report' into 'master'

Remove virtual list from test report

See merge request gitlab-org/gitlab!41935
parents 8ca6b163 819b2051
......@@ -2,13 +2,11 @@
import { mapGetters } from 'vuex';
import { GlTooltipDirective, GlFriendlyWrap, GlIcon } from '@gitlab/ui';
import { __ } from '~/locale';
import SmartVirtualList from '~/vue_shared/components/smart_virtual_list.vue';
export default {
name: 'TestsSuiteTable',
components: {
GlIcon,
SmartVirtualList,
GlFriendlyWrap,
},
directives: {
......@@ -27,8 +25,6 @@ export default {
return this.getSuiteTests.length > 0;
},
},
maxShownRows: 30,
typicalRowHeight: 75,
wrapSymbols: ['::', '#', '.', '_', '-', '/', '\\'],
};
</script>
......@@ -60,11 +56,6 @@ export default {
</div>
</div>
<smart-virtual-list
:length="getSuiteTests.length"
:remain="$options.maxShownRows"
:size="$options.typicalRowHeight"
>
<div
v-for="(testCase, index) in getSuiteTests"
:key="index"
......@@ -119,7 +110,6 @@ export default {
</div>
</div>
</div>
</smart-virtual-list>
</div>
<div v-else>
......
......@@ -2,13 +2,11 @@
import { mapGetters } from 'vuex';
import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import { s__ } from '~/locale';
import SmartVirtualList from '~/vue_shared/components/smart_virtual_list.vue';
export default {
name: 'TestsSummaryTable',
components: {
GlIcon,
SmartVirtualList,
},
directives: {
GlTooltip: GlTooltipDirective,
......@@ -31,8 +29,6 @@ export default {
this.$emit('row-click', index);
},
},
maxShownRows: 20,
typicalRowHeight: 55,
};
</script>
......@@ -69,11 +65,6 @@ export default {
</div>
</div>
<smart-virtual-list
:length="getTestSuites.length"
:remain="$options.maxShownRows"
:size="$options.typicalRowHeight"
>
<div
v-for="(testSuite, index) in getTestSuites"
:key="index"
......@@ -145,7 +136,6 @@ export default {
<div class="table-mobile-content">{{ testSuite.total_count }}</div>
</div>
</div>
</smart-virtual-list>
</div>
<div v-else>
......
---
title: Remove virtual scroll list from pipeline test report
merge_request: 41935
author:
type: fixed
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