BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ab7e5912
Commit
ab7e5912
authored
Apr 25, 2017
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting in test
parent
b5e58c3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
issue_title_description_spec.js
spec/javascripts/issue_show/issue_title_description_spec.js
+8
-1
No files found.
spec/javascripts/issue_show/issue_title_description_spec.js
View file @
ab7e5912
...
@@ -41,12 +41,19 @@ describe('Issue Title', () => {
...
@@ -41,12 +41,19 @@ describe('Issue Title', () => {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
expect
(
document
.
querySelector
(
'title'
).
innerText
)
expect
(
document
.
querySelector
(
'title'
).
innerText
)
.
toContain
(
'this is a title'
);
.
toContain
(
'this is a title'
);
expect
(
issueShowComponent
.
$el
.
querySelector
(
'.title'
).
innerHTML
)
expect
(
issueShowComponent
.
$el
.
querySelector
(
'.title'
).
innerHTML
)
.
toContain
(
'<p>this is a title</p>'
);
.
toContain
(
'<p>this is a title</p>'
);
expect
(
issueShowComponent
.
$el
.
querySelector
(
'.wiki'
).
innerHTML
)
expect
(
issueShowComponent
.
$el
.
querySelector
(
'.wiki'
).
innerHTML
)
.
toContain
(
'<p>this is a description!</p>'
);
.
toContain
(
'<p>this is a description!</p>'
);
expect
(
issueShowComponent
.
$el
.
querySelector
(
'.js-task-list-field'
).
innerText
)
const
hiddenText
=
issueShowComponent
.
$el
.
querySelector
(
'.js-task-list-field'
).
innerText
;
expect
(
hiddenText
)
.
toContain
(
'this is a description'
);
.
toContain
(
'this is a description'
);
done
();
done
();
},
10
);
},
10
);
// 10ms is just long enough for the update hook to fire
// 10ms is just long enough for the update hook to fire
...
...
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