lemonldap-ng/e2e-tests/manager/00-auth.js

16 lines
571 B
JavaScript
Raw Normal View History

'use strict';
/* http://docs.angularjs.org/guide/dev_guide.e2e-testing */
2015-12-19 14:17:22 +01:00
describe('Lemonldap::NG', function() {
describe('Auth mechanism', function() {
it('should want to authenticate', function() {
2015-12-22 11:45:32 +01:00
browser.driver.get('http://auth.example.com:' + process.env.WEBSERVERPORT + '/');
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();
});
});
2015-12-22 11:45:32 +01:00
});