lemonldap-ng/e2e-tests/manager
Xavier Guimard 5f8abcc31a Tidy
2017-07-11 16:15:06 +00:00
..
01-tree.js Tidy 2017-07-11 16:15:06 +00:00
02-lang.js Tidy 2017-07-11 16:15:06 +00:00
05-form.js Clean JSON (#1137) 2017-01-18 16:31:53 +00:00
06-form.js Move UA to macro (partial revert r6447) [#1044] 2017-04-10 07:25:41 +00:00
07-authParams.js Tidy 2017-02-19 11:51:58 +00:00
07-utf8.js Set date + 1 year in help cookie 2016-01-20 21:48:08 +00:00
08-apply.js Set date + 1 year in help cookie 2016-01-20 21:48:08 +00:00
10-saml-config.js Set date + 1 year in help cookie 2016-01-20 21:48:08 +00:00
11-oidcop-config.js Import r5052 (#1016) 2016-05-14 18:14:49 +00:00
12-oidcrp-config.js Import r5060 (#1016) 2016-05-17 20:06:49 +00:00
35-apply-old-conf.js Restore base conf at the end of manager tests for next tests 2016-01-21 20:10:38 +00:00
36-diff.js Move UA to macro (partial revert r6447) [#1044] 2017-04-10 07:25:41 +00:00
40-sessions.js Move UA to macro (partial revert r6447) [#1044] 2017-04-10 07:25:41 +00:00
99-logout.js Move Ajax hook from handler to portal (Closes: #790) 2016-01-28 22:25:46 +00:00
00-auth.js Move Ajax hook from handler to portal (Closes: #790) 2016-01-28 22:25:46 +00:00
README.md Rename e2e dir to manager 2015-12-14 18:36:39 +00:00

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