Revision f47f93533ceb02cfb4fe4c588c6d26bb55c9bd0f authored by Christophe Maudoux on 19 July 2019, 08:50:19 UTC, committed by Christophe Maudoux on 19 July 2019, 08:50:19 UTC
1 parent b81ccf7
Raw File
04-logout.js
'use strict';

/* http://docs.angularjs.org/guide/dev_guide.e2e-testing */

describe('Lemonldap::NG auth mechanism', function() {

  it('should allow logout', function() {
    browser.driver.get('http://test1.example.com:' + process.env.TESTWEBSERVERPORT + '/logout');
    expect(browser.getCurrentUrl()).toMatch(new RegExp('^http://auth.example.com(:' + process.env.TESTWEBSERVERPORT + ')?'));
  });

});
back to top