2015-05-14 08:44:38 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
/* http://docs.angularjs.org/guide/dev_guide.e2e-testing */
|
|
|
|
|
2018-04-09 07:06:04 +02:00
|
|
|
describe('00 Lemonldap::NG', function() {
|
2015-05-14 08:44:38 +02:00
|
|
|
describe('Auth mechanism', function() {
|
2018-12-26 21:01:53 +01:00
|
|
|
it('should want to authenticate', function() {
|
|
|
|
browser.driver.get('http://auth.example.com:' + process.env.TESTWEBSERVERPORT + '/');
|
2018-12-24 21:36:29 +01:00
|
|
|
// Login attempt
|
2015-05-14 08:44:38 +02:00
|
|
|
browser.driver.findElement(by.xpath("//input[@name='user']")).sendKeys('dwho');
|
|
|
|
browser.driver.findElement(by.xpath("//input[@name='password']")).sendKeys('dwho');
|
|
|
|
browser.driver.findElement(by.xpath("//button[@type='submit']")).click();
|
|
|
|
});
|
|
|
|
});
|
2018-12-24 21:36:29 +01:00
|
|
|
});
|