lemonldap-ng/lemonldap-ng-manager/site-test/e2e
2015-05-14 06:44:38 +00:00
..
01-tree.js Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
02-lang.js Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
05-form.js Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
06-form.js Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
40-sessions.js Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
99-logout.js Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
00-auth.js Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
README.md Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00

#End 2 End Testing (Protractor) To run the end-2-end tests against the application you use Protractor.

Starting the Web Server

In either case you will need the application to be running via the web-server. From the root folder of the repository run:

npm start

The application should now be available at http://localhost:8000/

Testing with Protractor

As a one-time setup, download webdriver.

npm run update-webdriver

Start the Protractor test runner using the e2e configuration:

npm run protractor

Devel tips

{
  locator_:  {
    using: 'css selector',
    value: '[ng-click="getLanguage(lang)"]'
   },
  parentElementFinder_: null,
  opt_actionResult_: {
    then: [Function: then],
    cancel: [Function: cancel],
    isPending: [Function: isPending]
  },
  opt_index_: 1,
  click: [Function],
  sendKeys: [Function],
  getTagName: [Function],
  getCssValue: [Function],
  getAttribute: [Function],
  getText: [Function],
  getSize: [Function],
  getLocation: [Function],
  isEnabled: [Function],
  isSelected: [Function],
  submit: [Function],
  clear: [Function],
  isDisplayed: [Function],
  getOuterHtml: [Function],
  getInnerHtml: [Function],
  toWireValue: [Function]
}