Revision 2629a8a747b4149aec1644c9273777624f336f88 authored by Xavier Guimard on 12 January 2019, 07:45:43 UTC, committed by Xavier Guimard on 12 January 2019, 07:45:43 UTC
1 parent 507f3c0
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