lemonldap-ng/e2e-tests/handler/04-logout.js

12 lines
405 B
JavaScript
Raw Normal View History

2016-02-03 13:42:12 +01:00
'use strict';
/* http://docs.angularjs.org/guide/dev_guide.e2e-testing */
describe('Lemonldap::NG auth mechanism', function() {
it('should allow logout', function() {
2016-02-27 07:53:29 +01:00
browser.driver.get('http://test1.example.com:' + process.env.TESTWEBSERVERPORT + '/logout');
expect(browser.getCurrentUrl()).toMatch(new RegExp('^http://auth.example.com(:' + process.env.TESTWEBSERVERPORT + ')?'));
2016-02-03 13:42:12 +01:00
});
2016-02-29 23:43:40 +01:00
});