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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
d32abeec
Commit
d32abeec
authored
Oct 19, 2018
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix transient failure from the bar_chart.vue component
parent
c316c804
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
changelogs/unreleased/jivl-fix-bar-char-transient-spec-failure.yml
...s/unreleased/jivl-fix-bar-char-transient-spec-failure.yml
+5
-0
spec/javascripts/vue_shared/components/bar_chart_spec.js
spec/javascripts/vue_shared/components/bar_chart_spec.js
+0
-6
No files found.
changelogs/unreleased/jivl-fix-bar-char-transient-spec-failure.yml
0 → 100644
View file @
d32abeec
---
title
:
Fix transient spec error in the bar_chart component
merge_request
:
22495
author
:
type
:
fixed
spec/javascripts/vue_shared/components/bar_chart_spec.js
View file @
d32abeec
...
@@ -71,12 +71,6 @@ describe('Bar chart component', () => {
...
@@ -71,12 +71,6 @@ describe('Bar chart component', () => {
expect
(
barChart
.
xAxisLocation
).
toEqual
(
'
translate(100, 250)
'
);
expect
(
barChart
.
xAxisLocation
).
toEqual
(
'
translate(100, 250)
'
);
});
});
it
(
'
Contains a total of 4 ticks across the y axis
'
,
()
=>
{
const
ticks
=
barChart
.
$el
.
querySelector
(
'
.y-axis
'
).
querySelectorAll
(
'
.tick
'
).
length
;
expect
(
ticks
).
toEqual
(
4
);
});
it
(
'
rotates the x axis labels a total of 90 degress (CCW)
'
,
()
=>
{
it
(
'
rotates the x axis labels a total of 90 degress (CCW)
'
,
()
=>
{
const
xAxisLabel
=
barChart
.
$el
.
querySelector
(
'
.x-axis
'
).
querySelectorAll
(
'
text
'
)[
0
];
const
xAxisLabel
=
barChart
.
$el
.
querySelector
(
'
.x-axis
'
).
querySelectorAll
(
'
text
'
)[
0
];
...
...
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