Commit 6f762995 authored by Yadd's avatar Yadd

Update tests after menu change

parent 773b8662
......@@ -4,8 +4,8 @@ describe('Lemonldap::NG Manager', function() {
it('should display other modules', function() {
browser.get('/');
var links = element.all(by.repeater('link in links'));
expect(links.count()).toEqual(4);
var links = element.all(by.repeater('l in links'));
expect(links.count()).toEqual(3);
element(by.xpath("//a[@href='sessions.html']")).click();
});
......
......@@ -597,7 +597,7 @@
"virtualHostName": "Nom de l'hôte virtuel",
"virtualHosts": "Hôtes virtuels",
"warning": "Attention",
"warning": "Avertissements",
"warnings": "Avertissements",
"waitingForDatas": "En attente de données",
"webIDAuthnLevel": "Niveau d'authentification",
"webIDExportedVars": "Variables exportées",
......
......@@ -21,7 +21,7 @@
<!-- Last buttons, available languages -->
</div>
<ul class="hidden-xs nav navbar-nav">
<li ng-repeat="link in links"><a href="{{link.target}}"><strong><i ng-if="link.icon" class="glyphicon glyphicon-{{link.icon}}"></i> {{translate(link.title)}}</strong></a></li>
<li ng-repeat="l in links"><a href="{{l.target}}"><strong><i ng-if="l.icon" class="glyphicon glyphicon-{{l.icon}}"></i> {{translate(l.title)}}</strong></a></li>
</ul>
<ul class="hidden-xs nav navbar-nav navbar-right">
<li class="dropdown">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment