Commit 7bc54a0a authored by Christophe Maudoux's avatar Christophe Maudoux 🐛
Browse files

WIP - Improve e2e tests (#1600)

parent df8ff7c8
...@@ -12,7 +12,8 @@ describe('50 Lemonldap::NG Manager', function() { ...@@ -12,7 +12,8 @@ describe('50 Lemonldap::NG Manager', function() {
browser.get('/'); browser.get('/');
var links = element.all(by.repeater('l in links')); var links = element.all(by.repeater('l in links'));
expect(links.count()).toEqual(4); expect(links.count()).toEqual(4);
element.all(by.xpath("//a[@href='2ndfa.html']")).first().click(); element(by.xpath("//a[@href='2ndfa.html']")).getCssValue("color").toEqual("rgba(11, 51, 60, 1)");
element(by.xpath("//a[@href='2ndfa.html']")).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