Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
b0553187
Commit
b0553187
authored
Oct 29, 2019
by
Piotr Gawron
Browse files
unit test fixed
parent
bc829e35
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/test/js/gui/Header-test.js
View file @
b0553187
...
...
@@ -64,7 +64,13 @@ describe('Header', function () {
return
header
.
init
().
then
(
function
()
{
assert
.
ok
(
$
(
"
.dropdown-menu
"
).
css
(
'
display
'
)
===
'
none
'
);
return
$
(
"
.minerva-menu-link
"
,
testDiv
)[
0
].
onclick
();
var
fun
=
null
;
$
(
"
.minerva-menu-link
"
,
testDiv
).
each
(
function
(
k
,
v
)
{
if
(
v
.
innerHTML
.
indexOf
(
"
fa-bars
"
)
>=
0
)
{
fun
=
v
.
onclick
;
}
});
return
fun
();
}).
then
(
function
()
{
assert
.
notOk
(
$
(
"
.dropdown-menu
"
).
css
(
'
display
'
)
===
'
none
'
);
return
header
.
destroy
();
...
...
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