lemonldap-ng/e2e-tests/handler
Christophe Maudoux 840c2f259b Improve Protractor e2e tests (#1600) 2018-12-26 21:01:53 +01:00
..
01-redirect.js Tidy 2016-04-29 07:27:26 +00:00
02-headers.js Tidy 2017-07-11 16:15:06 +00:00
03-post.js Enable test for custom functions 2016-02-28 11:51:31 +00:00
04-logout.js Backport #994 fix 2016-04-25 07:39:58 +00:00
10-logout_app.js Tidy 2016-04-29 07:27:26 +00:00
11-logout_app_sso.js Clean repo 2017-03-03 17:25:03 +00:00
README.md Improve Protractor e2e tests (#1600) 2018-12-26 21:01:53 +01:00

README.md

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

Testing with Protractor

As a one-time setup, download webdriver.

npm run update-webdriver

Start the Protractor test runner using the e2e configuration:

make e2e_test

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]
}