Revision b368925323d3c6134b1bf19899a09159f3ec29fc authored by Christophe Maudoux on 07 March 2019, 22:39:37 UTC, committed by Christophe Maudoux on 07 March 2019, 22:39:37 UTC
1 parent bc2bef4
Raw File
00-auth.js
'use strict';

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

describe('00 Lemonldap::NG', function() {
  describe('Auth mechanism', function() {
    it('should want to authenticate', function() {
      browser.driver.get('http://auth.example.com:' + process.env.TESTWEBSERVERPORT + '/');
      // Login attempt
      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();
    });
  });
});
back to top