Commit 950dd0a9 authored by Christophe Maudoux's avatar Christophe Maudoux

WIP - Improve e2e tests (#1600)

parent 47ffd3da
......@@ -35,7 +35,7 @@ describe('02 Lemonldap::NG Manger', function() {
it('Should display Menu -> Links', function() {
element(by.id("mainlangmenu")).click();
browser.sleep(5000);
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');
......
......@@ -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();
......
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