Verify logout
This commit is contained in:
parent
43accac06e
commit
16471f24c4
|
@ -5,7 +5,8 @@
|
|||
describe('Lemonldap::NG auth mechanism', function() {
|
||||
|
||||
it('should allow logout', function() {
|
||||
browser.driver.get('http://auth.example.com:' + process.env.TESTWEBSERVERPORT + '/?logout=1');
|
||||
browser.driver.get('http://test1.example.com:' + process.env.TESTWEBSERVERPORT + '/logout');
|
||||
expect(browser.getCurrentUrl()).toMatch(new RegExp('^http://auth.example.com(:' + process.env.TESTWEBSERVERPORT + ')?'));
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user