Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
950dd0a9
Commit
950dd0a9
authored
Jan 26, 2019
by
Christophe Maudoux
Browse files
WIP - Improve e2e tests (#1600)
parent
47ffd3da
Changes
2
Hide whitespace changes
Inline
Side-by-side
e2e-tests/manager/02-menu.js
View file @
950dd0a9
...
...
@@ -35,7 +35,7 @@ describe('02 Lemonldap::NG Manger', function() {
it
(
'
Should display Menu -> Links
'
,
function
()
{
element
(
by
.
id
(
"
mainlangmenu
"
)).
click
();
browser
.
sleep
(
500
0
);
browser
.
sleep
(
500
);
var
links
=
element
.
all
(
by
.
repeater
(
'
menulink in menulinks
'
));
expect
(
links
.
count
()).
toEqual
(
4
);
expect
(
links
.
get
(
0
).
getText
()).
toEqual
(
'
Retour au portail
'
);
...
...
e2e-tests/manager/40-sessions.js
View file @
950dd0a9
...
...
@@ -17,6 +17,7 @@ describe('40 Lemonldap::NG Sessions explorer', function() {
it
(
'
Should display at least my session
'
,
function
()
{
browser
.
get
(
'
/sessions.html
'
);
expect
(
element
.
all
(
by
.
xpath
(
"
//a[@href='sessions.html']
"
)).
first
().
getCssValue
(
"
color
"
)).
toEqual
(
'
rgba(157, 157, 157, 1)
'
);
var
t
=
element
.
all
(
by
.
repeater
(
'
node in data track by node.id
'
));
expect
(
t
.
count
()).
toBeGreaterThan
(
0
);
element
(
by
.
id
(
"
a-d
"
)).
click
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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