Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2962ab8c
Commit
2962ab8c
authored
Jul 22, 2020
by
mfluharty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gl-friendly-wrap for test case suite and name
parent
c96920b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
app/assets/javascripts/pipelines/components/test_reports/test_suite_table.vue
...ts/pipelines/components/test_reports/test_suite_table.vue
+5
-3
No files found.
app/assets/javascripts/pipelines/components/test_reports/test_suite_table.vue
View file @
2962ab8c
...
...
@@ -2,7 +2,7 @@
import
{
mapGetters
}
from
'
vuex
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
GlTooltipDirective
,
GlFriendlyWrap
}
from
'
@gitlab/ui
'
;
import
SmartVirtualList
from
'
~/vue_shared/components/smart_virtual_list.vue
'
;
export
default
{
...
...
@@ -10,6 +10,7 @@ export default {
components
:
{
Icon
,
SmartVirtualList
,
GlFriendlyWrap
,
},
directives
:
{
GlTooltip
:
GlTooltipDirective
,
...
...
@@ -29,6 +30,7 @@ export default {
},
maxShownRows
:
30
,
typicalRowHeight
:
75
,
wrapSymbols
:
[
'
::
'
,
'
#
'
,
'
.
'
,
'
_
'
,
'
-
'
,
'
/
'
,
'
\\
'
],
};
</
script
>
...
...
@@ -72,14 +74,14 @@ export default {
<div
class=
"table-section section-20 section-wrap"
>
<div
role=
"rowheader"
class=
"table-mobile-header"
>
{{
__
(
'
Suite
'
)
}}
</div>
<div
class=
"table-mobile-content pr-md-1 gl-overflow-wrap-break"
>
{{
testCase
.
classname
}}
<gl-friendly-wrap
:symbols=
"$options.wrapSymbols"
:text=
"testCase.classname"
/>
</div>
</div>
<div
class=
"table-section section-20 section-wrap"
>
<div
role=
"rowheader"
class=
"table-mobile-header"
>
{{
__
(
'
Name
'
)
}}
</div>
<div
class=
"table-mobile-content pr-md-1 gl-overflow-wrap-break"
>
{{
testCase
.
name
}}
<gl-friendly-wrap
:symbols=
"$options.wrapSymbols"
:text=
"testCase.name"
/>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment